Guild icon
Quill OS
Discussion / chat
dill joined the server. 2/11/2021 12:37 AM
Avatar
so is it OK? any things I should set up?
Avatar
i think give me admin (just right click) and i could help set this up (edited)
Avatar
i'm pretty good with discord
Avatar
done; you can give me admin back when you're finished?
12:39 AM
thx
Avatar
maybe change #deleted-channel for #kobox-dev ?
Avatar
seems more friendly, at least from what I can say
Avatar
that's good; should we have alias like in Mobileread?
12:42 AM
(Dill is my nickname in real life, haha)
Avatar
ok so you can rename me "NiMa" if you want
12:43 AM
although I'd like tux-linux
12:43 AM
oh you set the locale, I saw that
Avatar
hmm language
12:43 AM
time format, etc
12:43 AM
i didn't know
Avatar
idk, the times changed from 18 h 43 to 18:43
12:44 AM
anyways
12:44 AM
I'll 'init' some of the channels
Avatar
I think we're done, what do you think?
Avatar
nice (edited)
Avatar
i added all those to the channel topic
Avatar
what do you mean?
Avatar
like this
Avatar
oh ok you "pinned" the message on top of each channel?
12:49 AM
yep thanks
RnwayRebooted joined the server. 2/11/2021 12:53 AM
Avatar
Hi @RnwayRebooted !
Avatar
RnwayRebooted 2/11/2021 12:53 AM
Hello! Sorry I've been pretty absent the left week or so; work has suddenly gotten crazy busy
Avatar
don't worry; it's ok!
Avatar
no problem at all!
Avatar
beforehand you could go check what happened in the kobox channel in Mobileread server; a lot of things since last week (edited)
Avatar
this is awesome
1:19 AM
@dill I think you could install it in Ubuntu, it's cool-retro-term maybe sudo apt-get install cool-retro-term?
chech joined the server. 2/11/2021 10:37 AM
Avatar
Hi @chech!
Avatar
Hey, chech!
8:41 PM
i have to go
3:42 AM
My current setup for the record
fermino joined the server. 2/12/2021 11:51 AM
Avatar
Avatar
tux-linux
My current setup for the record
Lots of kobos hahahah
Avatar
yep, and a Kindle too! and welcome! 🙂 (edited)
Coltane joined the server. 2/12/2021 8:14 PM
Avatar
Hi @Coltane!
👍 1
OfficerAction joined the server. 2/13/2021 12:28 AM
Avatar
Hi @OfficerAction ! I didn't have the time to test your touch script yet, but I'll do tonight as I'm setting up things on a new Kobo
Avatar
OfficerAction 2/13/2021 12:30 AM
hey there
Avatar
also, I'll send you screenshots of Falkon working on a Kobo Aura surely, QtWebEngine is possible in there
Avatar
OfficerAction 2/13/2021 12:30 AM
no problem there is no rush
Avatar
not at all, I've got time tonight
Avatar
OfficerAction 2/13/2021 12:31 AM
thats cool how did you get it to run?
12:31 AM
falkon i mean
Avatar
by installing alpine 3.11 in a chroot with Xorg and x11vnc + fbink-xdamage + touch
12:31 AM
I'll send you a screenshot soon, I just need to get it installed and started
12:32 AM
I'll try youtube as in the Glo HD too
Avatar
OfficerAction 2/13/2021 12:32 AM
i tried with the alpine image from the forum but it didn't work there...
Avatar
on what Kobo?
Avatar
OfficerAction 2/13/2021 12:32 AM
well maybe i just have to reinstall everything and it will work somehow 😄
12:33 AM
KA1
Avatar
year?
12:33 AM
oh 2017 is it?
12:33 AM
won't work
12:33 AM
firefox worked though (though it crashed every time you did something)
Avatar
OfficerAction 2/13/2021 12:33 AM
yea
12:33 AM
it fills up the memory imidiately
12:34 AM
only 500mb and firefox is a memory hog
Avatar
chromium works though
12:34 AM
but on kobos that support it
12:34 AM
I tried to build Palemoon for it, but it's not an easy task and my Raspberry Pi ran out of memory the other day
Avatar
OfficerAction 2/13/2021 12:35 AM
maybe cross compiling is the way to go 😉
Avatar
I don't have the skills to do that...
12:35 AM
it uses a custom build system (mach) that I know nothing about
Avatar
OfficerAction 2/13/2021 12:36 AM
i will take a look if there is an easy way to set it up for alpine these days
Avatar
it's already pretty complicated to get it compiling natively
12:36 AM
yeah thx
12:36 AM
huh... Falkon doesn't work on the Aura
12:36 AM
but Chromium did
Avatar
OfficerAction 2/13/2021 12:37 AM
btw do you have one of the mark7 kobos?
12:37 AM
Libra
12:37 AM
Avatar
OfficerAction 2/13/2021 12:38 AM
could you test something for me? I am working on something and want to make sure it works on all models.
12:38 AM
I also have mark 4 and mark 5 + mark 6
Avatar
OfficerAction 2/13/2021 12:39 AM
ok i will prepare it
Avatar
ok summary from my tests with falkon... it seems that it has the same bug on the Aura than it did on the Libra, but running chromium is fine. Falkon was confirmed working on the Glo HD so far. Chromium fails to run on the Libra, but runs on the Mini
12:55 AM
Avatar
OfficerAction 2/13/2021 12:55 AM
awsome!
12:56 AM
can you check the memory usage?
12:56 AM
you can see it with htop
Avatar
actually it crashed before I could do anything
1:00 AM
like, the whole Kobo wasn't responding to anything even SSH
Avatar
OfficerAction 2/13/2021 1:00 AM
oh well too bad
Avatar
but you know
1:00 AM
256 mb ram
Avatar
OfficerAction 2/13/2021 1:00 AM
yea...
Avatar
will retry now
1:00 AM
i'll also check if there are lighter alternatives other than falkon
1:02 AM
there seems to be qutebrowser ... it's not in the repos before v3.12 though but I'll give it a shot compiled natively on the Kobo
1:02 AM
(if I can)
Avatar
OfficerAction 2/13/2021 1:02 AM
also based on qt
1:02 AM
it might work
Avatar
yep that's why I chose it
Avatar
OfficerAction 2/13/2021 1:11 AM
do you have nickelmenu installed?
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
wooooo
👍 1
Avatar
OfficerAction 2/13/2021 1:15 AM
Ok i would like you to test this app. Just extract it to the .adds folder on your kobo and then you can start it with nickelmenu.
Avatar
what does it do?
Avatar
OfficerAction 2/13/2021 1:15 AM
if it works it should just show a picture on the screen
Avatar
OfficerAction 2/13/2021 1:15 AM
if it doesnt it will write to a logfile
Avatar
then I expect the failure rate to be pretty high
1:15 AM
drawing to the framebuffer wasn't a good experience, at least for me
Avatar
@tux-linux done
Avatar
thanks!
Avatar
Avatar
tux-linux
drawing to the framebuffer wasn't a good experience, at least for me
OfficerAction 2/13/2021 1:16 AM
why not? maybe i can help 😉
Avatar
who knows?
1:16 AM
ok I'll test it now
1:19 AM
hmm didn't work I was in landscape mode though
1:20 AM
in portrait it didn't work either
Avatar
OfficerAction 2/13/2021 1:20 AM
hmm
Avatar
I'll check the log
1:20 AM
../PXPTest/pxp_test.c:273 requested chan_id 69387 ../PXPTest/pxp_lib.c:156 succeed mem.phys_addr = 0x76f6005c ../PXPTest/pxp_lib.c:181 MAP_FAILED.
Avatar
OfficerAction 2/13/2021 1:21 AM
ok thanks a lot!!
Avatar
maybe you chose the wrong memory address?
1:21 AM
maybe it changes between devices?
Avatar
OfficerAction 2/13/2021 1:21 AM
yea
1:22 AM
the problem is the newer kobos use a different version of the pxp engine
Avatar
ok you went really down to the low-level I love it
Avatar
OfficerAction 2/13/2021 1:24 AM
yea i like to experiment with stuff like that
Avatar
I wanted to do that myself but I chose FBInk instead because I don't have the skills to go that deep in the hardware
Avatar
OfficerAction 2/13/2021 1:24 AM
you can sqeeze out a bit more performance when using that but as you can see.... problems
Avatar
yeah
1:25 AM
but I've had more headaches than that when trying to emulate Nickel in a virtual machine
1:25 AM
3 weeks of my life wasted on trying to get touch input working
Avatar
OfficerAction 2/13/2021 1:25 AM
i can imagine 😄
Avatar
and it didn't work at the end sadly
Avatar
OfficerAction 2/13/2021 1:26 AM
too bad but sometimes its like that
1:26 AM
I got to that at least
Avatar
OfficerAction 2/13/2021 1:27 AM
thats already pretty awsome though
Avatar
yeap
1:27 AM
But even after discussing with geek1011, NiLuJe and sherman on GitHub we couldn't find out the way to get it work
Avatar
OfficerAction 2/13/2021 1:28 AM
do you have a link?
Avatar
hmm yeah I'll PM you
Avatar
OfficerAction 2/13/2021 1:28 AM
maybe i will also waste some time 😄
Avatar
be prepared to deal with sneaky uinput things and to have headaches every time a thing doesn't work (edited)
Avatar
I'll share a video soon
4:35 AM
2:09 PM
That's awesome
Avatar
I think I'll start messing around with my Clara soon
Avatar
Nice!
Avatar
What things would you suggest me to do overall?
3:10 PM
I'm planning on setting up an ssh server and set up a couple sync scripts, but from there on, about xorg I'm not sure of where to start
Avatar
Hmm check my Xorg tutorial on Mobileread, it's in the 2nd page of the devs corner
3:22 PM
3:22 PM
There
3:24 PM
@OfficerAction would it be useful if I provided you the logs of Chromium/Falkon crashing on my Libra?
Avatar
Avatar
tux-linux
@OfficerAction would it be useful if I provided you the logs of Chromium/Falkon crashing on my Libra?
OfficerAction 2/13/2021 3:57 PM
maybe. I can take a look 😉
Avatar
ok will send them to you soon, as soon as I get them crashing ^^
Avatar
@OfficerAction here are the logs for Falkon, it's an strace dump because it wasn't very verbose, and it starts where it tries to render a webpage but the render engine crashes
4:14 PM
4:14 PM
and here is the standard log: [root@storm ~]# falkon --no-sandbox QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' libEGL warning: DRI2: failed to authenticate libEGL warning: MESA-LOADER: failed to open swrast: Error loading shared library /usr/lib/xorg/modules/dri/swrast_dri.so: No such file or directory (search paths /usr/lib/xorg/modules/dri) libEGL warning: DRI2: failed to authenticate libEGL warning: MESA-LOADER: failed to open swrast: Error loading shared library /usr/lib/xorg/modules/dri/swrast_dri.so: No such file or directory (search paths /usr/lib/xorg/modules/dri) QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled QWebEngineUrlScheme::registerScheme: Too late to register scheme "falkon" QWebEngineUrlScheme::registerScheme: Too late to register scheme "extension" Please register the custom scheme 'falkon' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler. Please register the custom scheme 'extension' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler. Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead. Falkon: 1 extensions loaded ^C [root@storm ~]#
Avatar
OfficerAction 2/13/2021 4:19 PM
-> QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Avatar
it did that on the working kobos too
4:19 PM
although I'm going to verify just for sure
4:52 PM
what browser?
Avatar
chromium
4:54 PM
v81
Avatar
Avatar
OfficerAction
-> QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
What would you suggest to repair that?
Avatar
OfficerAction 2/13/2021 5:03 PM
Well the soc the kobos are using actually do not support GL or EGL. So you would have to force a software renderer somehow. But no idea how to do that or if it is even possible. Acually I wonder why it's working for the old devices at all.
Avatar
@OfficerAction ok, here you go with the chromium log on the Libra: (edited)
6:07 PM
the UI loads, but trying to load a webpage returns an "Aw, Snap!" error everytime
Avatar
OfficerAction 2/13/2021 6:23 PM
for falkon you could try falkon --no-sandbox --disable-gpu
Avatar
I tried that with Chromium no luck
6:24 PM
I'm retrying now with the version in the 3.11 repo
6:25 PM
just tried with Falkon, didn't work either
Avatar
OfficerAction 2/13/2021 6:25 PM
well than i'm also out of ideas
Avatar
Maybe the older boards have something that the newer ones don't have?
Avatar
OfficerAction 2/13/2021 6:27 PM
i thought so too but what could it be? (edited)
Avatar
I don't know, really...
Avatar
OfficerAction 2/13/2021 6:28 PM
I checked and they all don't have a integrated gpu so no opengl
Avatar
but why does it work so well on older models then?
6:29 PM
like chromium is 500x faster than Firefox
Avatar
OfficerAction 2/13/2021 6:29 PM
magic
Avatar
probably ... ^^
6:29 PM
maybe it's a hidden feature, like if they didn't disclose it?
6:31 PM
what data sheet did you look at?
Avatar
the newer ones seem to have a gpu though
Avatar
OfficerAction 2/13/2021 6:32 PM
some of them have
6:33 PM
but not the ones that kobo uses
Avatar
maybe that it's that, the problem? if the newer ones have a GPU... then it's not compatible with Chromium rendering backend and for those who don't have one, software rendering works flawlessly
Avatar
OfficerAction 2/13/2021 6:33 PM
the newer ones use imx6sl and imx6sll they also dont have that
6:35 PM
Contribute to kobolabs/Kobo-Reader development by creating an account on GitHub.
6:35 PM
there. It lists all the hardware with imx6xxx seems that it broke when imx6sll came, because my Glo HD (imx6sl) worked with falkon and chromium
Avatar
[18233:18233:0213/175630.120997:FATAL:page_allocator_internals_posix.h(215)] Check failed: !madvise(address, length, MADV_DONTNEED). Received signal 6
6:57 PM
that is one of the errors I get also
Avatar
OfficerAction 2/13/2021 7:01 PM
maybe thats the main cause. but no idea what it means
Avatar
maybe it's not fatal, just a harmless warning ... don't know
Avatar
OfficerAction 2/13/2021 7:02 PM
it has many causes to fail
7:02 PM
maybe out of memory?
Avatar
hmm unlikely, it ran fine on the Aura with 256MB of ram
Avatar
OfficerAction 2/13/2021 7:03 PM
well it does say fatal haha
Avatar
yep... and the program doesn't end!
7:04 PM
I've got my Kindle PW3 with a SoloLite, will probably try running Chromium on it to see what makes it working (or not)
7:04 PM
Page 2-PW3 Can run full blown Chromium browser on up-to-date Alpine Linux Kindle Developer's Corner
Avatar
OfficerAction 2/13/2021 7:04 PM
that would be interesting
7:04 PM
ah
Avatar
I'll provide the logs too
7:05 PM
That's really a weird situation
7:05 PM
what devices do you have with you?
Avatar
OfficerAction 2/13/2021 7:05 PM
only aura one
7:06 PM
I was going to say that you could try it on a Mark 6 but it's a mark 6 and it doesn't work with yours... you tried it, iirc?
Avatar
OfficerAction 2/13/2021 7:07 PM
i did but i got another error so maybe something was wrong with my setup
Avatar
what was the "another error"?
Avatar
OfficerAction 2/13/2021 7:21 PM
for falkon i am getting this
7:21 PM
Error relocating /usr/lib/libFalkonPrivate.so.3: ZN13QJsonDocument4swapERS: symbol not found Error relocating /usr/lib/libFalkonPrivate.so.3: _ZNK7QString5splitE5QChar6QFlagsIN2Qt18SplitBehaviorFlagsEENS2_15CaseSensitivityE: symbol not found Error relocating /usr/lib/libFalkonPrivate.so.3: _ZNK11QPushButton9hitButtonERK6QPoint: symbol not found Error relocating /usr/lib/libFalkonPrivate.so.3: _ZNK11QPushButton9hitButtonERK6QPoint: symbol not found
Avatar
huh. musl-libc error then
7:22 PM
should not do that. What version are you on?
7:22 PM
compiling from source will fix it
Avatar
OfficerAction 2/13/2021 7:24 PM
not sure 🧐 i just used the image form the forum
Avatar
okkk wot
7:25 PM
seems there are differences between devices
7:26 PM
hmm try cross-compiling it...? maybe? or try qutebrowser, it'll tell you if your Kobo has the rendering issue
7:26 PM
it's in the repos
FC joined the server. 2/13/2021 7:27 PM
Avatar
hi!
Avatar
Hello everyone
Avatar
yeah, we're currently dealing with a mess of software rendering issues in chromium
7:28 PM
but I think @OfficerAction had a script for touch in the KA1
Avatar
OfficerAction 2/13/2021 7:28 PM
hello
Avatar
Could you share your script again, @OfficerAction ? I lost it in the devs corner in the Mobileread discord
7:29 PM
thanks
7:30 PM
@FC did you get the image on your Aura One? Or Clara?
Avatar
Not yet. You means kobox image?
Avatar
yep
7:31 PM
the RC-1
Avatar
Just want to make sure my hardware is supported or not
7:31 PM
If yes, I will start to try
Avatar
well it is supported, OfficerAction tested it with its Aura One
7:32 PM
but you could experience... problems
7:32 PM
like browsers crashing
Avatar
It is ok. Just for fun. I am not reading book on kobo now.
Avatar
ok!
7:32 PM
well you could start by downloading the image and follow the instructions in the thread
Avatar
Yes. Thank you. Let me check the instructions first.
Avatar
OfficerAction 2/13/2021 7:33 PM
this goes to /root/.utils/
Avatar
thanks!
Avatar
OfficerAction 2/13/2021 7:33 PM
and the modified startup script
647 bytes
Avatar
@FC, I'll give you instructions once it's up and running
Avatar
Thank you all. I will come back to bother you guys later.
Avatar
You'll have to install pip and some Python modules that I don't quite remember the names
7:34 PM
you aren't bothering us!
7:34 PM
good install!
Avatar
Thank you for the files.
Avatar
OfficerAction 2/13/2021 7:36 PM
install pip and then run "pip3 install python-xlib evdev" (edited)
Avatar
yep, for pip, it's apk add py3-pip
7:37 PM
did you try qutebrowser ?
Avatar
OfficerAction 2/13/2021 7:53 PM
yea i got the same kind of error
Avatar
ouch
7:54 PM
hmmm I don't know what to say...
7:54 PM
try installing Xorg yourself, maybe?
7:54 PM
Avatar
OfficerAction 2/13/2021 8:00 PM
yea i will reinstall everything
Avatar
nice, and thanks very much for staying there, contributing to the project!
Avatar
OfficerAction 2/13/2021 8:01 PM
👍
Avatar
Other than QtWebEngine, WebKitGTK and Gecko, are there other decent rendering engines that we could use?
8:57 PM
(and that would work)
Avatar
OfficerAction 2/13/2021 8:58 PM
qtwebengine uses chromium under the hood and these are all the decent ones afaik 😉
Avatar
hmm... sad
8:58 PM
any way to prevent Gecko from running out of ram (and make it faster) then?
Avatar
OfficerAction 2/13/2021 9:00 PM
🤷
Avatar
ok I'll investigate then
9:19 PM
on the Kindle
9:21 PM
I didn't want to wear out too much the eMMC, so I squashfs-ed the image and set up a loop device on the kindle. Then I mounted some essential tmpfs so something can be "wrote" in the chroot. It's awesome that the Kindle's kernel support Squashfs. It would be awesome if Kobo added that to their eReaders
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
OfficerAction 2/13/2021 9:28 PM
damn that seems to work relly well
Avatar
Yeah I'm jealous
9:29 PM
Utilities to get Alpine Linux running on Kindles. Contribute to schuhumi/alpine_kindle development by creating an account on GitHub.
9:29 PM
there are even finger-scrolling, custom gestures and all the goodies
9:30 PM
but let's remember that the Kindle UI runs off an X server
9:30 PM
so I think we did a monstrous job getting that to work on Kobos
Avatar
OfficerAction 2/13/2021 10:01 PM
its true its a ton of work
10:01 PM
i have it running now
10:02 PM
but how can i customize mate-panel
10:02 PM
i want the fancy background from the forum image 😉
Avatar
OfficerAction 2/13/2021 10:13 PM
also the top panel is way to small. how can i make it bigger
Avatar
Hmm background: feh
10:22 PM
And for the DPI it's tricky
10:22 PM
I'll get back to you on it Maybe in 10 mins
Avatar
OfficerAction 2/13/2021 10:22 PM
ok
Avatar
The picture is located (in the stock image) in /root/Pictures
Avatar
OfficerAction 2/13/2021 10:23 PM
it tried changing the dpi in the script but that kinda just made some icons bigger
Avatar
Yep it's very, very, very tricky
10:23 PM
Try dpi.sh in the stock image
Avatar
OfficerAction 2/13/2021 10:25 PM
but falkon is working now. Janky as hell but working🥳
Avatar
WORKING ?
Avatar
OfficerAction 2/13/2021 10:25 PM
yea with youtube and all
Avatar
mygod
10:25 PM
that's good news
10:26 PM
so we can add the KA1 to the "completely-supported" list
10:26 PM
that means you'll be able to run chromium (but honestly, stay with Falkon; it is faster) (edited)
Avatar
OfficerAction 2/13/2021 10:26 PM
well yea its still far from usable but its a start
Avatar
x11vnc ?
10:27 PM
chroot /mnt/user /bin/sh export DISPLAY=:0 x11vnc
10:27 PM
and then connect with a VNC client on your computer
10:27 PM
It'll help you sort things out at least
10:28 PM
you can also check /kobox.sh in the sourceforge img to see how the thing is started
10:35 PM
@dill You might find this useful https://github.com/nickola/web-console
Simple web-based shell, remote shell in your browser - nickola/web-console
10:35 PM
We could set up a server with a loopback interface and there you go, you'd have a terminal in the stock browser! (although if you are offline, it could be a little difficult to start it)
10:42 PM
A privacy-focused, extensible and beautiful web browser - wexond/desktop
10:43 PM
maybe that it'll work...
Avatar
Hey, have you guys tried any console based browser?
Avatar
yep, ELinks
10:47 PM
it isn't on par with the standards at all
Avatar
I know it might not be the prittiest
Avatar
yeah, Google works, maybe Wikipedia, but ... that's all
Avatar
Well, it would need to support javascript and last time I tried to find something like that didn't have much luck
Avatar
no, and although there's brow.sh it will crash because... you know... firefox
10:49 PM
Well, I'm trying to get telnet access right now
Avatar
devmodeon in the search bar
Avatar
Wait, really?
Avatar
yep!
Avatar
Im actually tweaking the contexts of the sd
Avatar
? contents ?
Avatar
Contents*
10:50 PM
(yeah, android keyboard hahaha)
Avatar
oh... but tweaking the contents? tweaking what?
Avatar
The init script
Avatar
To start the telnet server
10:51 PM
just do the devmodeon trick it'll work no problem
Avatar
he didn't know of that way...
10:51 PM
I tried it once, didn't have much success
Avatar
Just "devmodeon"?
Avatar
What should happen afterwards?
Avatar
then telnet <Kobo IP>
10:52 PM
nothing
10:52 PM
just something saying like "no results found"
10:52 PM
WOW
10:52 PM
nice
Avatar
I told you...
Avatar
anyways that was easy, much more than the Kindles
10:53 PM
The jailbreak method I used consisted of injecting machine code by exploiting a CVE in the 5.6.5 firmware's web browser
Avatar
n i c e
10:54 PM
Bet it's not the easiest thing ever
Avatar
(well I didn't make it)
10:54 PM
Kindle 5.6.5 exploitation tools. Contribute to sgayou/kindle-5.6.5-jailbreak development by creating an account on GitHub.
10:54 PM
very interesting read, there you go
Avatar
Okey, question
Avatar
yep?
Avatar
warning: Using 'initgroups' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
11:14 PM
Trying to cross compile dropbear to have an ssh server running in the clara
Avatar
Use NiLuJe's Stuff
11:15 PM
From the forum?
11:15 PM
It'll save you pain and effort (edited)
11:15 PM
but regarding the error, I don't do that much cross-compilation for my Kobo, if I had to compile Dropbear I'd have did it natively in an Alpine chroot, static build
Avatar
Avatar
tux-linux
Use NiLuJe's Stuff
OfficerAction 2/13/2021 11:16 PM
^ this
11:16 PM
you can just use his alreay compiled stuff
11:17 PM
and if you want to get into crosscompiling you should setup a modern toolchain the one in the blogpost is outdated
Avatar
I'd go with koxtoolchain or NickelTC
Avatar
OfficerAction 2/13/2021 11:17 PM
Build script for various toolchains used by KOReader - koreader/koxtoolchain
11:18 PM
I built the emulator kernel using NickelTC
Avatar
Avatar
OfficerAction
and if you want to get into crosscompiling you should setup a modern toolchain the one in the blogpost is outdated
I was using the newer version, though
Avatar
that's why it did cause you a problem
Avatar
But anyways I'll try to get a toolchain working on the kobo itself
Avatar
Alpine
11:19 PM
apk add gcc
Avatar
Is there any specific reason why I should use the chroot?
Avatar
package manager
11:20 PM
but yes, you mean "why couldn't I just unpack the minirootfs in the root of my Kobo?"
Avatar
Sort of, yeah
11:21 PM
Or at least make a selection/mix of both things
Avatar
it breaks musl-libc compatibility and it doesn't work well at all
Avatar
neeevermind
Avatar
but yea, compiling is OK on Kobos. Not the fastest you'll ever see, but it's... usable
11:22 PM
e.g. Natively compiling FBInk takes about 8 mins
Avatar
it's an ssh server, shouldn't be too bad
Avatar
yep I suggest you either make a static binary or you tell the compiler to use a bind-mounted sysroot (the real Kobo's root)
Avatar
Avatar
tux-linux
it breaks musl-libc compatibility and it doesn't work well at all
also, you'd be stuck with the 256MB of storage the rootfs partition has (unless you grow up the space)
Avatar
Yeah, that's on the list too
11:25 PM
(of things to do)
Avatar
also, do you think it would be great to have a service manager on Kobos? Like start <service> and stop <service>? Kindles have one and it's awesome
Avatar
OfficerAction 2/13/2021 11:42 PM
well what kind of services would you want to run?
Avatar
maybe an http server, or some X server if we can manage to "merge" the Alpine and the stock rootfs
Avatar
Avatar
tux-linux
@dill You might find this useful https://github.com/nickola/web-console
:O
1:22 AM
Useful!!!
1:29 AM
@tux-linux: Got my SD card out of my Mini but idk how to format it...
1:29 AM
On Windows rn
1:29 AM
No access to Ubuntu currently
1:31 AM
wait a sec
1:35 AM
have to go
Avatar
Discord on the Kindle!
4:47 AM
And... i'm currently sending you this message from the Kindle!
4:49 AM
(although it would probably work with Kobos like the Glo HD and the Aura One)
Avatar
Avatar
tux-linux
Discord on the Kindle!
😮
7:29 PM
AWESOME
Avatar
Yep, and it's even FAST
7:31 PM
should not be as fast on the Mini though
7:31 PM
but I almost got it working on the Aura, which has the same RAM
Avatar
yep I'm searching for a way to tell Firefox to eat up less RAM
7:32 PM
but not having so much success so far
Avatar
@OfficerAction did you look into cross compiling Palemoon?
Avatar
OfficerAction 2/14/2021 8:38 PM
hey well it has quite a bit of dependencies: gtk2 dbus-glib desktop-file-utils libxt mime-types alsa-lib startup-notification python2 autoconf2.13 unzip zip yasm libpulse you would have to cross compile all of them first and judging from my experience you have to fiddle around for a while almost every time. unfortunately my free time is limited😅
Avatar
Hmm yeah... I'll try anyway, because webkitgtk is garbage on kobos
Avatar
OfficerAction 2/14/2021 8:53 PM
go for it!
Avatar
yep, I'll try to compile it on an emulated Debian virtual machine with 8192MB of RAM (even on the Pi, it didn't want to compile because it lacked memory)
9:10 PM
also, the developers were kind enough to set up a script that wraps the thing with all required dependencies in a tgz but do you think compiling with glibc instead of musl-libc will render it incompatible with Alpine?
Avatar
OfficerAction 2/14/2021 9:39 PM
yes it wont be compatible. if you compile for glibc the programs will specifically look for that and if it's not there it wont run.
Avatar
oh so I should set up an Alpine Linux VM then?
Avatar
OfficerAction 2/14/2021 9:39 PM
maybe that would be the easiest solution
9:41 PM
oh wait maybe that wont make life easier because you still have to crosscompile
Avatar
alpine vm
9:41 PM
qemu-system-arm (edited)
Avatar
OfficerAction 2/14/2021 9:41 PM
uhhm
Avatar
but is there a way to do it with debian? It's installing right now
Avatar
OfficerAction 2/14/2021 9:41 PM
it should work but it wont be very fast i think
Avatar
of course not
9:42 PM
won't matter, really if it finishes compiling in 2 weeks, we'll be lucky
Avatar
OfficerAction 2/14/2021 9:43 PM
there are 2 ways musl offers some way to set it up directly
9:44 PM
maybe you should try that i am also curious how well that works
Avatar
hmm yep I'll have to figure out how to pass it to the mozconfig or mach build system
Avatar
OfficerAction 2/14/2021 9:45 PM
make TARGET=arm-linux-musleabihf GCC_CONFIG="--with-arch=armv7-a --with-fpu=vfpv3-d16"
9:45 PM
try that
Avatar
hmm no for palemoon it's something like mach build and all lives in the.mozconfig file
Avatar
OfficerAction 2/14/2021 9:46 PM
thats for the toolchain
Avatar
oooh
Avatar
OfficerAction 2/14/2021 9:46 PM
you have to build it first
Avatar
ok so I'll have to do the section Using the musl-gcc wrapper and use the make command you provided instead?
Avatar
OfficerAction 2/14/2021 9:49 PM
read through the thing but basically yea
9:50 PM
once I'll get Debian installed I'll get back to you on that
Avatar
OfficerAction 2/14/2021 11:08 PM
it seems musl on the other hand is tuned for static builds. it might be possible to run some musl apps even without the alpine chroot if they are statically built 🧐
Avatar
yep but as far as I could read, Palemoon doesn't offer any static build option without some... annoying headaches
Avatar
OfficerAction 2/14/2021 11:10 PM
if you can link in libmusl statically its already enough
Avatar
you mean statically building musl?
Avatar
OfficerAction 2/14/2021 11:13 PM
i mean statically link to the app.
11:13 PM
so its bundeled together
Avatar
and how would you do that? sorry, I don't have much experience in compiling things (I mean, I can, but there are some things I don't understand very well sometimes)
Avatar
OfficerAction 2/14/2021 11:17 PM
probably just add -static to the cflags
11:17 PM
have to try
Avatar
when compiling palemoon?
Avatar
OfficerAction 2/14/2021 11:17 PM
any app
Avatar
yep that I know but if I remember correctly Palemoon doesn't want/can't be compiled statically as simple as that
Avatar
OfficerAction 2/14/2021 11:19 PM
maybe they just mean completly static, because it has lots of other dependencies. but as i said if musl is linked statically its already a win
11:20 PM
and it should be possible. the apps from the package manager are also statically linked with musl.
11:20 PM
maybe they even run on a non chroot system...
Avatar
well, I'll try, but I can't promise of anything... If I packed the QEMU image like the one for the emulator and it had all the dependencies already installed, would you be willing to try to compile it?
Avatar
Avatar
OfficerAction
maybe they even run on a non chroot system...
IIRC Busybox ran even outside the chroot, so maybe yes, but some other programs didn't (they were linked to dynamic libraries)
Avatar
Avatar
tux-linux
IIRC Busybox ran even outside the chroot, so maybe yes, but some other programs didn't (they were linked to dynamic libraries)
OfficerAction 2/14/2021 11:22 PM
maybe you just have to fix the library paths so the apps can find the dependencies 😉
Avatar
in a nutshell, that's what the chroot does (essentially), right?
Avatar
Avatar
tux-linux
well, I'll try, but I can't promise of anything... If I packed the QEMU image like the one for the emulator and it had all the dependencies already installed, would you be willing to try to compile it?
OfficerAction 2/14/2021 11:23 PM
if you have everything in an qemu imge you can also compile it yourself it shouldnt be hard at that point 😉
Avatar
...will try... with Debian, right?
Avatar
OfficerAction 2/14/2021 11:23 PM
as you want
Avatar
it's still installing
Avatar
OfficerAction 2/14/2021 11:24 PM
actually i am also installing the toolchain right now
Avatar
nice
Avatar
OfficerAction 2/14/2021 11:24 PM
ah just finished
11:24 PM
just took about an hour
Avatar
but the toolchain would be for cross-compiling?
11:24 PM
(i guess)
Avatar
OfficerAction 2/14/2021 11:24 PM
yep
Avatar
ok that's nice Was it like an unattended setup where it downloaded all the sources, built the three-stage GCC + binutils and the like?
Avatar
OfficerAction 2/14/2021 11:26 PM
yea its all nicely scripted up
Avatar
what's the name of the toolchain?
Avatar
OfficerAction 2/14/2021 11:26 PM
um gcc for arm-linux-musleabihf
Avatar
oh ok
Avatar
OfficerAction 2/14/2021 11:27 PM
its basicall just a regular gcc just built to compile for arm
Avatar
Yep I did try that with koxtoolchain; worked pretty well
11:27 PM
Experimental VT100 terminal emulator for Kobo e-readers - llandsmeer/inkvt
Avatar
OfficerAction 2/14/2021 11:28 PM
yea that also works
11:28 PM
thats the other way
Avatar
other way?
Avatar
OfficerAction 2/14/2021 11:29 PM
before i said there are 2 ways
Avatar
oh ok so you meant that there was the cross-compiling and native compiling way (VM)
Avatar
OfficerAction 2/14/2021 11:32 PM
nono the koxtoolchain and the musl toolchain are both for crosscompiling and both can be made to work (probably) but lets try the musl one
Avatar
oooooooh ok then
11:35 PM
btw, I'm trying to access an Alpine Linux rootfs via chroot on my x86_64 PC. I'm doing this: sudo chroot . /usr/bin/qemu-arm /bin/bash but it spits out that: chroot: failed to run command ‘/usr/bin/qemu-arm’: No such file or directory and if I run this, you can see that it's clearly there: [nicolas@archiso kindle]$ ls usr/bin | grep qemu qemu-arm any clue?
Avatar
OfficerAction 2/14/2021 11:37 PM
what that does is it tries to start qemu iside the chroot. it wont work that way
11:38 PM
maybe try qemu-arm ./bin/bash
11:39 PM
I copied the dynamically linked binary instead of the static one
11:39 PM
now it works
Avatar
OfficerAction 2/14/2021 11:39 PM
ok
Avatar
[nicolas@archiso kindle]$ sudo chroot . /usr/bin/qemu-arm-static /bin/bash bash-5.0#
11:39 PM
thanks anyway
Avatar
I think I'll end up compiling on an Alpine chroot inside Debian, because running it on plain QEMU is not trivial especially for the armv7 one
Avatar
i mistakenly thought i could do the memory upgrade mod on my mini
1:25 AM
so now im flashing a factory img with etcher
1:25 AM
davidfor is a lifesaver
1:29 AM
@tux-linux do you know how to create a new role?
1:34 AM
hm
1:34 AM
seems like i just had to force a reboot and it worked fine
1:34 AM
yay
Avatar
a new role?
1:48 AM
suggestion: with ubuntu, dd the sd card image and then you'll be able to flash it on 16GB sd cards without the hassle of resizing the onboard partition every time
Avatar
yeah thats a big hassle
2:00 AM
but finally finished
2:00 AM
yeah, create 2 new roles: developer and tester
Avatar
dd if=/dev/mmcblk0 of=sd.img
2:01 AM
but roles ? where ?
Avatar
oh ok I think I got it
Avatar
@tux-linux have you thought about trying to compile stuff on the new server? (edited)
4:26 AM
It should be a decent processor, but with the virtualization overhead idk if it would be worth trying
Avatar
ooooooooh
4:36 AM
that'd be awesome
4:36 AM
I'll try it tomorrow!
Avatar
The overhead might be a pain, but it'd be interesting to try it out
Avatar
yep
Avatar
On the Kobo Aura now!!
Avatar
Took me 1 hour to log in and it has not even finished loading the main page But I didn't think it'd have gotten so far With 512mb RAM on more recent Kobos it should be better though
Avatar
ok, I'm throwing myself into this mess. Going to compile Palemoon! hopefully I won't have too much of why-is-this-happening-to-me-and-no-one-else-has-the-same-problem moments, but we'll see!
Avatar
@everyone OK so any willing testers of future KoBox images here? We'll need you in the next weeks/months!
Avatar
i am a willing tester, will volunteer my mini although it probably isnt much help (as you have a Mini too)
Avatar
well, it doesn't matter, you'll be able to provide feedback, a thing that us, developers, value most importantly We'll probably do an OOBE setup, so you'll probably want to test that 🙂 (edited)
Avatar
oobe? i'm not familiar with that term sorry :\
5:03 AM
gotta go bye
Avatar
Out-Of-the-Box-Experience
5:05 AM
kinda like Microsoft Windows first-time setup
Avatar
NICE (edited)
Avatar
yep
Avatar
Ok for me 3 model thinks
2:58 PM
Aura H2O aura one et aura1 emcc
Avatar
nice! we'll send you development snapshots for testing soon!
Avatar
Ahhhh that is great [root@(none) /]# uname -a Linux (none) 2.6.35.3-850-gbc67621 #2 PREEMPT Tue Feb 16 18:25:10 EST 2021 armv7l GNU/Linux [root@(none) /]# Successfully (at last) compiled a new kernel for my Kobo Mini! Actually, I always did not do make oldconfig when compiling it... what an idiot was I... (because there was already a config file there, so I didn't think that it should've been reconfigured) Now I'm building one with kexec support and that will (hopefully) print the bootlog to the framebuffer! Isn't that great 😄 @Elektron, if you want, I'll send you the uImage if you want to test it 😉
Avatar
@fermino Maybe we'll experience with that...
Avatar
Avatar
tux-linux
Ahhhh that is great [root@(none) /]# uname -a Linux (none) 2.6.35.3-850-gbc67621 #2 PREEMPT Tue Feb 16 18:25:10 EST 2021 armv7l GNU/Linux [root@(none) /]# Successfully (at last) compiled a new kernel for my Kobo Mini! Actually, I always did not do make oldconfig when compiling it... what an idiot was I... (because there was already a config file there, so I didn't think that it should've been reconfigured) Now I'm building one with kexec support and that will (hopefully) print the bootlog to the framebuffer! Isn't that great 😄 @Elektron, if you want, I'll send you the uImage if you want to test it 😉
YES!
3:23 AM
definitely send it please :D
3:23 AM
i'll be more than happy to test it out
Avatar
Avatar
tux-linux
@fermino Maybe we'll experience with that...
I remember seeing a "sound architecture thingy" in my dmesg log...
Avatar
but...
3:25 AM
the stock kernel config boots (that's nice)
3:25 AM
but once I change just ONE bit of the .config (CONFIG_KEXEC), the Mini just doesn't want to boot wonderful, isn't it?
Avatar
it's like it's knowing I'm doing something I'm not supposed to do
Avatar
but are you
3:26 AM
lol
Avatar
well
3:26 AM
at least I'm glad that I got the kernel on the device without having to reflash the SD again
Avatar
you did?
Avatar
yep, only the stock config
3:26 AM
make oldconfig
3:27 AM
so if i test out your kernel (great work btw), i'd have to flash an img, right?
Avatar
no, just the uImage
3:27 AM
dd if=uImage of=/dev/mmcblk0 bs=512 seek=2048 (edited)
3:28 AM
it writes it to an MBR sector of the SD (not in any partition) (edited)
Avatar
so in the unallocated space?
Avatar
well, it's actually before the rootfs partition
3:29 AM
like --- some hidden data there (dtb, kernel, u-boot, etc) + rootfs + recoveryfs + onboard
Avatar
i can share the uimage now
3:30 AM
3:30 AM
put it in /mnt/onboard
Avatar
thanks, post the instructions here; i have to go eat
3:30 AM
sorry
Avatar
and then (telnet/ssh) dd if=/mnt/onboard/uImage-orig of=/dev/mmcblk0 bs=512 seek=2048
3:31 AM
after: reboot
3:31 AM
(pray and hope it doesn't brick the device, but it should be fine)
Avatar
Avatar
tux-linux
but once I change just ONE bit of the .config (CONFIG_KEXEC), the Mini just doesn't want to boot wonderful, isn't it?
@fermino do you have any clue on this? thx
Avatar
@tux-linux is this good
Avatar
then reboot
3:52 AM
crossing my fingers...
Avatar
yep...
3:53 AM
hm but what F/W are you on?
3:53 AM
it won't work if it's not the stock one
Avatar
stock firmware
3:53 AM
yay, it booted and nickel is running
Avatar
well 2.1 or 4.26?
Avatar
hm really?
3:53 AM
oh that's great then
3:54 AM
just had to sideload the glo f/w
Avatar
you know a new update came out today?
3:54 AM
updating it now actually
Avatar
well now you can run uname -a to enjoy a 2021 kernel
3:55 AM
but apart of that, you won't get any reward except that the device's not bricked ;p
Avatar
(at least for now though)
Avatar
so will kobox run?
3:55 AM
theoritically no
3:55 AM
but
3:56 AM
let me try with a different ... kernel? nvm it'll never boot
Avatar
so this kernel isnt compatible with kobox?
Avatar
I mean, if it hasn't booted when I changed a config option, if I change the entire kernel it will be a mess
Avatar
no, sadly but we could succeed and implement some sort of 3.0 kernel that would work if we knew what was going on when booting ah I wish I had a serial connection set up
3:58 AM
I can send you the non-working one, look at the pattern the light flashes after that, reflash the working one on your PC with Ubuntu (or maybe WSL?) with the same command
Avatar
non-working what?
Avatar
uimage
3:59 AM
the light flashes differently, you'll see
Avatar
i cant use ubuntu for the foreseeable future though, have to stick with wsl for now
3:59 AM
wsl is windows sub-linux, right? (edited)
3:59 AM
i think do you have like a /dev/mmcblk0 in WSL?
Avatar
ls /dev | grep mmc
Avatar
i need an sqlite reader... to read koboreader.sqlite
Avatar
huh you lost me there what? why would you need to read the sqlite file?
Avatar
i need to edit something
Avatar
sudo apt install sqlite3
4:02 AM
but that's CLI though I don't know of GUI clients, let me check
Avatar
oh ok
Avatar
called sqlite trek
Avatar
you really should see my Mac's Debian screensavers now each time it's a different one and it seems the computer has a seizure like the screen is going crazy and it prints random patterns that don't make any sense
4:04 AM
I installed Debian i686 on it to use the 32 bit toolchain by KoboLabs
4:07 AM
whats the best linux distro in your opinion?
Avatar
hmm
4:07 AM
well Arch is pretty good for most of the use you're going to make out of it
4:08 AM
but I also like Gentoo and Linux From Scratch
Avatar
i remember seeing something like "damn small linux"
Avatar
Debian-based are pretty good too, but kind of in the heavier side
4:08 AM
yep, it existed
Avatar
last stable is from 2008 ;p
Avatar
but there's Slax also
4:09 AM
Slax is a modern, portable, small and fast Linux operating system.
4:09 AM
(in the small ones)
4:10 AM
and other ones could be like SliTaz Linux (50 MB iso), Tiny Core Linux (16MB iso, yep!), Puppy Linux and FatDog64 Linux
4:10 AM
also, that one is pretty neat too, I tried it, it's nice https://github.com/ivandavidov/minimal
Minimal Linux Live (MLL) is a tiny educational Linux distribution, which is designed to be built from scratch by using a collection of automated shell scripts. Minimal Linux Live offers a core envi...
Avatar
ooo arch looks nice!
Avatar
yep, it is actually nice
4:13 AM
like honestly, it's not hard to install it (well OK, I must have done it more than 15 times but still, it's pretty straightforward compared to GENTOO install process https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation/en) (edited)
Avatar
unfortunately, im "still too young" to have a laptop
Avatar
but what do you have then?
Avatar
a pc, another pc, and a laptop
4:13 AM
all of them are family ones
4:14 AM
that's not cool
Avatar
I understand why you want to use your Kobo as a computer then (edited)
Avatar
I totally agree
Avatar
been tryna do it since i was 11
Avatar
Yeah, me I got one in August, and I stopped going on Mobileread for some months because I didn't find the addons I wanted, and I didn't have the skills to develop them
4:15 AM
but now... now that we figured out how to run Xorg on Kobos sky's the limit
4:15 AM
btw, i found me an android image for the kobo glo
Avatar
(well as soon as we fix that darn touch input thing)
4:16 AM
but it's pretty old, is it?
4:16 AM
like 2.3?
4:16 AM
2013
Avatar
I used that once on a phone and it was garbage quick sidenote: the phone too had 256MB of RAM. worst thing is that it was running Android
4:16 AM
which slowed down things painfully
4:17 AM
if it ran Nickel, it would've been fine
Avatar
yeah imagine if we got a SIM card tray in a Kobo lol
4:17 AM
and we created a custom app integrated into nickel to send sms and make phone calls
Avatar
hahaha yes
4:17 AM
and now its time to get off
Avatar
that'd be awesome and we'd have an audio jack too for music
4:18 AM
here's the android img
4:18 AM
bye
Avatar
but it runs on the Mini?
4:18 AM
bye
Avatar
¯\_(ツ)_/¯
4:18 AM
no
Avatar
I tried it once and it didn't work i think I have to take the one for the Touch
sherm_p joined the server. 2/17/2021 8:24 AM
Avatar
Avatar
tux-linux
@fermino do you have any clue on this? thx
Not really, is that within the kernel options or something else?
Avatar
Avatar
tux-linux
and we created a custom app integrated into nickel to send sms and make phone calls
well, if we get USB OTG working then this is a piece of cake
1:33 PM
Or if we can have any sort of serial comm, making a custom module shouldnt be too hard
1:34 PM
(I'm actually making a dog tracker to keep my dogs inside the place, and a friend is doing something similar but with GSM too)
1:37 PM
'key, I found it. This is the Clara, and it has a serial port there
1:38 PM
What I don't know is where it goes (when I'm back home which won't happen for a week at least) I can set up a usb-serial dongle and see what it outputs
1:39 PM
So we might get some hints about the kernel with that
Avatar
Of course thanks!
1:43 PM
I don't have the equipment for that
1:43 PM
If it works, can you share how you got it running? Thx
Avatar
Avatar
fermino
Not really, is that within the kernel options or something else?
Yep it's in .config (CONFIG_KEXEC)
1:49 PM
If you want, I'll compile a kernel with the default configuration for the Clara and you'll be able to test it with serial, and if it works we'll add features to the kernel!
Avatar
Sure, that'd be great
Avatar
(until it breaks)
Avatar
hahahah
Avatar
I'll do it tonight
Avatar
I won't be home for another week, though
1:50 PM
And I don't have a usb-serial adapter here :c
1:58 PM
@tux-linux @dill do a ls /dev when you guys can plz
Avatar
@tux-linux where is the apk binary supposed to be?
2:09 PM
@tux-linux should the chroot set a new $PATH automatically?
Avatar
Weeeell, I think I broke something
2:23 PM
Which Kobo Model? Your new Kobo – firmware update Your new Kobo – backup the SD Card Connecting an instrument to a Kobo – overview Removing the rear cover Inside a Kobo – Serial port Inside a Kobo – SD Card Inside a Kobo – Battery Dissembling a Kobo Connecting a Bluefly to the Kobo … Continue reading Kobo Self Build →
2:23 PM
There's all sort of stuff for serial comms in the kobos
Avatar
Did you mount /dev/pts?
2:26 PM
mount -t devpts devpts /dev/pts
Avatar
Oh, that might be why
Avatar
Add that in the rcS
2:26 PM
(take out the SD and edit the file)
Avatar
It's updating now, anyways
Avatar
For emergency things you might also want to enable telnet busybox telnetd -F No.. it's already enabled. Sorry Also don't forget to mkdir /dev/pts after dev is mounted (edited)
Avatar
Avatar
fermino
@tux-linux where is the apk binary supposed to be?
sbin
Avatar
That's a life saver, thanks
2:32 PM
Does the init script get reset after an update?
Avatar
I think so, yes
Avatar
@tux-linux are you close by your kobo?
2:35 PM
Btw Palemoon is still compiling
2:35 PM
Hmm yes, but not for a very long time
Avatar
ls /dev/tty*
Avatar
There should be a ttymxc0 device
Avatar
I'll do it on my Aura
2:36 PM
Yep it's serial, right?
2:37 PM
That opens up quite a bit of possibilities for mods/addons
Avatar
Doesn't seem to be there
Avatar
Any other suspicious tty*?
Avatar
Oh my bad it is indeed there
Avatar
Avatar
fermino
That opens up quite a bit of possibilities for mods/addons
Of course, but it might be difficult to get all users to solder serial cables to their Kobos... ;p
Avatar
Well, that
2:42 PM
hahaha
Avatar
Check also /proc/cmdline Might be of interest for you
Avatar
niiice
2:43 PM
But what is it?
2:43 PM
xD
Avatar
Kernel boot command
2:44 PM
Also there's the uboot one in /etc/uboot
2:44 PM
Or /etc/u-boot Don't quite remember
Avatar
Yeap, /etc/u-boot
2:45 PM
This is nice, now we now it runs at 115200baud/s: cat /proc/cmdline console=ttymxc0,115200 rootwait rw no_console_suspend hwcfg_p=0x9ffffe00 hwcfg_sz=110 waveform_p=0x9fd70000 waveform_sz=2686291 ntxfw_p=0x9fd6da00 ntxfw_sz=9474 mem=509M boot_port=1 rootfstype=ext4 root=/dev/mmcblk0p1 quiet
2:45 PM
At least the kernel info output
Avatar
I wonder if it's editable
2:46 PM
Eg if you change mem to 256 and reboot
Avatar
Well, the git method works like a charm
Avatar
[root@kobo ]# pwd / [root@kobo ]# ls bin dev etc home lib media mnt opt proc root run sbin srv sys tmp usr var [root@kobo ]# uname -r 4.1.15-00089-ga2737fc02713 [root@kobo ]# git status On branch main Your branch is up to date with 'origin/main'. Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) deleted: dev/.gitkeep modified: etc/apk/world modified: lib/apk/db/installed modified: lib/apk/db/scripts.tar modified: lib/apk/db/triggers deleted: proc/.gitkeep deleted: run/.gitkeep deleted: sys/.gitkeep deleted: tmp/.gitkeep Untracked files: (use "git add <file>..." to include in what will be committed) .ash_history .gitignore etc/apk/protected_paths.d/ca-certificates.list etc/ca-certificates.conf etc/ca-certificates/ etc/nanorc etc/resolv.conf etc/terminfo/ usr/bin/c_rehash usr/bin/git usr/bin/git-receive-pack usr/bin/git-shell usr/bin/git-upload-archive usr/bin/git-upload-pack usr/bin/nano usr/bin/rnano usr/bin/xmlwf usr/lib/libcurl.so.4 usr/lib/libcurl.so.4.6.0 usr/lib/libexpat.so.1 usr/lib/libexpat.so.1.6.11 usr/lib/libformw.so.6 usr/lib/libformw.so.6.2 usr/lib/libgcc_s.so.1 usr/lib/libmagic.so.1 usr/lib/libmagic.so.1.0.0 usr/lib/libmenuw.so.6 usr/lib/libmenuw.so.6.2 usr/lib/libncursesw.so.6 usr/lib/libncursesw.so.6.2 usr/lib/libnghttp2.so.14 usr/lib/libnghttp2.so.14.20.0 usr/lib/libpanelw.so.6 usr/lib/libpanelw.so.6.2 usr/lib/libpcre2-8.so.0 usr/lib/libpcre2-8.so.0.10.0 usr/lib/libpcre2-posix.so.2 usr/lib/libpcre2-posix.so.2.0.3 usr/libexec/ usr/sbin/update-ca-certificates usr/share/ca-certificates/ usr/share/git-core/ usr/share/misc/magic.mgc ...
3:14 PM
@tux-linux if it's okay with you I'll add git and nano to the base layout
Avatar
Yep
3:40 PM
Add vim too
3:41 PM
The coolest thing is that we can do a git checkout and get the whole system back to a known good state
3:54 PM
That actually means it worked
Avatar
Yep haha
Avatar
Install openssh-client
Avatar
yeah, it's done
Avatar
Or clone via https
Avatar
Can I push through https?
Avatar
Yep
5:02 PM
It's actually simpler than ssh
Avatar
fatal: unable to access 'https://alpinekobox.ddns.net:3000/Alpine-KoBox/base-layout/': error:1408F10B:SSL routines:ssl3_get_record:wrong version number
5:02 PM
we had that same problem at work the other day
5:03 PM
fixed
Avatar
Oooooh That's not good
5:11 PM
Are you on v3.13?
Avatar
But how did you fix it?
Avatar
It was only when I went against the ddns domain
5:11 PM
But with the proxy works fine
Avatar
Anyways I'm trying to use ssh bc I don't want to hardcode the password
Avatar
Oh yeah
Avatar
oks, now it works
5:14 PM
I needed to mount /dev/pts I think
5:15 PM
Theere we go
5:15 PM
Avatar
Nice!
Avatar
When you have a moment please try if this works
6:29 PM
Everything should be working, but you'll have to create proc and sys before chrooting into it
Avatar
I'll write up a 'Guidelines' file for those who want to develop with the provided rootfs
Avatar
Does gitea have a repo wiki feature?
10:09 PM
Btw I added some issues if you want to take a look at them
Avatar
Nice, I'll take a look! Should be back home an hour from now
10:36 PM
I'll see for the wiki
10:41 PM
There seems to be a wiki tab (edited)
Avatar
Ok I'm back at home. I'll start testing things on my Glo HD
Avatar
news for the mini and kernel seems that compiling Marek Gibek's kernel optimized for Xorg works and boots fine https://github.com/marek-g/kobo-kernel-2.6.35.3-marek/blob/linux/build_instructions but as soon as I enable CONFIG_KEXEC, it 1) green light on 2) blue light on for ~10 secs 3) blue light shuts down and then it's powered off @fermino, I think I'll buy a serial port kit too
Kernel for kobo glo, mini, touch (imx507) with changes for running X11 - marek-g/kobo-kernel-2.6.35.3-marek
Avatar
@tux-linux just make sure the signals are 3.3V or it might damage the port in the processor
2:00 AM
If you want I can take a look at it before you buy it
Avatar
ok I might try it on my Glo HD, since it's already half-destroyed, so it won't bother me if it breaks ;p
2:00 AM
of course, please, if you want!
Avatar
Or well, if you have a rpi you can direct connect it with some wires
Avatar
yes I know but would it be easier with just the converter kit?
Avatar
Honestly it would be easier with the rpi
2:01 AM
I mean, it's literally just the same
Avatar
we don't have soldering equipment for that at home, so I'll have to ask my father which is engineer to do it at his job
Avatar
And with the rpi you're sure the signals are 3.3V
Avatar
is it the same voltage for all Kobo models?
Avatar
It should, technically
2:02 AM
I don't really know, though
2:02 AM
Technically = I'm totally guessing hahaha
2:03 AM
In any case, if you only use the tx line (in the kobo) you should be safe as it only transmits and the rpi receives
Avatar
ok I looked into some docs for serial on RPis, but would it be possible to do it without soldering?
Avatar
Hm...
Avatar
oh and I looked at my Glo HD's PCB it has 3 serial connections
Avatar
Can you take a pic?
Avatar
yep
2:04 AM
it's uploading
Avatar
I can take a look at the NXP datasheets to see the signal voltage
Avatar
thx
Avatar
Maybe tomorrow, but for debugging the kernel output you should be safe
Avatar
If you want to transmit to the kobo then I'd double check to make sure (or if you have an oscilloscope (or an arduino) take a look at the tx output voltage
Avatar
don't have either of them
2:05 AM
:/
Avatar
Woah, 3
2:06 AM
If all of them works that's waay useful
Avatar
but for the wires, it'd be like one in the rx hole and one in the rpi?
Avatar
You need to connect ground
2:06 AM
Gnd
2:07 AM
And then yes, for now it would be TXD (Kobo) to RXD (rpi)
Avatar
you should check your clara's PCB too; I missed those two while looking at the board and then I discovered them an hour ago
2:07 AM
ok... like I could "roll" the cables on the RPi's GPIO?
Avatar
And GND to GND
2:07 AM
Roll?
2:07 AM
Didn't get you there haha
Avatar
well, how would I connect them?
2:08 AM
(keeping contact)
Avatar
On the rpi side it has some dupont connectors
2:09 AM
And on the kobo, you could try to hold it by hand but it will be hard and will kindof complicate it
2:09 AM
Specially because you're gonna be trying to debug the kernel
Avatar
I could "glue" it maybe? tape?
Avatar
And the better the connection the less amounts of points of failure we would have
Avatar
If you somehow manage to have it in contact, I don't see why not
Avatar
that's my RPi GPIO
Avatar
Your dad might not like it though (?
Avatar
yep, but he knows what I'm talking about when I tell him about serial things and all
2:11 AM
actually he might know more than myself on that thing (edited)
Avatar
For sure, I would ask him for some help
Avatar
certainly
Avatar
Trying to debug stuff like that is not easy
2:12 AM
You never know if it's your fault or other thing hahaha
Avatar
but I didn't get you on the 'dupont connector' thing my RPi doesn't seem to have one...
Avatar
I'll send a pic
Avatar
well I searched on google
2:12 AM
but I don't have that right now
2:14 AM
btw if you didn't already buy the serial converter, you might like to buy the RPi Zero instead will serve you more in the future I guess ^^
Avatar
yeaaaaaaaah might have that somewhere
Avatar
Those are the dupont connectors
2:14 AM
And the rpi has a 2xtwenty-something male header
Avatar
Avatar
tux-linux
btw if you didn't already buy the serial converter, you might like to buy the RPi Zero instead will serve you more in the future I guess ^^
I have a rpi at home, but it's a rpi B I think
2:15 AM
Ooold
2:15 AM
so theoritically you wouldn't need to buy a converter
Avatar
And a couple of converters too hahah
Avatar
oh you already have one
2:16 AM
I've been working on electronics for quite a while
2:16 AM
Never done any professional project, though
2:16 AM
But if I could work with electronics I'd do it
Avatar
not to be intrusive or anything, but in what domain are you working on?
2:17 AM
i'm just curious
Avatar
Programming!
Avatar
that's nice
Avatar
Your good, mate!
2:17 AM
Php, mostly
2:17 AM
And nodejs
Avatar
great I know a bit of NodeJS no php though
Avatar
You're not missing anything out! Hahahah
2:17 AM
Pho is good, but everyone hates it
2:18 AM
What I truly love is C (even though I don't know a lot)
Avatar
but do you hate it?
2:18 AM
yep me too
Avatar
Nah, I don't, it has its place and purpose and it's good at it
Avatar
It's miles better than Python
Avatar
And I honestly quite like it
Avatar
but you surely know more than me in C
2:19 AM
I've done some things with electronics
2:19 AM
But almost nothing on pc
2:19 AM
So it's mostly a weird mix between low level C++ and mid level C
Avatar
well you'll learn with Kobos
Avatar
(C++ with classes and without stdlib)
Avatar
So it's mostly C with classes hahaha
Avatar
you lost me there ;p
Avatar
On microcontrollers you don't have lots of ram so you usually try to stay on statically reserved memory as long as you can
Avatar
yep, microcontrollers are very interesting, might buy one soon
Avatar
You're good! You know what POO is?
2:21 AM
OOP* in english
Avatar
hmm no let me look it up on google
2:21 AM
oh yea
Avatar
Avatar
tux-linux
yep, microcontrollers are very interesting, might buy one soon
There is something really cool called MixroPython, you might like it
Avatar
yep I've definitely done some extensive use of it with Python
2:22 AM
yeah, I know
Avatar
Avatar
tux-linux
yep I've definitely done some extensive use of it with Python
Well, C++ supports OOP, but C doesn't
2:23 AM
so it's like a mix of C/C++
Avatar
So I've mostly used C++, but without stdlib
2:23 AM
And most of the things end up being mostly plain C
Avatar
Avatar
fermino
You're good! You know what POO is?
Well here in French it's called "Programmation orientée objet"
Avatar
Avatar
tux-linux
Well here in French it's called "Programmation orientée objet"
Nice
2:24 AM
French is on my list of languages to learn, after Italian
Avatar
well you speak Spanish, right?
Avatar
it shouldn't be too difficult
Avatar
I also know some Haitian Kreyole
2:25 AM
So I (not really but we'll xD) can catch up some french in movies and so
2:25 AM
Well*
Avatar
but to come back to the rpi, what should I do with the dupont connector? find one and connect one wire to the kobo, and the end of the cable to the GPIO?
2:26 AM
nice
Avatar
You'd need two cables
Avatar
for tx/rx?
2:26 AM
or tx/gnd
Avatar
You should solder it, if possible
2:26 AM
Tx/gnd for now
2:27 AM
And after you have it soldered you connect the dupont end
2:27 AM
To the rpi
2:27 AM
GND to GND
2:27 AM
And tx (kobo) to rx (rpi)
Avatar
ok... so 1. find a dupont connector 2. connect the dupont end (GND) to the rpi and gnd to the kobo 3. somehow connect the wire on the Kobo on TX and keep it there and connect the dupont end (RX) to the rpi
2:28 AM
right?
2:29 AM
If you're not soldering you probably want to connect it to the rpi first
Avatar
guess the hardest step is going to be step 1
Avatar
Probably
2:30 AM
Well
Avatar
where could I find one?
Avatar
If you have old hardware around
Avatar
yep, lots of old hardware here
Avatar
You can find one inside an old computer
2:30 AM
The cables that go to the led/switches are the same ones
Avatar
ok there's an old 286 pc there ... maybe...?
Avatar
likely
Avatar
like oooooh the ones that you connect to hard drives, for ... power? hmm no, right?
2:31 AM
Smaller
2:31 AM
The ones that go to the front of the cade
Avatar
?fans?
Avatar
Case*
2:32 AM
Fans coouuld work
Avatar
ok I'll go and look now
Avatar
But might not, it really depends on the connector
2:32 AM
But if it has a case and you can destroy one of the front LEDs or switches, you have one for granted
2:33 AM
that's interesting
2:33 AM
even like a case from 1992?
Avatar
Even more likely
Avatar
ok I'll go and check
Avatar
It's probably connected to the bottom right of the motherboard
Avatar
wait I'll show you a pic
2:36 AM
Avatar
That is old
2:37 AM
And awesome
2:37 AM
Never seen a working pc with ISA slots
Avatar
yep, notice the ram stick?
2:37 AM
2:37 AM
that?
Avatar
You sure you can destroy it? (Well or at least take a cable?)
2:37 AM
Yes
2:37 AM
Exactly that
Avatar
I'll see where it goes
2:38 AM
but it's semi-working, sometimes the keyboard isn't detected
Avatar
The ram is on the top, right?
Avatar
yep, those fat sticks you see
Avatar
Avatar
tux-linux
but it's semi-working, sometimes the keyboard isn't detected
Then I'd take the cable of one LED
2:38 AM
Cables*
2:38 AM
The pair
2:38 AM
So you still have working switched
Avatar
yeah of course, maybe the one of the "turbo" button ^^
2:39 AM
Avatar
Hahaha yes
2:39 AM
Woah
2:39 AM
And where is the processor?
Avatar
hmm let me show you...
Avatar
Oh, btw, the GND cable you can connect it to a screw in the kobo pcb
Avatar
oh ok
Avatar
And I'm thinking
2:41 AM
You know those things you use to clean in between your teeth?
2:41 AM
Idk the name
2:41 AM
Those tiny wooden sticks?
Avatar
hmm don't know either
2:41 AM
2:41 AM
we'll call it "things"
2:41 AM
not the main one, but worth showing
Avatar
Toothpick
Avatar
yeah
Avatar
You might get away with one of those and the tx pin
2:42 AM
To hold it in place
2:42 AM
yep maybe that seems to be the main one
Avatar
Oh that actually is a 286
2:43 AM
That's awesome
Avatar
is it?
Avatar
I think so
Avatar
it runs windows 3.1 fine
Avatar
Newer models didn't have the math coprocessor
Avatar
but well if you say that it's so valuable I might try another "brontosaure" as we say it in french in my house
2:44 AM
it's a PC with one of the first AMDs
Avatar
I mean, the connector is not a big deal
2:45 AM
The motherboard is what's worth it ^^
Avatar
Well I know it's just nice to see the orange Turbo light
Avatar
Hahahahah
Avatar
But how would you value the board? Not that I want to sell it, but I didn't think it was worth anything
Avatar
Well, it's one of those things I've never seen in front of me
2:46 AM
And I've had lots of old motherboards
2:46 AM
But never a working one
2:46 AM
And I'm kindof in love with old tech
2:47 AM
So is my dad
Avatar
Avatar
fermino
And I'm kindof in love with old tech
Nice me too
Avatar
It's probably more a "how cool!!" Value than monetary value
Avatar
Oh ok that's still nice
2:48 AM
If you look at the picture, the fan is not lying It's really like if a volcano was exploding when the PC is turned on (edited)
Avatar
Hahahah
Avatar
No, seriously It's even worse than my internet switch
Avatar
I'm putting my bets (? On the white-green cable
2:50 AM
I can believe it hahahah
Avatar
Yep seems good
Avatar
I'm pretty sure it's the power LED
2:52 AM
Would it not be "power switch"?
2:52 AM
Ha found you power led
2:53 AM
But there are three holes on the connector though
Avatar
Yeap, that's the switch
2:53 AM
Hm
2:53 AM
Well, before anything let's find the rpi header info
2:54 AM
Wait a sec
2:55 AM
That works great
Avatar
What works great?
2:56 AM
This
2:56 AM
The 3 connector one
2:56 AM
What a coincidence
2:56 AM
I'm not sure it's the right size though
Avatar
If not it could be to the left
2:56 AM
Yeah, it probably is
Avatar
Wait I'll grab my rpi
Avatar
You can try it out before connecting anything though
Avatar
Yep it's not even powered on
2:57 AM
It's a perfect fit :)
2:58 AM
I have to go soon, though
Avatar
But tbh I think it's gonna work great with a toothpick
2:58 AM
Hahahah
Avatar
Well I'll try on my own then
2:59 AM
With my dad
2:59 AM
Or are you going to be back soon?
2:59 AM
Couple tips
3:00 AM
Ground can go to a "ground plane" on the pcb, you can attach it to one of the screws that will have the copper layer (orange-ish) exposed
Avatar
Then you put the screw and make sure the copper of the cable doesn't touch anything else
3:00 AM
  • you're gonna have to figure out the toothpick thing xD
Avatar
But there is already a gnd pin on the PCB, right?
3:00 AM
But for you to not have to hold it all the time
3:00 AM
You can screw it in
3:01 AM
Ok Will you come back soon? I can wait
Avatar
(I'm going to go to sleep hahahah)
3:02 AM
Ok then, so I'll (try) to do it myself
Avatar
And the other thing is: out of the 3 ports my guess is that it's J1
Avatar
(J1 is the label right next to it)
3:02 AM
I'm guessing because it's the first one and the one that is alone
Avatar
So the one bottom right?
Avatar
(for the rpi, the baudrate should be 115200, the other options as default, you could try using minicom or something like that)
Avatar
Yep
3:04 AM
Could I brick my rpi if I don't set the correct baudrate? Like could it be dead?
3:04 AM
Well
3:05 AM
Yes
3:05 AM
Not really
3:05 AM
If you're careful
3:06 AM
The worst case is if you flip the GND and tx signals
3:06 AM
Ok I hope I won't do that
Avatar
It could (just could) fry the serial port in the rpi
Avatar
Avatar
fermino
Click to see attachment 🖼️
Just make sure to keep the black cable to the outside
3:07 AM
The pin header is probably labeled
Avatar
Only the serial port
3:07 AM
At least
3:08 AM
(and well, then GND = black)
3:08 AM
And in the kobo GND is that 2-3 dashes symbol
Avatar
Yep
3:08 AM
Oh actually
Avatar
The cable only has two threads Not three (edited)
Avatar
Avatar
fermino
Click to see attachment 🖼️
And just refer to this
3:09 AM
Yeap
3:09 AM
If you see we're not connecting the tx in the raspi
3:09 AM
Just the ground + rxd
3:10 AM
That's luck
3:10 AM
I already cut it ;p
3:11 AM
So I have to "cut" the cable so the wire is exposed?
Avatar
Avatar
tux-linux
So I have to "cut" the cable so the wire is exposed?
Yeap
3:12 AM
will try
3:12 AM
let me ask my dad (edited)
3:14 AM
3:14 AM
that?
Avatar
That will do it
3:16 AM
Use the bottom part
3:16 AM
14awg? I'm guessing rn
3:17 AM
Hey
3:17 AM
I have to go!
3:17 AM
But we can follow this tomorrow if you want
Avatar
ok! my dad is ok to help me so guess I'll do it now! but thanks very very much!!!!
Avatar
Oks mate!
3:21 AM
Good luck then!
Avatar
actually I'm so excited to see serial output coming out of ... an eReader
Avatar
Hahahah
3:21 AM
If it works I can maybe design some modules for it
Avatar
nice
Avatar
Like to interface with the outside world
Avatar
yeah like bluetooth
Avatar
Audio would be probably overkill
3:22 AM
But it's worth trying
Avatar
wait wait
3:22 AM
all is worth trying and if this thing is able to play youtube
3:22 AM
then audio shouldn't be a problem
Avatar
let me do some math
Avatar
at least we could listen to some podcasts in low quality, right?
Avatar
We could get some audio out of it
Avatar
some beeps
Avatar
Not hi-fi, not at all
3:24 AM
But yeah
3:24 AM
Anyways
3:24 AM
Talk to you tomorrow!!
3:24 AM
Well see where this leads hahaha
Avatar
yep, good night!
Avatar
Thx, you too
Avatar
My PC just got killed because I'd eaten up all the RAM
3:31 AM
So that means recompiling 2 days of Palemoon :/
Avatar
that's sad
Avatar
Yeah...
3:36 AM
But I'm trying something exciting tonight though
Avatar
I hope I get this serial thing working
3:37 AM
a serial connection
Avatar
To debug this $#@$#@ kernel
Avatar
And to have some fun
Avatar
gotta have some fun
Avatar
I'll keep you posted
Avatar
it works! thanks @fermino!
Avatar
I hooked up the Mini, will post the log soon
Avatar
kobo mini's log
5:34 AM
does someone have any clue about this? thx
Avatar
Hello All,   I've downloaded and compiled Freescale's 2.6.35 kernel from their opensource gitweb, but when I boot the kernel on my i.MX53QSB I get a series of 8 Unhandled fault: alignment exception errors.  I've attached my complete boot output, but the first occurrence of the boot error is shown be...
Avatar
Yeeeey
11:57 AM
Well, now the rabbit hole of debugging the kernel hahahah
Avatar
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- EXTRA_CFLAGS=-mno-unaligned-access
12:10 PM
And that post you sent points here, took a quick look and might be worth reading https://web.archive.org/web/20150324062536/http://blog.galemin.com/tag/codesourcery/
12:12 PM
So at the moment we have default software handling for unaligned memory access faults in kernel and new CodeSourcery 2011.03-41 cross-compiler with “Unaligned access support” feature enabled by default. **As I understand, It means that compiler tries to optimize unaligned memory access with assumption that “A bit” in Control Register is unset (reset value) and hardware should handle all unaligned memory loads. But this bit is set by Linux kernel, thus, after memory access optimisation by cross-compiler ARM processor generates alignment faults, which are handled by software traps in kernel.** There are two solutions for this issue. The first one is described in my previous post (“**-mno-unaligned-access**” parameter). **And the second is to disable alignment faults checking in Linux kernel (clear “A bit” in Control Register). I think the second solution is more preferable as hardware unaligned loads support is much faster than software handling.** After some investigation I found that alignment traps generation can be controlled using “ALIGNMENT_TRAP” kernel config parameter in “arch/arm/Kconfig”, but this parameter is by default true and it can’t be configured in menuconfig. In order to be able to change it’s value just add “Software alignment trap” text after “bool”: config ALIGNMENT_TRAP bool “Software alignment trap” And unset it in menuconfig: Kernel Features —> [ ] Software alignment trap
Avatar
@tux-linux if this works this could be a huge leap forward!
Avatar
Yep I'll try that ASAP thanks again!!!! (edited)
Avatar
Oh also Would it be possible to (easily) add add TX line on the rpi?
1:38 PM
Let me look something up and I'll confirm it
Avatar
Ok!
Avatar
also, I just realized that I could flash and try new kernels on eMMC devices, and even if they don't work I can re-flash them with U-Boot on serial
2:41 PM
e.g. this will be useful for the Aura
Avatar
@fermino the cflags option didn't work. now it stops at "Starting kernel..." Will try with the link you provided
2:54 PM
U-Boot 2009.08-dirty-svn ( 8月 29 2012 - 11:15:18) CPU: Freescale i.MX50 family 1.1V at 800 MHz mx50 pll1: 800MHz mx50 pll2: 400MHz mx50 pll3: 216MHz ipg clock : 66666666Hz ipg per clock : 66666666Hz uart clock : 24000000Hz ahb clock : 133333333Hz axi_a clock : 400000000Hz axi_b clock : 200000000Hz weim_clock : 100000000Hz ddr clock : 200000000Hz esdhc1 clock : 80000000Hz esdhc2 clock : 80000000Hz esdhc3 clock : 80000000Hz esdhc4 clock : 80000000Hz Board: MX50 RDP board Boot Reason: [POR] Boot Device: SD I2C: ready DRAM: 256 MB In: serial Out: serial Err: serial [_get_sd_number] g_sd_number:2 MMC read: dev # 2, block # 1023, count 1 partition # 0 ... 1 blocks read: OK MMC read: dev # 2, block # 1024, count 1 partition # 0 ... 1 blocks read: OK zforce read 7 0 (2 bytes) zforce read 1 0 (2 bytes) zforce read 2 0 (2 bytes) zforce read 3 0 (2 bytes) zforce frame start not found ! zforce frame start not found ! PCB ID is 9 Power key released!! ram p=70000000,size=268435456 MMC read: dev # 2, block # 18431, count 1 partition # 0 ... 1 blocks read: OK no "logo" bin header MMC read: dev # 2, block # 14335, count 1 partition # 0 ... 1 blocks read: OK MMC read: dev # 2, block # 14336, count 1922 partition # 0 ... 1922 blocks read: OK Kernel RAM visiable size=255M->255M init TPS65185 power ... Hit any key to stop autoboot: 0 MMC read: dev # 2, block # 2047, count 1 partition # 0 ... 1 blocks read: OK no kernel image signature ! MMC read: dev # 2, block # 2048, count 8192 partition # 0 ... 8192 blocks read: OK ## Booting kernel from Legacy Image at 70800000 ... Image Name: r?_#3 Feb 18 08:42:19 Created: 2021-02-18 13:42:23 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1907696 Bytes = 1.8 MB Load Address: 70008000 Entry Point: 70008000 Loading Kernel Image ... OK OK Starting kernel ...
Avatar
How much time did you leave it trying to boot?
Avatar
well until the light turned off
3:00 PM
after that I could power it on again
Avatar
Ideas:
  • Disable ALL optimizations in GCC
Avatar
so it likely auto shutdown
Avatar
  • Roll back to an older GCC version
Avatar
well GCC 4.8 is not old enough?
Avatar
oh boy
3:01 PM
nvm then
Avatar
I'm using a 2013 toolchain haha
Avatar
hahahah
Avatar
But I'm compiling now with the blog post you shared
3:01 PM
It's strange that the default config worked though
Avatar
Maybe try with gcc-4.7.3
Avatar
And also, hooking up the Mini to serial is like 100 times more difficult than the Glo HD
3:02 PM
ok
Avatar
Addendum: some kernels (at least 2.6.35.3 and 2.6.38 from the Freescale Quick Start Board BSP) override EXTRA_CFLAGS in the Makefiles, so needs an extra patch to make the kernel bootable when using a newer toolchain with EXTRA_CFLAGS=-mno-unaligned-access. The main culprit seems to be in arch/arm/boot/compressed/Makefile: -EXTRA_CFLAGS := -fpic -fno-builtin -EXTRA_ASFLAGS := -Wa,-march=all +ccflags-y := -fpic -fno-builtin +asflags-y := -Wa,-march=all Have you seen this one?
3:02 PM
will try after if it doesn't work
3:03 PM
3:03 PM
that's the mini
Avatar
Avatar
tux-linux
@fermino the cflags option didn't work. now it stops at "Starting kernel..." Will try with the link you provided
which cflag did you use?
Avatar
I'll check
3:04 PM
now it's compiling
Avatar
hahah I have to post that pic on twitter
3:04 PM
may I use it?
Avatar
yep, just mention me @tuxgnulinux
Avatar
you know the game Mikado?
Avatar
nop, whats that?
Avatar
it's like if you were playing it while you attach the Mini to serial
3:05 PM
It's a game like if anything breaks, all breaks
3:05 PM
all those tiny wood sticks
3:05 PM
look it up on google
Avatar
hahahahaha
3:06 PM
oooh yeah
Avatar
anyways I'm impressed that it just works
3:06 PM
I have to hold my breath everytime I take out the MicroSD
3:08 PM
IT WOOOOOOOOOOOORKS
Avatar
DOES IT
3:08 PM
NICE
Avatar
well it boots
Avatar
THERE WE GOO
3:08 PM
Arch on Kobo here we goo
Avatar
ABSOLUTELY
Avatar
hahahahha
3:09 PM
ACTUALLY
Avatar
come in, squashfs, btrfs let's goo
Avatar
There's an arch distro for raspberry
Avatar
yep I know
Avatar
sooo it wouldn't be tooo weird (?
Avatar
no, but I was more looking at Debian
Avatar
For sure
3:10 PM
It would break a lot less
Avatar
especially but imagine if we posted that on unixporn
3:10 PM
"btw I use Arch ... on an eReader"
Avatar
gentoo
Avatar
HAHAHHAHA
3:10 PM
it'd take like 2 years to just even RUN
3:11 PM
This would be a HUGE project
3:11 PM
And for sure we wouldn't be able to run it alone
3:11 PM
BUT
Avatar
yeah, Imagine if we got kexec for all Kobos (including emmcs) and we could run our proper distro!
Avatar
If there is enough interested people at mobileread
3:11 PM
it could be possible
Avatar
could, yes, I hope
3:12 PM
I'll try kexec as soon as I convince me to unplug that serial thing
Avatar
hahaha
Avatar
(because putting it back again togheter won't be easy)
Avatar
actually, you might just want to keep it plugged
Avatar
Well I don't have TX on the RPI
Avatar
You do, actually
3:12 PM
It's the pin in between those two
Avatar
but not plugged in
Avatar
Oh, yeah
Avatar
so I have to enable SSH
Avatar
But (I think, not sure though) you have the kernel log
3:13 PM
idk if it closes the port after booting
Avatar
yep
3:13 PM
no, you can login
3:13 PM
I think it just says "invalid argument" because there's no TX ?
Avatar
ooh, that's why you were asking for it
3:14 PM
hm... if there is noise in the signal, yes
3:14 PM
But Im guessing that's another thing, though
Avatar
look at the Kindle dev's corner, there are plenty of jailbreak using serial also
3:16 PM
3:16 PM
That's my Debian machine doing strange... Screensaver things
Avatar
hahahaha
Avatar
Well do you want to post something on Mobileread about it?
Avatar
I can't right now
3:20 PM
I must get back to work hahaha
Avatar
btw, question
3:21 PM
Do you have any clues about how to write a kernel module?
3:21 PM
I'm just thinking about how to make modules that attach to the serial port
3:22 PM
(I mean hardware modules, but we'd need a kernel mod to use them properly)
Avatar
Hmm no
3:27 PM
I don't have any luck with that usually
3:28 PM
But before we can run anything on the Kobo, we have to upgrade the kernel to at least v4.1
3:28 PM
Otherwise neither Debian nor Arch will run
Avatar
right
Avatar
so I'll look at the kernel sources and try to make a working kernel (which is very unlikely to run, but anyways) (edited)
3:31 PM
but btw, did you look up for the second tx/rx line? I'd really need that with kexec
3:31 PM
otherwise I likely won't be able to see the kernel log
3:32 PM
but do it when you have time, I don't want to bother you with that
3:52 PM
So yeah, you can connect it
3:52 PM
I couldn't figure out for sure the voltages
3:52 PM
But I guess it should be 3V3
3:52 PM
3.3V*
Avatar
yep it's that
3:52 PM
it didn't fry my Rpi up, so
Avatar
Well, the other option is 1.8v
3:53 PM
So if you send 1.8v instead of 3.3v to the rpi it would work
3:53 PM
But maybe not reliable
3:53 PM
Then if you send 3.3 instead of 1.8 to the kobo, well
3:53 PM
I don't think you'll fry it, though
Avatar
you mean it'd be possible to send tx/rx on one port?
Avatar
then I'd be fine with 3.3v everywhere, right?
Avatar
Well, wait
3:54 PM
The thing is, we're not actually sure it's 3.3
3:54 PM
It could be running at 1.8 and the rpi could catch it just fine
Avatar
but seeing web blog posts would confirm that it's 3.3
Avatar
I'll try them on my Glo HD
Avatar
I'm assuming it's 3.3
Avatar
again, not that bad if it fries up (edited)
Avatar
hahahaha
3:55 PM
It should work
3:56 PM
Also the max rating for those ports in the proc is 3.6, so you should be safe
3:56 PM
(there's a small corner case but I don't think it's the case here)
Avatar
ok, but how do I add a wire to the dupont connector?
3:56 PM
You might have to use another one
Avatar
And then you connect it as follows:
4:02 PM
Maybe
4:02 PM
If it fits
Avatar
two gnd?
4:03 PM
I think this is going to be better
4:03 PM
4:03 PM
And the connections you'd actually use are the ones with the arrows
Avatar
ooh
4:03 PM
ok that's nice
Avatar
(Dont mind the tip of the arrow, just where its pointing)
4:04 PM
back**
Avatar
doing school work right now, but as soon as my class finishes, I'll go and try to find another connector
Avatar
So it would pin pins #6, #8, 10, #12 and #14
Avatar
thx
Avatar
And you'd use #6, #8 and #10
4:04 PM
(Connect the cables)
4:04 PM
And you'd have a cable left over
Avatar
yeah
4:08 PM
[root@(none) ~]# ./kexec -l uImage --command-line="console=ttymxc0,115200 rootwait rw quiet lpj=3997696 root=/dev/mmcblk0p1 rootfstype=ext4 hwcfg_p=0x7ffffe00 hwcfg_sz=512 wave form_p=0x7ff0fa00 waveform_sz=984064 mem=255M rdinit=/sbin/init" --atags [root@(none) ~]# zcat /proc/config.gz | grep KEXEC CONFIG_KEXEC=y [root@(none) ~]# that's great. execution didn't quite work though, but guess we'll know more about it when I hook up the other tx/rx line
Avatar
ok, so I got the wires cut, going to connect that to the rpi
Avatar
Let's gooo
Avatar
Niice
Avatar
let's hope nothing will blow up... and I turn on the rpi
6:37 PM
i got input
6:37 PM
Let's gooo
Avatar
Nice C:
Avatar
hmm the rpi is sending a login shell which causes uboot to strangely behave do you know how to disable the login shell but keep serial enabled? (edited)
Avatar
raspi-config?
Avatar
no, you can only enable serial AND login shell
6:43 PM
oh ok
6:43 PM
wait
6:45 PM
I GOT A LOGIN PROMPT and I'm able to INPUT
Avatar
C:C:C:
Avatar
now the hard part is to connect it to the Mini
6:47 PM
(which will likely be impossible because I have to connect 3 wires)
6:48 PM
the glo hd it's easy because there's a recess under the holes
6:52 PM
ok, all things considered, I'm going to be trying to compile a new kernel for the GloHD, since accessing serial on the Mini is a nightmare
6:53 PM
probably gonna boot debian tonight or tommorow ^^
Avatar
ok so I got the serial hooked up and a new kernel compiled with the stock config. When it boots, there's an error (again)
7:37 PM
it seems it's related to cpu heavy load... though I don't think my Kobo is having a heavy load booting a kernel...
Avatar
ok so I gave up with the Glo HD and got back to the Mini I enlarged the toothpicks' tips and now they fit tight and keep the connectors put. kexec seems to work sometimes however, I can't interrupt the boot process and get to the u-boot shell like I could on my Glo HD. It seems that input only gets there when the kernel starts. any clue?
11:00 PM
yep, kexec once started but now it hangs at Uncompressing Linux... done, booting the kernel.
Avatar
What did you change?
Avatar
well nothing much... I don't even know why it decided to execute the kernel that time
Avatar
reconnected my Glo HD. got uboot console I tried with my Aura too and it didn't work. so strangely it's only the Glo HD
Avatar
Is there more than one port in the mini/aura?
Avatar
mini, no
11:30 PM
aura, yes there's one more
Avatar
I tested the Aura's other serial port, it doesn't output anything
Avatar
ok, inspecting the Mini's /dev shows that it has not only ttymxc0, but also ttymxc1 and ttymxc2...
11:59 PM
huh. kexec works now
11:59 PM
will restart and see if it was too good to be true
Avatar
If you can open ttymxc0 and see stuff in your rpi then it means you're in the right one
1:20 AM
I really think it's always the first one
Avatar
I wrote it horribly
2:17 AM
I mean that usually the first port is the one used for the kernel log
2:17 AM
And that if you have doubts you can try by opening ttymxc0 and sending stuff from to the rpi
2:24 AM
yep I checked it's ttymxc0
2:24 AM
it seems that the kernel has a driver for handling serial input but u-boot doesn't, only for output... that's sad
2:28 AM
anyways, I'll try compiling a newer kernel (probably 4.1 or 5.4) for the Mini, hoping that the config won't break it will have multiple fileystems options (squashfs, btrfs, etc.) + kexec if we can get it to work
Avatar
@dill actually you could access a serial console ... By hooking up the other end of the line to another Kobo ... And then access it from telnet
Avatar
ok so kernel 2.6.35.3-kobox is out! here's the uImage compatible with the Kobo Mini features:
  • Squashfs file system
  • NFS server/client
  • Btrfs
  • Kexec syscall + atags
  • ext2/ext3/ext4
  • usb otg
  • misc
(edited)
Avatar
Woah!
4:30 PM
How did you do it??
Avatar
i changed the menuconfig
4:47 PM
I tried with lots of new kernels, but none of them booted. I don't have enough skills to "port" the 2.6 kernel tree to a newer one, so guess we'll stick with that unless someone else has the knowledge... btw that was a really interesting read, we could use some tips provided in there for KoBox https://www.mobileread.com/forums/showthread.php?t=202262
Glo [WIP] Port of Kindle Paperwhite OS Kobo Developer's Corner
4:49 PM
2.54 MB
4:49 PM
here's the new one with usb-otg support
4:50 PM
Do you think I should create a thread on MR with that, like "The modded kernels thread" where I would publish the uImages of modded kernels for each Kobo model?
Avatar
Avatar
tux-linux
I tried with lots of new kernels, but none of them booted. I don't have enough skills to "port" the 2.6 kernel tree to a newer one, so guess we'll stick with that unless someone else has the knowledge... btw that was a really interesting read, we could use some tips provided in there for KoBox https://www.mobileread.com/forums/showthread.php?t=202262
WOT
5:04 PM
That's awesome
Avatar
Avatar
tux-linux
Do you think I should create a thread on MR with that, like "The modded kernels thread" where I would publish the uImages of modded kernels for each Kobo model?
Yes
5:04 PM
And I also think we should have a repo for this too
5:04 PM
Like starting off a clean working tree and keep all the modifications in different commits
5:04 PM
(make sure to have a working copy though hahaha)
5:05 PM
So that way (1) we can learn also and help without being (so) lost hahah and (2) keep track of things in case something goes wrong
5:06 PM
oh, btw, I still need to work on the image creation script
5:06 PM
But I don't think I'll have the time this days
5:06 PM
Maybe on monday :/
Avatar
Ok I'll do that! Thx
Avatar
Avatar
fermino
WOT
Why though? oh, you meant the MR thread, right? (edited)
Avatar
Avatar
fermino
oh, btw, I still need to work on the image creation script
I'm not sure we'll use it quite as it was planned. If I get real Alpine Linux booted on the Mini and somehow change the boot device, things could get ... interesting
Avatar
I'm also trying to build the KVM module so we can run a newer kernel with QEMU/KVM so it shouldn't be too slow
Avatar
Avatar
tux-linux
Why though? oh, you meant the MR thread, right? (edited)
Yeap, the kindle thing
Avatar
still, kvm would be awesome if it worked
6:16 PM
In the meantime I can still put some time in the chroot method
Avatar
imagine like # uname -a linux kobo 5.11.1-kobo
6:16 PM
yep
Avatar
Which would be a good fit for some people
Avatar
especially for emmcs
6:16 PM
still didn't figure out how to access the u-boot console on my mini
Avatar
OK so I got Debian 7 on my Mini almost boots but hangs there: (edited)
Avatar
I found some mailing list here, but don't know how it should be fixed... https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648325
Avatar
For the pastes you may want to use pv.olaiz.net
6:53 PM
I'll take a look at the link
Avatar
oh yeah, will try it out next time! there's also tpaste.us which I like too
6:55 PM
What debian version is it?
Avatar
wheezy
6:55 PM
(7)
6:55 PM
newer would likely not be able to boot due to the older kernel
Avatar
Right
6:58 PM
:/
Avatar
I'll try with Debian 6 on another microSD
Avatar
hmm we'll enable that (?
7:08 PM
7:08 PM
that too
7:08 PM
Avatar
Hahahaha
7:19 PM
Nice
7:19 PM
If it boots it will probably work
Avatar
we'll hope
7:19 PM
anyways I'll boot it soon, it's finishing compiling now
7:21 PM
and... nope, it didn't. But I probably overloaded it with a gazilion options, so I'll try again just with the sound thing
Avatar
ok, got Debian 6 booted. no udevd error thing but it hangs the serial as soon as the green light stops blinking also, there doesn't seem to be a ttymxc0 device node in /dev...
Avatar
Any other tty*?
Avatar
yep, lots
8:01 PM
oh no (edited)
8:02 PM
i mistakenly did ls /dev on my host machine
8:02 PM
wait a sec
8:04 PM
not much in fact: [admin@phoenix sd]# ls dev console fd full initctl null ptmx pts random shm stderr stdin stdout tty urandom zero [admin@phoenix sd]#
8:04 PM
but maybe that udev handles the creation of the device nodes on boot... so I don't know
Avatar
What about tty?
Avatar
hmm idk, what would it do? on kobo it's ttymxc0
Avatar
You can give it a shot
8:06 PM
Maybe by opening it and trying to send something to the rpi? (edited)
Avatar
huh what?
Avatar
Try it out*
8:07 PM
hahaha
Avatar
yeah, but how? the boot process hangs and I can't input anything
8:07 PM
the ls /dev came from my Linux PC
Avatar
From the kobo itself
8:08 PM
You're telnetting into the kobo, right?
8:08 PM
serial
Avatar
From the rpi?
Avatar
yes
Avatar
Avatar
tux-linux
yeah, but how? the boot process hangs and I can't input anything
I'm lost with this then
8:09 PM
Are you talking about a different kernel build?
Avatar
yes, it's my custom one
8:09 PM
should I try with the default?
Avatar
I guess
8:09 PM
What is the problem, though?
8:10 PM
You're already inside debian, right?
Avatar
hmm yeah, wait... I remember that the serial too didn't work on the stock firmware once the green light stopped blinking...
8:10 PM
no it didn't boot up
Avatar
OH, you're talking about two different builds then
8:10 PM
It's probably because the kernel releases it after booting
8:11 PM
And so (1) it doesn't echo back what you send to it and (2) it doesn't send anything at all xD
8:11 PM
Maybe there's an option to enable the shell on the serial port (edited)
Avatar
yeah, basically 1. u-boot >> no input, but output 2. linux boots >> input, output 3. systemd starts up debian >> input, output and as soon as the green light stop flashing, no output nor input
8:12 PM
I'll try reimaging the sd, upgrading to latest firmware with latest hwcfg and mbr shenanigans, and then creating one ext2 partition for root and debootstrap debian into it
Avatar
Avatar
fermino
Maybe there's an option to enable the shell on the serial port (edited)
https://wiki.debian.org/EmDebian/CrossDebootstrap yep, it's there, but I forgot to make the device node. I don't think it's the problem though because the bootlog hung before a serial console could've been there, from what I could tell (edited)
8:20 PM
and giving that an after-thought, Debian 7 could maybe boot if the udevd error isn't fatal... because it hung too and I thought that that was what was causing the error...
Avatar
ok, got a login prompt, it was the kernel then.
8:57 PM
probably some menuconfig bug that I didn't see
Avatar
Yeeeeeey :D
10:27 PM
What did you change?
Avatar
I think it was a devtmpfs menuconfig option that didn't work
10:28 PM
now I'm trying debian 7
Avatar
Avatar
tux-linux
ok so kernel 2.6.35.3-kobox is out! here's the uImage compatible with the Kobo Mini features:
  • Squashfs file system
  • NFS server/client
  • Btrfs
  • Kexec syscall + atags
  • ext2/ext3/ext4
  • usb otg
  • misc
(edited)
great! so now KoBox works on the Mini?
12:24 AM
it's just that I added features to the kernel
12:24 AM
and btw it's not the right one. I'll upload another now
Avatar
that should work. has all the previous features mentioned, except usb-otg
2.01 MB
12:27 AM
so i dd?
Avatar
yep, as usual
12:28 AM
you'll be able to pack more book as you'll be able to mount squashfs
12:28 AM
Squashfs is a compressed read-only file system for Linux. Squashfs compresses files, inodes and directories, and supports block sizes from 4 KiB up to 1 MiB for greater compression. Several compression algorithms are supported. Squashfs is also the name of free software, licensed under the GPL, for accessing Squashfs filesystems. Squashfs is int...
12:28 AM
also, NFS is supported
12:28 AM
cool!
Avatar
it's like a mountable tar.xz archive
12:28 AM
or tar.gz
12:29 AM
be right back
Avatar
did you get it flashed?
Avatar
I'm curious, where are you getting the kernel sources?
Avatar
Contribute to kobolabs/Kobo-Reader development by creating an account on GitHub.
Avatar
ok, so I tried compiling a new kernel for my Glo HD, and got this panic: https://pv.olaiz.net/?fd06e116e87dfc09#HsWBPEApBLcsQkgjKh5TsDCzcA2C2W87J5rahwawJYAY thanks for your help and sorry if it seems I only get kernel panics and it bothers you........ 🙂
Avatar
It doesn't bother, not at all! I might not respond much because we're getting everything ready for the trip back home
3:26 AM
So Im going to be away for this couple of days
3:27 AM
"Unable to handle kernel NULL pointer dereference at virtual address 0000005f pgd = 80004000"
3:27 AM
I'll look it up
Avatar
The error is not super easy to track :/ it means the kernel is trying to access a pointer with address NULL (= no address)
3:35 AM
I'd try to disable all modules that are non essential
Avatar
I'll try with the stock config then
3:39 AM
I enabled devtmpfs for debian 8, we'll see if that's the culprit
Avatar
Avatar
fermino
It doesn't bother, not at all! I might not respond much because we're getting everything ready for the trip back home
Right, be ready to hook up serial to your Clara HD 😉 We'll need it a lot for testing on mk. 7 devices...
4:00 AM
I forgot to send it, I found this
Avatar
no, initramfs is disabled in kernel
4:01 AM
I'm compiling with NickelTC now, we'll see if it makes any difference
4:05 AM
oh, now it works
4:05 AM
I'll try with CONFIG_DEVTMPFS
4:09 AM
Spacebar stops the uboot and gets you the uboot command line. Ha! Not sure I tried that key yet on my Aura & Mini... https://forum.xda-developers.com/t/kobo-aura.3932621/ (edited)
I know this forum is all things Nook, but maybe you die-hard Nookies might be interested... (If it is interesting and it goes somewhere it should be a different forum.) Walmart is selling the Kobo Aura (Edition 2) for $69.99 Yup, this is the...
Avatar
that also was a very, very interesting read if you didn't see it already: https://libreplanet.org/wiki/Group:Hardware/research/e-readers/Kobo/Aura_H2O_Edition_2
Avatar
@tux-linux what command do i use for dd
Avatar
dd if=uImage of=/dev/mmcblk0 bs=512 seek=2048
5:02 AM
and then sync and reboot
5:02 AM
thanks
Avatar
report back if it works!
Avatar
i have both of these... will they conflict?
Avatar
if they are not the same name, no
5:03 AM
but you can remove them both and only put the new one
Avatar
Test this sqsh after to see if the squashfs option worked well. mount hi.sqsh /mnt/user
Avatar
rebooting
Avatar
yep, all good
Avatar
...it's not connecting to my PC
5:10 AM
it shows connected and charging, but the pc refuses to recognize it
Avatar
huh
Avatar
i'll ftp
Avatar
can you stil access it with telnet/ssh?
Avatar
i think so
Avatar
that may be an unwanted side-effect
Avatar
maybe the usb cable is faulty
Avatar
anyways, if you can still transfer via ftp, you're good
5:11 AM
or you could even base64 the file and copy-paste via telnet haha
Avatar
i try to connect with usb, then i unplug without ejecting because no way to eject... but then it reboots
Avatar
ok definitely kernel problem then :/
Avatar
can you telnet still?
Avatar
i'll dd the uImage-orig
Avatar
wait
5:14 AM
ok nvm I'll debug that on my Mini later on
Avatar
scanning for networks, but not working
Avatar
But I'd still keep the kernel if I was you squashfs offers some big advantages and ftp on my side would not be a big hassle but do it how you want! and hopefully I'll get this usb issue sorted out
5:15 AM
ooooohh that's because the module was not compiled
5:15 AM
that's easily fixable
5:15 AM
I'll send you a txz of the modules that you'll replace in /drivers later
Avatar
but yeah, now it's a better idea to reflash this uimage-orig after giving it an after-thought
Avatar
no idea how, other than taking out the sd
Avatar
yep
5:16 AM
but no
5:16 AM
oh
5:16 AM
hmm wait, I'll send you some modules now (edited)
Avatar
i'll just reboot and see
5:16 AM
taking out the sd is pretty easy now
Avatar
yep, but flashing won't be on windows unless it passes through the devices
Avatar
i'm just gonna hard reset
Avatar
oh you could, true
Avatar
i have a backup image of my mini
5:18 AM
so i'll just etch that
Avatar
but theoritically you could just hit the reset button on the device and it'd work
5:18 AM
or devmodeon then Device Information > Developer options > factory reset
Avatar
nope, i tried that so many times in the past... my mini just rebots :\
5:18 AM
ok, devmode
Avatar
yeah reset button doesn't work well on mine either
5:19 AM
but devmode on reset does like a charm though
5:19 AM
resetting, and i have to go :/
Avatar
ok, bye!
Avatar
so please PM me the modules, (or debug) and I'll test that on my Mini
5:20 AM
bye!
Avatar
okk
5:20 AM
bye
6:00 AM
Debian 8 on the Glo HD!
6:01 AM
who said that a Kobo couldn't run systemd?
Avatar
tomorrow I'll try Alpine Linux
Avatar
ok, so I got Alpine running. OpenRC starts up but complains about missing /dev/tty* devices and I can't get to a login prompt. I'll investigate on this and come back when I hopefully get something working...! (edited)
Avatar
debian!!
8:29 PM
niceeee
8:30 PM
@tux-linux is there a fix for the mini kernel yet? just asking, squashfs would be amazing
Avatar
well, it's coming up, maybe tonight, 7-8PM EST
8:35 PM
for now I got Alpine running! and a serial console!
8:35 PM
will post bootlog soon (edited)
8:37 PM
on what device?
Avatar
Avatar
tux-linux
well, it's coming up, maybe tonight, 7-8PM EST
no rush :)
Avatar
on the Glo HD
8:41 PM
should work on the Mini too, haven't tested it yet
8:44 PM
i can test on mini rn if you want
Avatar
Avatar
tux-linux
should work on the Mini too, haven't tested it yet
would it be a uImage or a disk image?
8:52 PM
and would i have to flash the image, or just mount it like kobox
Avatar
no it'd be a complete SD image
9:14 PM
you wouldn't have access to Nickel anymore (well, dual-boot is possible, but that needs to be further investigated)
Avatar
Avatar
dill
i can test on mini rn if you want
no you couldn't (well you wouldn't see any progress) because it needs to be hooked up to serial to see any results
9:16 PM
though, you could access serial by finding three wires and hooking up your Aura's serial port to the Mini's one. then, microcom on the Aura via SSH and you'd have serial access to the Mini (edited)
Avatar
aura is unopenable...
9:17 PM
well then, you'd be stuck with a blinking light and a blank screen
Avatar
yeah, because it has extremely tiny screws
9:17 PM
dang
Avatar
how tiny?
Avatar
less than 1mm
9:18 PM
and they're six sided too
Avatar
ouuch
9:18 PM
that hurts
9:18 PM
it was painful when the usb port broke, i paid 70 bucks to get it fixed
Avatar
where did it get fixed?
Avatar
had to bring it to a repair place
Avatar
that hurts too
Avatar
definitely
Avatar
but couldn't you have asked the repair people how they opened it? xD (edited)
Avatar
it was my dad who got it fixed so idk
9:20 PM
it's an aura h2o v2?
9:20 PM
gotta go bye
Avatar
bye
Avatar
Well...
11:39 PM
Avatar
NICEEEE
11:40 PM
any repo yet?
Avatar
-rw-r--r-- 1 fermino fermino 4.8M Feb 20 19:39 84a5702-1G.img.txz
11:40 PM
Not yet, but I'll upload it soon
Avatar
great!
11:40 PM
There are all zeroes, right? xD
Avatar
Would you mind giving it a shot? I need to go do a couple of things but I have an image ready
Avatar
sure! it'd be a life saver, setupping all of those Kobos each time it breaks is a pain (edited)
Avatar
That's it
11:43 PM
So, the idea is that every time we push to master, it will trigger this script in the server, which would build the images and publish them in an http server
11:43 PM
I'm uploading the img rn
Avatar
also, if you could please help me with that....... MODPOST vmlinux.o GEN .version CC init/main.o CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_initrd.o LD init/mounts.o CC init/initramfs.o CC init/calibrate.o LD init/built-in.o LD .tmp_vmlinux1 /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: sound/built-in.o: in function `usb_audio_disconnect': card.c:(.text+0x33c20): undefined reference to `switch_set_state' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: card.c:(.text+0x33c28): undefined reference to `switch_dev_unregister' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: sound/built-in.o: in function `usb_audio_probe': card.c:(.text+0x342c0): undefined reference to `switch_dev_register' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: card.c:(.text+0x34340): undefined reference to `switch_set_state' make: *** [Makefile:873: .tmp_vmlinux1] Error 1 make ARCH=arm CROSS_COMPILE=arm-nickel-linux-gnueabihf- uImage 396.11s user 59.90s system 106% cpu 7:10.15 total 2 nicolas@archiso ..Kobo-Reader/hw/imx6sl-glohd/kernel_imx (git)-[master] % like this appeared from absolutely nowhere when building 3.0.35 for the Glo HD
Avatar
And yeah, it shoould work, I still have some doubts about a file ownership thing but it should work anyways
Avatar
Avatar
fermino
So, the idea is that every time we push to master, it will trigger this script in the server, which would build the images and publish them in an http server
yep that's nice
Avatar
hahaha
11:45 PM
did you do a make clean before compiling?
11:45 PM
That happens because the linker (the one that links already compiled files) can't file some functions that are supposed to be defined in an already compiled file
Avatar
Avatar
tux-linux
also, if you could please help me with that....... MODPOST vmlinux.o GEN .version CC init/main.o CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o CC init/do_mounts.o CC init/do_mounts_initrd.o LD init/mounts.o CC init/initramfs.o CC init/calibrate.o LD init/built-in.o LD .tmp_vmlinux1 /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: sound/built-in.o: in function `usb_audio_disconnect': card.c:(.text+0x33c20): undefined reference to `switch_set_state' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: card.c:(.text+0x33c28): undefined reference to `switch_dev_unregister' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: sound/built-in.o: in function `usb_audio_probe': card.c:(.text+0x342c0): undefined reference to `switch_dev_register' /run/media/nicolas/b0efede0-edb5-4be4-a03e-ada6e449e2d5/kobo-qemu/Toolchain/nickeltc/arm-nickel-linux-gnueabihf/bin/arm-nickel-linux-gnueabihf-ld.bfd: card.c:(.text+0x34340): undefined reference to `switch_set_state' make: *** [Makefile:873: .tmp_vmlinux1] Error 1 make ARCH=arm CROSS_COMPILE=arm-nickel-linux-gnueabihf- uImage 396.11s user 59.90s system 106% cpu 7:10.15 total 2 nicolas@archiso ..Kobo-Reader/hw/imx6sl-glohd/kernel_imx (git)-[master] % like this appeared from absolutely nowhere when building 3.0.35 for the Glo HD
disable the sound module
11:45 PM
it's either sound or usb-otg
Avatar
hmm no, but never got errors with that before
11:45 PM
ok
11:45 PM
I'll try a make clean with the same config, then disabling the usb/sound modules if it doesn't work
11:49 PM
oh btw, the resolv.conf is still missing, as it's actually building from master in the repo
Avatar
shouldn't be to worry
11:50 PM
it's created when we chroot in, or... oh yeah, could be a good idea just to touch it if we want to bind-mount...
Avatar
That's why I made the issue the other day
11:51 PM
tbh we could make an "installer", a script that sets everything up and cp's the resolv config, but in the meantime we can just do it manually/add it in the repo
Avatar
yeah
11:51 PM
also, you could add your script to the bootstrap repo, it has a good place there I think 🙂
11:51 PM
I'll do
Avatar
nice
Avatar
But first it needs to work xD
Avatar
yeah, of course you might as well add a "WIP - Experimental, could turn your Kobo into a time bomb" or the like haha (edited)
Avatar
hahahah yeah
Avatar
Well, my connection is unusable :c
Avatar
I can't even post the file
Avatar
maybe send the script here in Discord and I'll upload it myself (crediting you of course)
Avatar
That's fine! I can use git, though
12:02 AM
But uploading the 5M file is too much
Avatar
Hmm mksquashfs <file.txz> archive.sqsh -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
12:03 AM
that should reduce the size of the txz I use that to create my Archiso's squashfs root
Avatar
I have to install it first D:
12:04 AM
hahaha
12:04 AM
i think the pkg size is like 1M
Avatar
is not even on the repos ._.
Avatar
squashfs-tools ?
Avatar
oh, that
12:05 AM
There we go, thx
Avatar
Avatar
tux-linux
that should reduce the size of the txz I use that to create my Archiso's squashfs root
FWIW, it compresses a 8G filesystem into a 2.6G mountable read-only archive
Avatar
Almost same filesize
12:06 AM
bc it's already super compressed
Avatar
oh then your xz did well its job
Avatar
but... I mean. could you tell git to push and even wait hours for it to complete, or is it just stuck there?
12:07 AM
and also if you could provide the script it'd be enough for me I think
Avatar
I'm pushing rn to the repo
Avatar
There's one thing I couldn't figure out, maybe you can help me with that
Avatar
yep?
Avatar
When the image is created, the uid for it is root
Avatar
So, when I mount it with udisksctl, even if I can mount as a normal user, I can't create folders inside it
12:11 AM
The dirty workaround is to create all necessary folders under / in the image, and chown them to the user running the script
12:12 AM
BUT it is not technically correct either
Avatar
well what are the files in the root of the image owned by?
Avatar
Here's the thing, they should be owned by root
Avatar
if they are owned by root, then a normal user sure won't be able to create anything inside
12:12 AM
oh
Avatar
if not, when you access the image from the chroot, it would show another UID
12:13 AM
(it would not be a problem, I think, but still)
Avatar
well that's strange
Avatar
And the thing is that running a deploying script like this as root is a no go
Avatar
fakeroot ?
12:13 AM
you compress it into a txz after... should do the trick
12:14 AM
Maybe if we do the compression inside the fakeroot
12:14 AM
Yeah, that's probably going to work
Avatar
yep, that's what makepkg always does
12:14 AM
Entering fakeroot...
12:15 AM
Well...
12:15 AM
Hm... No
12:15 AM
Here's the thing, the .img files are still being mounted by root
Avatar
FUSE?
Avatar
Yeah, I should look at it
12:16 AM
In any case, I have to leave
12:17 AM
see you later!
Avatar
see ya!
12:19 AM
Well, the easy workaround is a cron the fixes them
12:19 AM
And compresses them
Avatar
cron ? huh, what?
Avatar
Yeah, it will not be pretty but it will work well hahaha
Avatar
but what do you mean exactly?
Avatar
a cron that runs as root that mounts the images, chowns everything and then sends it to the final server
Avatar
oh yeah
12:20 AM
but you should try FUSE, shouldn't be that hard to set up (well I know we're all reluctant when new things like that come into play, but... we have to experiment with them... although I'm definitely not a fan of snaps haha)
Avatar
the thing is
12:21 AM
~time~
12:21 AM
hahahah
Avatar
yeahhhhh
12:22 AM
but to give you an idea, here's how to mount a squashfs with fuse: squashfuse $HOME/Documents/fonts.sqsh /usr/share/fonts/additional
Avatar
Then, with fuse
12:22 AM
Can a normal user have full control over a filesystem?
12:22 AM
Even modifying the file owner?
Avatar
i think so, yes
12:23 AM
Filesystem in User SpacE
12:24 AM
but then, why not just mount the image with sudo?
12:24 AM
shouldn't do that much harm
Avatar
because it's triggered through a webhook
12:24 AM
= an http endpoint
12:25 AM
So a webserver, publicly accessible should never ever be running as root
Avatar
yeah, ok....
12:25 AM
then set up a QEMU virtual machine and mount the img there edit: no it's wayy too overkill (edited)
Avatar
Because at the slightest bug or anything whoever person could take advantage of that
12:25 AM
I'll go with fuse
12:25 AM
HAHAHA
Avatar
yep, should be better
12:26 AM
fuse+fakeroot should to the trick
Avatar
The Modded Kernels Thread Kobo Reader
A set of enhanced kernels for various Kobo devices
1:01 AM
@fermino now that NFS support is enabled in-kernel, we should be able to host some sort of git instance on the Kobo!
Avatar
@OfficerAction OK, so as a side-project more or less related to KoBox: Since I had success running Alpine Linux entirely on the Kobo, I'd like to develop myself an embedded system for my Kobo using a coughs recent Qt framework and Qt Web Engine. It would probably include an open-source reader framework or in-house developed one. I.e. an open source Nickel. Since your Manga reader was in Qt, I think you're the one who knows most about it in this server. So, I have some questions for you (and to anyone who knows about an answer); 1. On what system should it be run? I think Alpine is fine, but I don't know if musl-libc is ideal for it... but also, I've seen Yocto and BuildRoot, those seem pretty interesting... 2. What's the learning curve? I know some Python and C. Qt is mostly C++, right? Don't worry, if you say "very hard" I'll give it a try anyways I think haha 3. any other recommendations/warning/emergencies like "doooon't do thiiss" or the like? thanks! (edited)
Avatar
OfficerAction 2/21/2021 5:17 PM
hey
5:19 PM
qt is not so hard and c++ is quite steep but once you can work with it it will make life much easier compared to c. Especially memory management was impossible on UMR before I was using smart pointers, crashes everywhere.
5:22 PM
I am running on the latest gcc and qt framework so that is for the the stock kobo kernel, you can just use them as is.
5:24 PM
qtwebengine is another story, but it might even be possible to just use the musl qtwebengine together with the rest if musl is linked statically. something I wanted to try for some time (edited)
5:27 PM
my suggestion is to just stick with the stock kernel since it makes everything much simpler
5:30 PM
i found qtcreator to be actually quite usefull for developing, since you can swich targets (kobo or desktop) with just one click and testing apps is also as easy. one click and it will build the app, transfer it to the kobo and run it. (edited)
Avatar
Avatar
OfficerAction
my suggestion is to just stick with the stock kernel since it makes everything much simpler
that is actually mandatory for the device to even boot, as compiling other kernels is just... a pain, you have to backport drivers and all of that... but I'll use the stock kernel, perhaps with a few options added to the config. I'm planning to build for the Mini and up, so GCC 10 won't do as it doesn't like the 2.6.35.3 kernel the Mini has. I'll likely use GCC 8 So should I stick with Alpine, or Buildroot/Yocto with OpenRC and maybe glibc instead of musl-libc or uclibc-ng? also, could you provide me a simple "Hello World" like program (qt) which would just print "Hello World" centered on the screen? that would help me, really and maybe lead me to install missing things if they are. again, thanks for your time and your response!
Avatar
that seems like a good place to start for qt on kobos (qt5 is also there) what do you think? https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/Building-QT-for-i-MX6/ta-p/1111319 (edited)
Prerequisites: The build is verified on prebuilt rootfs(based on LTIB) which can be downloaded from freescale.com EGL uses framebuffer backend libEGL.so -> libEGL-fb.so libGAL.so -> libGAL-fb.so QT4.8 1. Download the git respository for qt4.8: $ git clone http://git.gitorious.org/qt/qt.git qt $ c...
Avatar
OfficerAction 2/21/2021 7:31 PM
hey
7:31 PM
im not sure why you want to setup your own system with alpine, ect...
7:32 PM
just use the crosscompiler from the xtoolchain repo its all you neend
Avatar
I'd like to have a proper service manager and truly choose what I'm including in it
Avatar
OfficerAction 2/21/2021 7:33 PM
ok up to you ofc
Avatar
and make all the rootfs open source
Avatar
OfficerAction 2/21/2021 7:33 PM
the umr repo has instructions on how to compile qt for kobo
Avatar
but what's "umr"?
Avatar
OfficerAction 2/21/2021 7:34 PM
ultimate manga reader
Avatar
ohhh
7:34 PM
that's great, I'll look into it
Avatar
OfficerAction 2/21/2021 7:34 PM
also you will need platform plugin for kobo
Avatar
A Qt5 platform backend plugin for Kobo E-Ink devices. - Rain92/qt5-kobo-platform-plugin
Avatar
OfficerAction 2/21/2021 7:35 PM
i also have a repo for that but it's not certain if it will work for the mini out of the box maybe you will need to make some adjustments
7:35 PM
yep
Avatar
Avatar
OfficerAction
i also have a repo for that but it's not certain if it will work for the mini out of the box maybe you will need to make some adjustments
sure, I'm prepared it's pretty sure it'll throw at me an error that didn't even existed 3 seconds before (no offense) (edited)
7:36 PM
but I'm ready
Avatar
OfficerAction 2/21/2021 7:36 PM
most likely there wont be an error but the touchscreen inputs are off
7:37 PM
well maybe i can help you fix that if its needed
Avatar
thanks. so 1. get alpine/yocto/buildroot up and running 2. compile Qt platform plugin 3. Put libraries/binaries in rootfs 4. compile program with qmake/make or qtcreator 5. run the program and fix the trillion issues that (with my IT bad luck) will likely come with it 6. start creating an UI and hopefully don't give up
7:39 PM
right?
Avatar
OfficerAction 2/21/2021 7:39 PM
sounds right
Avatar
ok so I'll start to try things out will come back (hopefully) when I get the platform plugin compiled and the kobo running thanks again
7:41 PM
humm... which toolchain to use? maybe koxtoolchain?
Avatar
OfficerAction 2/21/2021 7:41 PM
koxtoolchain is what i am using
7:42 PM
its basically crosstool-ng with a nice config for kobos
Avatar
yep So I'll go with that for Qt, and for the rootfs I'll use the stock one provided by yocto/buildroot if I go with that
7:43 PM
thx
Avatar
OfficerAction 2/21/2021 7:44 PM
you can just try with the stock kobo first. it will also work.
Avatar
also
7:44 PM
I'll see
Avatar
OfficerAction 2/21/2021 7:46 PM
and btw I have a strong feeling gcc 10 will also work for you because umr is built with that and it's also running on older devices afik 😉
Avatar
maybe... but Alpine's musl-libc causes busybox to segfault on the Mini and if recompiled with gcc-8 it doesn't segfault anymore
Avatar
OfficerAction 2/21/2021 7:47 PM
🤷
Avatar
but maybe it's just musl-libc the problem too
Avatar
OfficerAction 2/21/2021 7:47 PM
maybe
7:48 PM
i can give you an scribble app you can use that for testing
7:52 PM
7:52 PM
thats basically as hello world with gui as it gets 😉
Avatar
nice!
8:03 PM
thanks
8:04 PM
will touch input work?
Avatar
OfficerAction 2/21/2021 8:04 PM
touchinputs are handled by the platform plugin
8:04 PM
that's nice
8:05 PM
I won't have to bother too much with that then
Avatar
OfficerAction 2/21/2021 8:05 PM
yea after you get it running 😉
Avatar
of course...
Avatar
That's going to be fun
Avatar
whistles
4:12 AM
niiice
4:12 AM
3 serial connections?
Avatar
btw kernel for the mini is ready
4:12 AM
it'll be there soon
Avatar
i can test it rn
Avatar
but no wifi for now, you should get usbms running fine though
Avatar
Avatar
dill
3 serial connections?
RX, TX, GND receive, transmit, ground
4:13 AM
I'll upload the kernel to Gitea now
Avatar
ah i see
4:14 AM
connected to a rasp pi?
4:14 AM
i have an arduino, can i set up a serial with that
Avatar
yes wait a sec need to fix something
Avatar
ok fine I thought I fried my serial connection because I wasn't able to input anything
4:17 AM
fortunately it's not
Avatar
ok it's uploading
Avatar
no Gitea should be there soon
4:26 AM
👍
Avatar
You might find useful adding these lines to the (end) of the rcS: insmod /drivers/<path to driver, e.g. arcotg_udc.ko> insmod /drivers/<path to driver, e.g. g_ether.ko> ifconfig usb0 192.168.2.2 (edited)
4:28 AM
Avatar
/etc/rcS, right? (edited)
Avatar
/etc/init.d/rcS (edited)
Avatar
it will enable usbnet and when you'll connect the device to a computer, you'll be able to telnet it via usb
4:29 AM
(or ssh)
Avatar
i get the uimage from /mini/kernel right
4:32 AM
and then dd
Avatar
yeah
4:32 AM
BUT
4:32 AM
install the modules before you reboot
4:32 AM
otherwise usbnet will not work
4:33 AM
like replace /drivers/imx508 or something like that/arcotg_udc.ko with the provided kernel module in the txz archive
Avatar
oh i get it
4:33 AM
alright
4:33 AM
over ftp?
Avatar
well, yes, but you could copy them to /mnt/onboard and them cp in telnet
Avatar
also i have no idea how to download over gitea 😅
Avatar
there's a little download button there
4:34 AM
Avatar
i pressed view raw and it started downloading
Avatar
well you can
Avatar
dd if=/mnt/onboard/uImage of=/dev/mmcblk0 seek=2048 bs=512, right?
Avatar
yeah
4:41 AM
im learning :D
Avatar
you put the modules in the right place?
Avatar
how do i do that
4:41 AM
read the readme
Avatar
did i miss an arg?
4:47 AM
in the tar.xz the folder is named "modules/
Avatar
oh yeah, doesn't matter
4:48 AM
i'll update the readme
4:48 AM
just to confirm, this is the contents of modules/?
Avatar
yep
4:49 AM
copy only the modules you need
4:49 AM
inspect /drivers and replace them if they are there
4:49 AM
I included the others, but some are not needed
Avatar
and do i copy modules/, or the contents of modules/?
Avatar
the contents
4:50 AM
like if a /drivers/imx508-whatever/g_ether.ko is there, replace the g_ether.ko with the one in the tar.xz
Avatar
which one
Avatar
ntx508
Avatar
if a module is already there do i replace it
Avatar
yes
4:58 AM
you must replace it or it won't run
4:58 AM
i have no idea where to put some of these
Avatar
if they're not already in the folders, then they're not needed (edited)
4:59 AM
so i only replace
Avatar
yes
Avatar
just dd'ed
Avatar
sync && reboot
Avatar
and cross your fingers
5:03 AM
yep
5:03 AM
you read my mind
Avatar
haha yes
Avatar
yaaay its booting
Avatar
good sign
Avatar
seens to be a bit of a small e-ink render error
Avatar
ooooh i think that's because I enabled auto-update
5:04 AM
like it's useful for Xorg
5:04 AM
but yeah, I know what you mean
5:05 AM
so auto refresh on eink?
Avatar
I'll disable it and publish another version
Avatar
how do i disable it rn
Avatar
no way
Avatar
i have to go
5:05 AM
i can live with it dont worry
Avatar
like it's in the .config file
Avatar
not that big
Avatar
but I'll change it soon
Avatar
bye
5:05 AM
im gonna do hi.sqsh first
Avatar
you can actually telnet?
5:06 AM
i'll use konsole
Avatar
oooh yeah
5:06 AM
well that should work no problem
5:06 AM
you'll see how it's useful
Avatar
what cmd
Avatar
something like mount hi.sqsh /mnt/user
5:07 AM
xz compression with that compressed an 8G filesystem into a 2.6G one
Avatar
never mind i forgot to update kfmon
Avatar
gtg, i'll try tmro
5:08 AM
bye
Avatar
it should be possible with usbms
5:08 AM
bye
Avatar
@OfficerAction do you have any pointers to build Qt for musl? I tried, but everything seems designed as if I had to use glibc. Also, Cmake gave me unrecognized options errors while trying to configure. Thanks!
Avatar
Avatar
tux-linux
@OfficerAction do you have any pointers to build Qt for musl? I tried, but everything seems designed as if I had to use glibc. Also, Cmake gave me unrecognized options errors while trying to configure. Thanks!
OfficerAction 2/23/2021 12:33 PM
Hey for clarification: the libc that it beeing linked to is the one that the toolchain is using. so its glibc for the koxtoolchain. if you want musl you just do the same build but with the musl cross toolchain.
12:34 PM
alternatively you can also configure the koxtoolchain for musl but than you have to rebuild the whole thing
Avatar
Avatar
OfficerAction
Hey for clarification: the libc that it beeing linked to is the one that the toolchain is using. so its glibc for the koxtoolchain. if you want musl you just do the same build but with the musl cross toolchain.
Yeah, I used a musl cross toolchain. Well I didn't get that far, because in fact CMake have me errors like "-verbose : option not found" When I saw that I thought CMake was having a really bad time (edited)
1:35 PM
The armv7l one from there : https://musl.cc/
musl.cc provides static cross- and native- musl-based toolchains for Linux, Windows, and macOS, targeting architectures like ARM, MIPS, PowerPC, RISC-V, S/390, and more.
1:36 PM
Also, looking at the mkspec folder your mentioned, everything seems to be prepared for a glibc build
Avatar
ok, so configuring with this command outputs that
1:56 PM
then it says the same thing for "-verbose", I remove the two and it says CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:472 (message): Assigning unknown variable 'OPENSSL_PREFIX' on command line. also, I changed the -xplatform flag now and added the mmusl option
Avatar
tried to do it step-by-step ./configure -nomake tests -prefix /mnt/onboard/.adds/${QTDIR} -extprefix /home/${USER}/qt-bin/${QTDIR} -xplatform linux-kobo-musleabihf-g++ -sysroot ${SYSROOT} -qt-libjpeg -qt-zlib -qt-libpng -qt-harfbuzz -qt-pcre -sql-sqlite -linuxfb -no-sse2 -no-xcb -no-xcb-xlib -no-tslib -no-icu -no-dbus -nomake examples -no-compile-examples -openssl-linked OPENSSL_PREFIX="${SYSROOT}/usr/lib" + cd qtbase + /home/nicolas/qt/qt/qt5/qtbase/configure -top-level -nomake tests -prefix /mnt/onboard/.adds/qt-linux-5.15.2-kobo -extprefix /home/nicolas/qt-bin/qt-linux-5.15.2-kobo -xplatform linux-kobo-musleabihf-g++ -sysroot /home/nicolas/qt/sysroot -qt-libjpeg -qt-zlib -qt-libpng -qt-harfbuzz -qt-pcre -sql-sqlite -linuxfb -no-sse2 -no-xcb -no-xcb-xlib -no-tslib -no-icu -no-dbus -nomake examples -no-compile-examples -openssl-linked OPENSSL_PREFIX=/home/nicolas/qt/sysroot/usr/lib opt: libjpeg val: qt Overriding option 'libjpeg' with 'qt' (was: 'undefined') opt: zlib val: qt opt: libpng val: qt Overriding option 'libpng' with 'qt' (was: 'undefined') opt: harfbuzz val: qt Overriding option 'harfbuzz' with 'qt' (was: 'undefined') opt: pcre val: qt CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:227 (message): Unknown command line option '-no-compile-examples'. Call Stack (most recent call first): qtbase/cmake/QtProcessConfigureArgs.cmake:531 (qtConfAddError) you, see I'm damned
Avatar
ha... suddenly building LFS for my Kobo seems very tempting...
Avatar
OfficerAction 2/23/2021 2:29 PM
did you add a mkspec for linux-kobo-musleabihf-g++ ?
Avatar
yes
Avatar
OfficerAction 2/23/2021 2:33 PM
something is very strange there..
Avatar
as always with me
Avatar
OfficerAction 2/23/2021 2:34 PM
are you calling that in the qtbase dir
Avatar
yes
2:34 PM
I also tried in the qt5 main dir
Avatar
OfficerAction 2/23/2021 2:34 PM
because you have to do that in the main qt dir
Avatar
yeah, didn't work either
Avatar
OfficerAction 2/23/2021 2:35 PM
well it should tho 😂
2:35 PM
maybe you have to refresh the dir (extract it again from the archive)
Avatar
I already did a git clean
Avatar
OfficerAction 2/23/2021 2:36 PM
i made the experience that very often i can't build again no matter what after i get an error
Avatar
well, could you provide me a link of the qt5 tgz you're building with? that could help narrow things a bit
2:36 PM
and on my side I'm going to start building LFS on my RPi
Avatar
OfficerAction 2/23/2021 2:37 PM
its just the 5.15.2 release
2:37 PM
i could send you my build but thats for glibc 😉
Avatar
yeah, that's what I should have downloaded
2:38 PM
I think I'll abandon musl for now you see, LFS builds a glibc rootfs
Avatar
well I'll try as a last resort this tarball along with the howto http://www.linuxfromscratch.org/blfs/view/svn/x/qt5.html
Avatar
OfficerAction 2/23/2021 2:54 PM
yea thats the official release
2:54 PM
in the link
Avatar
we'll see
Avatar
well, could you send me the link of your glibc build? I was thinking about using Alpine linux as the main OS and using various debian chroots for modules (like the UI) so it has glibc
Avatar
OfficerAction 2/23/2021 8:05 PM
sure
Avatar
thx
8:05 PM
also, it'd be debian 6, like Glibc from 2014, would that do? max I can install is debian 7
Avatar
OfficerAction 2/23/2021 8:07 PM
dont see why it wouldn't
Avatar
well, older version ?
Avatar
OfficerAction 2/23/2021 8:08 PM
i think it should work either way
8:08 PM
great then!
Avatar
OfficerAction 2/23/2021 8:13 PM
actually i also have a musl build lol
Avatar
oooooooooooooooooh (edited)
Avatar
OfficerAction 2/23/2021 8:13 PM
you can try that as well
Avatar
ofc
8:14 PM
either way I'll set up Qt in a container-like fashion it'll be easier to upgrade/fix/modify
8:14 PM
but which distro do you use to build it?
Avatar
OfficerAction 2/23/2021 8:15 PM
i use manjaro as my daily driver
8:15 PM
1 file sent via WeTransfer, the simplest way to send your files around the world
Avatar
oh I was on Ubuntu to make sure I had all the necessary things normally I'd be using Arch maybe I should try on Arch instead?
8:16 PM
thanks for the link btw
Avatar
OfficerAction 2/23/2021 8:16 PM
manjaro is an arch distro id recomend that
8:17 PM
its all the power of arch with an easy environment like ubuntu
8:17 PM
but without all the cancer 😄
Avatar
well I don't think it's so hard (edited)
8:18 PM
let me tell you, when you've done Linux From Scratch and Gentoo, Arch is like easy-peasy
Avatar
OfficerAction 2/23/2021 8:18 PM
the cancer was refering to ubuntu😂
Avatar
oh yeah
8:19 PM
that I agree completely
8:19 PM
it has so much garbage
Avatar
OfficerAction 2/23/2021 8:19 PM
yep and random ass errors
Avatar
yeah "Ubuntu 20.10 has encountered an internal error" ahhhhh
Avatar
ahem
8:57 PM
kobo:~/qt-linux-5.15.2-kobo_musl/bin# ./qmake ./qmake: line 1: syntax error: unterminated quoted string kobo:~/qt-linux-5.15.2-kobo_musl/bin# readelf -h qmake ELF Header: Magic: 7f 45 4c 46 02 01 01 03 00 00 00 00 00 00 00 00 Class: ELF64 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - GNU ABI Version: 0 Type: DYN (Shared object file) Machine: Advanced Micro Devices X86-64 Version: 0x1 Entry point address: 0xb760 Start of program headers: 64 (bytes into file) Start of section headers: 28680848 (bytes into file) Flags: 0x0 Size of this header: 64 (bytes) Size of program headers: 56 (bytes) Number of program headers: 12 Size of section headers: 64 (bytes) Number of section headers: 39 Section header string table index: 38 kobo:~/qt-linux-5.15.2-kobo_musl/bin#
8:59 PM
did you not compile that for x86_64?
Avatar
OfficerAction 2/23/2021 8:59 PM
it is
8:59 PM
but then
Avatar
OfficerAction 2/23/2021 8:59 PM
its working for me so maybe some toolchain dependency mismatch
9:00 PM
no idea
Avatar
you use that for qt to create binaries that you transplant in the kobo
9:00 PM
without qt in the kobo
9:00 PM
is it?
Avatar
OfficerAction 2/23/2021 9:00 PM
yea
Avatar
whew I missed something
9:01 PM
i was trying to compile with an armv7l toolchain lmao
9:01 PM
that's probably why it didn't work
9:01 PM
I thought you needed the qt lib on the kobo to run qt programs on it
Avatar
OfficerAction 2/23/2021 9:01 PM
um
9:02 PM
yea you need the libs on the kobo
9:02 PM
but qmake is for the host for compiling
Avatar
oh so if I want to run the scribble program on the kobo, what do I need to do?
Avatar
OfficerAction 2/23/2021 9:14 PM
you will need to modify the mkspec so it points to your toolchain compiler, you need to setup qtcreator with the qt package, you need to download and compile my platformplugin, then compile the scribble, you need to put all the nessasary qt libs on the kobo and add the platform plugin to the plugin/platform folder, then put scribble on the kobo as well export LD_LIBRARY_PATH=${QTPATH}/lib:lib: export QT_QPA_PLATFORM=kobo ./scribble should get it running
9:14 PM
but actually i suggest you try the glibc version first because it will run on the kobo without any chroot and has much less pitfalls
Avatar
ok that's a lot I'll probably ask you some questions about that, not sure if I'll get through this without help thx
Avatar
OfficerAction 2/23/2021 9:16 PM
sure
Avatar
Avatar
OfficerAction
you will need to modify the mkspec so it points to your toolchain compiler, you need to setup qtcreator with the qt package, you need to download and compile my platformplugin, then compile the scribble, you need to put all the nessasary qt libs on the kobo and add the platform plugin to the plugin/platform folder, then put scribble on the kobo as well export LD_LIBRARY_PATH=${QTPATH}/lib:lib: export QT_QPA_PLATFORM=kobo ./scribble should get it running
but how to modify the mkspec if you already provided me the binaries?
Avatar
OfficerAction 2/23/2021 9:24 PM
the same folder is in there
Avatar
and for the qt libs? I find them where? (edited)
Avatar
OfficerAction 2/23/2021 9:43 PM
in the libs folder 😉
Avatar
oh so they're already compiled for armv7l
9:43 PM
right? (edited)
Avatar
OfficerAction 2/23/2021 9:43 PM
yep
Avatar
so only the bin folder is for x86_64
Avatar
OfficerAction 2/23/2021 9:44 PM
yep its setup for crosscompiling
Avatar
how to set up qt creator with the qt package?
Avatar
OfficerAction 2/23/2021 10:01 PM
options -> kits -> add compiler, qt, and kit
10:04 PM
why is there that?
Avatar
OfficerAction 2/23/2021 10:04 PM
idk can't see😂
Avatar
oh ok it's gone now
10:05 PM
10:05 PM
like that?
Avatar
OfficerAction 2/23/2021 10:06 PM
um other way around 😉
10:06 PM
oh
Avatar
OfficerAction 2/23/2021 10:06 PM
you have gcc in g++
Avatar
and then?
10:07 PM
I just import the project?
Avatar
OfficerAction 2/23/2021 10:07 PM
yea
10:08 PM
if you have put it all in a kit you can compile with that
10:09 PM
things I should change?
Avatar
OfficerAction 2/23/2021 10:09 PM
qt
Avatar
how?
Avatar
OfficerAction 2/23/2021 10:10 PM
add in qt tab
Avatar
but why is it still showing a warning sign?
Avatar
OfficerAction 2/23/2021 10:15 PM
just hover over it maybe because of gdb
Avatar
warning no device set
Avatar
OfficerAction 2/23/2021 10:16 PM
you can set that optionally
Avatar
ok so it'll not be fatal
Avatar
OfficerAction 2/23/2021 10:17 PM
its nice it will deploy automatically
10:17 PM
yea
Avatar
OfficerAction 2/23/2021 10:25 PM
yea as it says... you are missing some dependencies in you sysroot
10:26 PM
i guess i can send you that aswell
10:29 PM
but is that normal? --sysroot=/home/andreas/x-tools/arm-kobo-linux-musleabihf/arm-kobo-linux-musleabihf/sysroot
Avatar
OfficerAction 2/23/2021 10:32 PM
yea for me...
10:33 PM
maybe you have to add a symlink to your sysroot
Avatar
well I don't have anything in my sysroot
Avatar
OfficerAction 2/23/2021 10:35 PM
1 file sent via WeTransfer, the simplest way to send your files around the world
10:35 PM
well you need a sysroot with all the dependency libs
10:35 PM
libstdc++ openssl etc...
Avatar
yeah
10:36 PM
that?
Avatar
OfficerAction 2/23/2021 10:36 PM
yea maybe you can overwrite that
Avatar
armv7l-linux-musleabihf-g++ --sysroot=/home/andreas/x-tools/arm-kobo-linux-musleabihf/arm-kobo-linux-musleabihf/sysroot but how does it know that? I deleted the pro.user file and it still does that
Avatar
OfficerAction 2/23/2021 10:38 PM
qt is configured that way
10:39 PM
not sure how you can change it afterwards
10:39 PM
google around a bit or you can just create a simlink with that name and point it to your sysroot
Avatar
yeah that's what I'll do
10:39 PM
or actually create the folder
Avatar
ok, just to be sure, I put everything except the bin folder in the kobo?
Avatar
OfficerAction 2/24/2021 12:19 AM
just the lib dir
12:19 AM
and dumb question, but where does qtcreator place the binaries?
Avatar
OfficerAction 2/24/2021 12:19 AM
?
Avatar
like, when I build, where is the output?
Avatar
OfficerAction 2/24/2021 12:20 AM
there is a build folder
12:20 AM
you can check in the project settings
Avatar
oh thanks, I didn't see it
Avatar
sorry again, how do I have to put the platform plugin?
12:31 AM
I saw a plugins/ directory, but do I keep the original folder name (qt-linux-5.15.2-kobo-musl) ?
Avatar
UMR on the Mini with Alpine Linux and musl The scribble thing didn't work though, and I can't input anything on the device
Avatar
woo nice
4:38 AM
is there a way to remove the auto update @tux-linux
Avatar
hmm yeah; dealing with some serial issues now I might publish it for tommorrow
Avatar
ok, sure
Avatar
ok, issue solved
4:41 AM
will compile it now
4:42 AM
did squashfs work?
Avatar
mounted and rebooting
4:51 AM
gotta go :\
Avatar
ok bye
Avatar
@OfficerAction sorry to bother you again So Qt on the Kobo with Alpine/Musl went well after jumping through a million hoops. But as you saw above, I can't get any input on the Mini. I switched to my Glo HD to try and see if I'd get any. I'll see that tommorrow. the scribble project is very nice, but could you send me a little and simple example of maybe a push-button centered that would, when it is pressed, terminate the program? so I can see more how to deal with buttons and checkboxes I looked a bit at the UMR code, very very interesting. A bit too complicated for me though haha (at least for now) thanks!
6:14 AM
@fermino I'll test your script probably tomorrow after school, I've been quite "off" KoBox these days, now it's time to get back into it a bit!
Avatar
Avatar
tux-linux
@OfficerAction sorry to bother you again So Qt on the Kobo with Alpine/Musl went well after jumping through a million hoops. But as you saw above, I can't get any input on the Mini. I switched to my Glo HD to try and see if I'd get any. I'll see that tommorrow. the scribble project is very nice, but could you send me a little and simple example of maybe a push-button centered that would, when it is pressed, terminate the program? so I can see more how to deal with buttons and checkboxes I looked a bit at the UMR code, very very interesting. A bit too complicated for me though haha (at least for now) thanks!
OfficerAction 2/24/2021 10:57 AM
nice that you could get umr to work. as i said before the input is not right for some devices you can try to adjust the platform plugin parameters and see if that helps: export QT_QPA_PLATFORM=kobo:touchscreen_rotate=90 for example. For the pushbutton you can just google that. Its just regular qt code.
Avatar
Ok thx
2:04 PM
Also, do you use the Qt UI designer sometimes, or you created the UI in the code?
Avatar
OfficerAction 2/24/2021 9:23 PM
yea sure the designer is not bad. i use it all the time.
Avatar
Nice
Avatar
do i update modules again, or just dd?
Avatar
modules as well
12:49 AM
sorry for not putting them in a txz, I forgot
Avatar
no problem
12:50 AM
this makes it easier
Avatar
it'll take you more time to download them all if you don't do a git clone or a complete download of the repo though
Avatar
looks like they are in a txz
Avatar
nooooo
12:52 AM
you took the wrong one
Avatar
but well, you don't want autoupdate, do you?
12:53 AM
i thought that was the one that removed autoupdate 😂
Avatar
bit of a problem
1:04 AM
cant dd because of wifi not working
Avatar
but
1:04 AM
you can access konsole?
1:05 AM
usbms > file in /mnt/onboard > dd if=/mnt/onboard/uImage of=/dev/mmcblk0 bs=512 seek=2048
Avatar
yea, but what about the modules?
Avatar
same thing
1:06 AM
e.g. mv /mnt/onboard/modules/<some module> /drivers/<platform>/usb/gadget
Avatar
ah i see
1:06 AM
i used ftp the first time
1:07 AM
ill do that and post the results on MobileRead
1:07 AM
bye
Avatar
bye you could just also stick the sd card in your computer and put the modules there
Avatar
k, i'll do that
1:07 AM
bye
Avatar
@fermino : testing img-tool on a Debian VM, got this error https://pv.olaiz.net/?afe296cb55ecf9e3#ESfDdgnK9mD6ADJTnHDquCUbUdKkDNDdBENZPtHRMSoc
4:13 AM
will investigate
Avatar
Oh, yeah, you need to create the base file
4:14 AM
The zeroed img and then mke2fs
4:14 AM
and I put it where?
Avatar
And then create all the root folders
4:15 AM
It goes in base-files
4:19 AM
so I cp the base-layout folder contents to the mounted disk image?
Avatar
@OfficerAction it's strange, I can't seem to get any input with the musl compiled UMR, I tried a light maps example too and I did have something print on the framebuffer (great!) but I wasn't able to input anything either. with the glibc one (stock install package you provide) all works fine though. Should I try with glibc and a Debian chroot? or is there a simpler fix?
Avatar
@dill did you receive my PM? (edited)
Avatar
Avatar
tux-linux
so I cp the base-layout folder contents to the mounted disk image?
Only the folders, not it's contents
4:56 AM
Its*
4:56 AM
And chown them to the user running the imgtool
Avatar
but wait, will the minirootfs files get to the img at some point?
4:57 AM
The folders are just a quick workaround for the owner problem
5:00 AM
but you lost me there what should I do next? ================================= === KoBox Image Creation Tool === ================================= Pulling from repo... Cloning into 'base-layout'... remote: Enumerating objects: 404, done. remote: Counting objects: 100% (404/404), done. remote: Compressing objects: 100% (330/330), done. remote: Total 404 (delta 44), reused 379 (delta 28), pack-reused 0 Receiving objects: 100% (404/404), 6.79 MiB | 1.77 MiB/s, done. Resolving deltas: 100% (44/44), done. Checking out files: 100% (804/804), done. Already up to date. => Last commit is e178db0 Preparing filesystem... ok Building... Copying e178db0-alpine.img Mounting e178db0-alpine.img e178db0-alpine.img mapped as /dev/loop2 Error mounting /dev/loop2: GDBus.Error:org.freedesktop.UDisks2.Error.AlreadyMounted: Device /dev/loop2 is already mounted at `/media/nicolasm/57c84e5c-288a-437f-a9b3-ec965ca659b4'. e178db0-alpine.img mountd on Building e178db0-alpine.img Unmounted /dev/loop2. Error deleting loop device /dev/loop2: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dbd_2dloop_2derror_2dquark.Code1: Error deleting /dev/loop2: Failed to detach the backing file from the /dev/loop2 device: No such device or address Compressing image... Removing block file... done :)
5:01 AM
Make sure that the img is not already mounted
Avatar
i'll reboot the vm, should solve some problems
Avatar
Good idea
Avatar
also, if we want to build on x86_64, maybe integrating qemu-arm-static would be useful
5:03 AM
and like create a cross-chroot environment
Avatar
That'd be super nice
Avatar
pretty simple too # cp /usr/bin/qemu-arm-static ./chroot-dir/usr/bin # chroot ./chroot-dir /usr/bin/qemu-arm-static /bin/sh (edited)
5:05 AM
how nice, my VM is corrupted somehow, X won't start haha
5:05 AM
it always does that, when you're not expecting it at all
Avatar
@tux-linux on MR?
5:04 PM
wait i see
Avatar
@tux-linux how do I launch InkVT
Avatar
there should be a nickelmenu entry
5:24 PM
(if you installed NickelMenu and KFMon)
Avatar
can you launch it then? (edited)
Avatar
it just restarted nickel...
Avatar
oh ok
5:25 PM
go in Konsole
5:25 PM
then
5:26 PM
/mnt/onboard/.adds/inkvt/inkvt.armhf what's the output?
5:26 PM
but you know, you could test squashfs in CoolReader (pbchess)
Avatar
[FBInk] Detected a Kobo Mini (340 => Pixie @ Mark 4) [FBInk] Enabled Kobo w/o Multitouch quirks [FBInk] Clock tick frequency appears to be 100 Hz [FBInk] Screen density set to 200 dpi [FBInk] Variable fb info: 800x600, 32bpp @ rotation: 0 (Upright, 0 *degrees sign*) [FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 2179072 bytes & linelength: 3200 bytes [FBInk] Canonical rotation: 1 (Clockwise, 90 *degrees sign*) [FBInk] Fontsize set to 16x32 (Terminus base glyph size: 8x16) [FBInk] Line length: 50 cols, Page size: 18 rows [FBInk] Horizontal fit is perfect! [FBInk] Vertical fit isn't perfect, shifting rows down by 12 pixels [FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background setsockopt w/ SO_REUSEPORT: Protocol not available input_timeout atexit_called
Avatar
hmm and nothing shows on the screen?
Avatar
nope, nothing
Avatar
I'd want to try it on my Mini now but I don't have access to the stock firmware for now
5:45 PM
still, you could try mounting a squashfs somewhere and accessing files with coolreader, try to read some
Avatar
how do I mount
5:46 PM
mount /mnt/onboard/book.sqsh /some/mountpoint
Avatar
such as mount /mnt/onboard/book.sqsh /mnt/onboard?
Avatar
NOOOOOOOOOOOOOOOOOO
5:48 PM
not in /mnt/onboard
5:48 PM
more like /mnt/user
Avatar
then i put my books in user?
Avatar
no you have to squash them first
5:48 PM
I included a sample book from gutenberg.org as an example
5:52 PM
to squash them in WSL mksquashfs /some/dir /some/squashfs.sqsh -b 1048576 -comp gzip -always-use-fragments
5:52 PM
install squashfs-tools if command not found
Avatar
no WSL rn
Avatar
windows?
Avatar
virtualbox?
Avatar
no virtualization
Avatar
liveusb?
Avatar
the etcher one?
Avatar
well yeah
6:00 PM
when you installed ubuntu you had a liveusb
6:01 PM
just choose "try ubuntu" instead of "Install" and you'll be greeted with a full ubuntu desktop
Avatar
ok but i might not be able to
6:02 PM
have to go, might be back but not sure
Avatar
Avatar
tux-linux
pretty simple too # cp /usr/bin/qemu-arm-static ./chroot-dir/usr/bin # chroot ./chroot-dir /usr/bin/qemu-arm-static /bin/sh (edited)
So can I trigger a script from outside it?
Avatar
yes, like chroot /mnt /qemu-arm-static /script.sh
Avatar
im back, on ubuntu
Avatar
nicee
Avatar
forgot about the laptop i already had ubuntu on 😂
Avatar
put your favorite books on a folder
Avatar
in the kobo?
Avatar
in ubuntu
Avatar
oh, so i transfer the books to laptop and then make a folder
6:19 PM
got it
Avatar
yep
6:20 PM
then come back and I'll explain you the next steps
Avatar
files won't open
6:21 PM
this is a recurring error with some apps
Avatar
files - as in, the app
Avatar
what do you mean by "don't open"?
Avatar
files - it says it's starting up on the top, but then "Files" just disappears and it won't open
Avatar
open terminal
6:22 PM
reinstall ubuntu asap
6:22 PM
but now we'll cope with it
Avatar
yeah thats what i thought too
6:23 PM
but i dont want ubuntu, i want arch
6:23 PM
did you open terminal?
Avatar
it's opening
6:24 PM
thats it, terminal wont open, i'm gonna reinstall
6:24 PM
i have a live usb in my pocket
Avatar
that's handy
Avatar
freshly flashed
6:25 PM
yup, i carry it around just in case
6:25 PM
so, i delete the ubuntu partition, and then boot from the usb and install again?
Avatar
hmm no
6:25 PM
you boot from the usb first
6:26 PM
but to make things simpler, you could actually just use the liveusb as your linux environment that's what I do all the time
6:26 PM
(I customize the livecds of course)
Avatar
yeah i'mma do that
6:26 PM
brb, booting from usb
Avatar
but you'll want to save your data on an external drive (or in the internal one) because all changes to the rootfs are backed in RAM
Avatar
i dont have any data rn
6:27 PM
oh i see
Avatar
well, your books they'll go in the ereader so it's fine
Avatar
ok, rebooting
Avatar
nice
Avatar
wait, i'll first get etcher on windows then etch the arch iso
Avatar
alternative
6:29 PM
in the ubuntu syslinux splash, press like f2, and then f6, change the end of the bootargs to \splash toram
6:29 PM
it will copy the squashfs rootfs to RAM, so you'll be able to reflash the liveusb because all will be in ram
Avatar
im starting up the other laptop that i use for etching images
Avatar
oh that's fine too
Avatar
i cant find where to download the arch image :\
Avatar
archlinux.org
Avatar
yeah i know, im on the downloads page, but where's the image?
Avatar
choose a mirror
Avatar
downloading it
6:35 PM
i went to its.dal.ca
Avatar
should be fine
Avatar
WAIIIT in the meantime, i managed to launch terminal
Avatar
hmm
6:36 PM
ok and files? does it launch now?
Avatar
well that's good
Avatar
yeah apparently all problems are solved :D
Avatar
nice so put your books in a folder
Avatar
sorry, i was downloading
Avatar
it's ok
Avatar
i accidentally named the folder "lord of the ringas" 😂 (edited)
Avatar
ok, made folder
6:46 PM
now, squash?
Avatar
yeah
6:47 PM
mksquashfs lord-of-the-rings lotr.sqsh -b 1048576 -comp gzip -always-use-fragments
Avatar
my folder is called Lord Of The Rings, and it's located in home (edited)
Avatar
why a folder with spaces?
6:48 PM
rule no.1 in linux: never do that
Avatar
k, renaming
6:49 PM
"LOTR"
Avatar
but in your case it'd be like mksquashfs /home/Lord\ of\ the\ rings/ lotr.sqsh -b 1048576 -comp gzip -always-use-fragments
6:50 PM
or mksquashfs "/home/Lord of the rings" lotr.sqsh blablabla
Avatar
yeah
Avatar
apparently no such file or directory
6:51 PM
huh
Avatar
ls /home ?
6:51 PM
my guess is it would be more like in /home/dill
Avatar
yep, definitely in /home/dill/LOTR
6:52 PM
you've been mislead by Nautilus' "Home" definition
6:52 PM
which is not good at all
6:52 PM
is it there?
Avatar
so the file should be in /home/dill
6:54 PM
or "Home" in files/nautilus
Avatar
so if i understand, i put lotr.sqsh into /mnt/onboard of the kobo, then mount it on /mnt/user?
Avatar
yep
Avatar
how do i fix InkVT?
Avatar
don't know for now
6:57 PM
try with konsole
7:00 PM
it works :D
7:00 PM
but pbchess doesnt agree with my eink screen, which is unusual
Avatar
did it work before now?
7:00 PM
did it work after you flashed the new kernel?
Avatar
yep, it's usable, but there's a grey bar on the side
7:01 PM
which i can usually get rid of with a sleep and wake
Avatar
... but now you can't
Avatar
do what?
Avatar
get rid of with sleep/wake
Avatar
yea i can
Avatar
oh well it's fine then
Avatar
and its not that much of a problem really
7:03 PM
7:03 PM
reading
Avatar
nice
Avatar
i'm gonna delete ubuntu and start arch
7:04 PM
so, i delete the ubuntu partition, and then boot off the usb, then install arch?
Avatar
boot off the usb, delete the ubuntu partition, then install arch
Avatar
how do i delete the ubuntu partition with arch
7:05 PM
don't worry i'll be there to help
7:07 PM
do i plug usb in first, or do i turn off laptop first
Avatar
doesn't matter
Avatar
k rebooting
7:07 PM
🤞
Avatar
i've booted on the usb and i have a zsh prompt
7:16 PM
now what
7:17 PM
@tux-linux half of the things in the install guide are way over my head :\
Avatar
ok, i've gone up to the partitioning step
7:31 PM
i've written with fdisk
Avatar
you didn't mess up the windows partition?
Avatar
i have no idea...
Avatar
we'll see
Avatar
i deleted partition 6, kind of stupid of me
7:34 PM
i'm about to install it
7:34 PM
on /dev/sda6
Avatar
fine
Avatar
Ready to get your hands dirty with the big boy's Linux distro? Here's a step by step guide to show you how to install Arch Linux.
7:36 PM
im following this guide
Avatar
well it's fine too
Avatar
i think i've done it
Avatar
nice
7:39 PM
reboot, moment of truth
7:39 PM
you've installed grub?
Avatar
i have to configure first
7:40 PM
grub?
7:40 PM
how? pacstrap?
Avatar
yeah, it's after
7:40 PM
continue the guide
Avatar
after timedatectl list-timezones
7:45 PM
it wont let me type commands
Avatar
lines (numbers) END
Avatar
type q
7:49 PM
installing grub
7:53 PM
getting GNOME
Avatar
man, pacman is useful
7:55 PM
the problem is, i always have to use a wired connection because the wireless adapter on this laptop is broken
Avatar
wired is still faster than wifi
Avatar
you can also buy a wifi to wired adapter
Avatar
less convenient though
7:56 PM
and the laptop has a trash battery, so it always has to be plugged in
Avatar
then using wired isn't a concern
8:03 PM
i can't login...
Avatar
did you set a password?
Avatar
well...
Avatar
it didn't say how to set one :\
Avatar
that's the pitfalls of using another guide than the official one
8:05 PM
what now?
Avatar
boot into the liveusb, mount the partition at /mnt, arch-chroot /mnt, then passwd
Avatar
so basically a reinstall?
8:08 PM
just remount the partition and chroot, then run the passwd command to set a root password
Avatar
which one do i boot onto? the install medium?
Avatar
liveusb
Avatar
yeah but i booted off the live usb and its saying "install medium, boot existing os," etc
Avatar
install medium
8:10 PM
so: mount /dev/sda6 /mnt arch-chroot /mnt passwd?
Avatar
yeah
8:10 PM
then exit and reboot
Avatar
i did exit and shutdown now, but no difference i guess
8:12 PM
...idk what my username is ;\
Avatar
root
Avatar
the screen appears to be all grey
8:13 PM
nvm
8:13 PM
oh
Avatar
how do i create a normal user? this is priveliged
8:14 PM
or however you spell it (edited)
Avatar
useradd -m -G wheel dill
Avatar
¯\_(ツ)_/¯
Avatar
then passwd dill
8:14 PM
then pacman -S sudo
8:15 PM
nano /etc/sudoers uncomment the line that starts with %wheel
Avatar
WAIIT wifi seems to be working :O
8:16 PM
my dad said it only sometimes works :\ (edited)
Avatar
Avatar
tux-linux
useradd -m -G wheel dill
i just used settings
Avatar
Avatar
tux-linux
did you set a password?
I made the same mistake the first time I tried to install arch
9:04 PM
And the second too hahahah
9:04 PM
IIRC
Avatar
no me was that I forgot to install dhcpcd
Avatar
when i open software, it says "no application data found"
9:06 PM
and, before, windows 10 was on /dev/sda1... but it doesnt show on boot
9:06 PM
nor does it show ubuntu on boot
9:06 PM
i got arch on /dev/sda6 though
9:07 PM
¯\_(ツ)_/¯
Avatar
Avatar
dill
when i open software, it says "no application data found"
Don't use "Software"
Avatar
use sudo apt-get?
9:09 PM
also, discord seems to crash (edited)
Avatar
with pacman -S
9:09 PM
the app or in the browser?
Avatar
what is the one you're using?
Avatar
don't
9:11 PM
btw real name of it is epiphany
Avatar
which one, and how do i get it? (edited)
Avatar
pacman -S chromium-browser or pacman -S firefox
9:11 PM
also, don't forget to do a pacman -Syu regularly
Avatar
yeah, i saw "client=epiphany" in google, wondered what that was about
9:11 PM
k
9:12 PM
and what of windows/ubuntu?
Avatar
well you probably destroyed ubuntu while installing arch
Avatar
maybe windows too
9:12 PM
that idk
Avatar
no, i didnt touch sda1
9:12 PM
i installed arch on sda6
Avatar
can you still mount sda1 ?
Avatar
let me see
9:13 PM
liveusb?
Avatar
normally, just open terminal
Avatar
mount /dev/sda1 /mnt?
Avatar
yeah
Avatar
brb i'll boot arch
9:13 PM
also apparently "i use arch btw" is a meme
Avatar
you didn't know that before?
Avatar
r/archlinux r/linuxmasterrace r/linuxmemes
Avatar
im more of a rickroll guy
9:14 PM
as evidenced by my homepage
Avatar
yeah...
9:15 PM
pacman -S?
Avatar
yeah
Avatar
terminal wont open argh
Avatar
ctrl alt f2
9:22 PM
i ended up spamming terminal and ctrl alt f2, but not working
Avatar
restart
9:30 PM
still none
Avatar
ctrl alt f3, f1, f4, f5, f6 ?
Avatar
f3 worked
9:33 PM
its a bash shell
Avatar
pacman -S gnome-terminal konsole xterm
Avatar
wait i logged in as root and
9:34 PM
tried to mount sda1, it said ntfs wasnt a known fs type 😕
Avatar
pacman -S ntfs-3g
9:34 PM
retry
Avatar
fs is "unclean"
9:36 PM
do i need to wash my laptop
Avatar
it mounted
9:36 PM
no
9:36 PM
hahahah
Avatar
no, metadata kept in windows cache, refused to mount
9:36 PM
:p
Avatar
it's windows bloat
9:36 PM
well it didn't erase windows that's great
Avatar
falling back to read-only because fs is in an unsafe state
9:37 PM
yep :D
9:37 PM
i dont understand though, it says windows is running rn
Avatar
you shut it down abruptly ?
9:37 PM
i used the top right menu
9:38 PM
not a force shutdown
9:41 PM
tried again, now it says: Mount is denied because the NTFS volume is exclusively opened.
Avatar
umount /mnt
Avatar
Avatar
dill
falling back to read-only because fs is in an unsafe state
same problem
Avatar
idk
Avatar
i'll restart
9:43 PM
sync && reboot
9:44 PM
im dumb, should have done df -h, right?
9:45 PM
sda1 not showing up
9:45 PM
hm
9:45 PM
i'll be back later (edited)
10:32 PM
what do i do now
Avatar
well do you absolutely need to write to the ntfs partition?
Avatar
then you can leave it to mount read only
Avatar
so read-only mount, then what
Avatar
you want to run windows?
10:33 PM
dual
10:33 PM
mostly i'll be using linux but my parents want to keep windows
Avatar
did you install arch in uefi or bios?
Avatar
not a uefi system, i think it was bios
Avatar
try this (first answer)
10:36 PM
I have two SSDs in my PC, one with a working Windows 10 on, and the other a fresh install of Antergos. Booted Antergos up to get grub set up with both installs, but having difficulties there. I have
Avatar
The mount thing is because fast boot is enabled
10:38 PM
It works (sort of) like hibernation
Avatar
oh yeaaaah
10:39 PM
that's far back in my head
Avatar
So even if you shut down properly it'll mount it as reado-only
10:39 PM
Hahahahah
Avatar
you have to shut down with SHIFT when pressing "Shut down"
Avatar
ohhh okay i'll try that
Avatar
*on windows, the shutdown thing
Avatar
no, the mkconfig thing
11:03 PM
good
Avatar
not a dir
Avatar
blkid
11:06 PM
check the value of "PARTUUID"
Avatar
👍 but it should be "UUID" not "PARTUUID" right?
11:10 PM
Avatar
associated with your partition
Avatar
PARTuuid
Avatar
wait, but the UUID looks more like the example given
11:25 PM
@tux-linux i'm kinda confused
Avatar
on what
Avatar
the UUID of sda1 looks more like the example on the stack exchange (edited)
11:26 PM
than the partUUID
Avatar
well that's what you want right?
Avatar
you said part uuid though
Avatar
ok take the uuid then, see what happens
11:30 PM
so, how do i switch back to arch from the CL?
11:30 PM
do i reboot?
Avatar
what?
Avatar
i'm in a command line rn, no cursor or anything
Avatar
well youre in arch
11:31 PM
ctrl alt f1/f2
Avatar
command not found (edited)
Avatar
grub-mkconfig
Avatar
/boot/grub2/grub.cfg.new: no such file or directory
Avatar
/boot/grub
Avatar
thx rebooting
11:48 PM
🤞
11:51 PM
yeee, it works
11:52 PM
thank you for bearing with me :D
👍 1
11:52 PM
gotta go bye
Avatar
@OfficerAction a sneak peek of InkBox 2 days of work on this, but proud of the result, even if it's nothing but an About Box and a dummy Settings window... Qt really is awesome (edited)
6:21 AM
Avatar
OfficerAction 2/26/2021 12:00 PM
awsome! nice start 😉
Avatar
Thx
6:16 PM
awesome!
👍 1
Avatar
@OfficerAction maybe you should try other fonts for UMR, I took Inter for my project, and it feels much more modern than FreeSans/DejaVu in UMR Just a suggestion, your app is already super awesome :)
Avatar
@tux-linux some apps wont open on arch
10:37 PM
it says theyre loading on the top, but then it disappears and it doesn't load (edited)
10:38 PM
e. g. terminal
Avatar
here's the output from xterm
10:47 PM
the locale: i tried to set a language/date/timezone but it said nothing was found
10:47 PM
i uncommented the locale in /etc/locale.gen
10:47 PM
and ran locale-gen
10:48 PM
still didnt work
10:48 PM
even after a reboot
Avatar
k, looks like i had /etc/locale.conf messed up
11:17 PM
gonna try and reboot
11:17 PM
🤞
11:23 PM
fixed it
11:24 PM
im so proud
Avatar
Glad that it worked for you! You'll learn lots of UNIX stuff with Arch!
👍 1
Avatar
that was probably the issue with ubuntu too, now that i think about it...
Avatar
Ubuntu should have it set up automatically for you
11:32 PM
Btw, copy paste in terminal is shift ctrl C/v/x
Avatar
thanks :)
👍 1
11:36 PM
is there a dark mode on arch? i'm not a light mode guy
Avatar
sudo pacman -Sy gnome-tweak-tool
11:51 PM
or sudo pacman -Sy gnome-tweaks if it doesn't work
11:52 PM
also
11:52 PM
virtualbox kernel driver doesnt appear to be installed
Avatar
install qemu
11:53 PM
sudo pacman -S qemu
11:53 PM
and then, you create a virtualdisk
11:53 PM
qemu-img create -f qcow2 image.img 10G
11:53 PM
and run the machine
11:54 PM
qemu-system-x86_64 -cdrom <some iso> -hda image.img -m <RAM, e.g. 4096> -enable-kvm
Avatar
instead of sudo, i have root signed in on console
11:54 PM
k, thanks
Avatar
DON'T (edited)
Avatar
I have a feeling this is a stupid question, but this is something I've wondered for awhile. I have a VPS and this is my first big linux venture. I am the only person who has access to it. My quest...
11:55 PM
plus, all your files' permissions will be f**** up (edited)
Avatar
bash: sudo: command not found
11:55 PM
oh dang
11:56 PM
ye thats why i dont use sudo
Avatar
well you didn't install sudo
11:56 PM
you can use sudo don't be always root
Avatar
i have to install sudo? pacman -S sudo?
11:57 PM
no, Dill is running in gnome, but root is running in console
11:57 PM
console, as in, ctrl + alt + f3
Avatar
sudo essentially does user $ su root root # some command here root # exit user $
11:57 PM
don't , still
11:57 PM
i see
Avatar
and you can be as root just by typing su root on whatever terminal you're logged in
Avatar
installed
Avatar
install sudo then nano /etc/sudoers uncomment line where it says "%wheel" logout login
11:58 PM
but do that as root for now, or it'll say "dill is not in the sudoers file"
Avatar
Avatar
tux-linux
but do that as root for now, or it'll say "dill is not in the sudoers file"
i did it as dill :\ and it said i wasnt in the sudoers file, this incident will be reported
12:00 AM
reported to root, right?
Avatar
well do it as root
Avatar
no, reported in some syslog file
12:00 AM
yea
Avatar
Avatar
Avatar
tux-linux
qemu-system-x86_64 -cdrom <some iso> -hda image.img -m <RAM, e.g. 4096> -enable-kvm
<some iso>?
Avatar
well
12:04 AM
doesn't it ring a bell?
Avatar
iso is an image file...
Avatar
to...
Avatar
... install some distro
Avatar
... liveusb ...?
Avatar
liveusb was misplaced :/
Avatar
i misplaced my usb
12:05 AM
you download the iso and you pass it to qemu
Avatar
e.g. qemu-system-x86_64 -cdrom archlinux-2020.02.25.iso -hda image.img -m 4096 -enable-kvm
Avatar
im gonna try and emulate windows first
Avatar
what pc are you on
Avatar
because windows on this laptop is utter sh**
Avatar
how many years old the pc?
Avatar
ps - acer aspire 5732 z
12:06 AM
idk
Avatar
well
12:06 AM
old?
12:06 AM
i think its about as old as me, and im 12
Avatar
then windows 10 will be even more utterly shi**y
Avatar
I suggest you go with w7
12:07 AM
or tiny7
12:07 AM
This is a lite way version of windows 7! It's super fast and take less then 800MB of ram!!! Super Great!
Avatar
imma try w8.1
Avatar
you're gonna regret it
12:08 AM
fine 7
12:09 AM
why does linux feel like a virtual machine to me
12:09 AM
i guess im just used to windows
Avatar
windows product key?!
Avatar
you'll soon realize that you were in a jail of bloat and sh** with Windows
12:09 AM
huh well
12:10 AM
it's a "pirated" windows version, if you don't mind that
12:10 AM
so no product key
Avatar
ye i definitely realize that
12:10 AM
ok ill try this
Avatar
also it's 32-bit, but given the age of your pc, i wouldn't mind that much
12:12 AM
how much ram?
12:12 AM
free -mh
12:14 AM
also, you could try to append -vga virtio to the qemu cmd, you'll have a neat and crisp scaled resolution
Avatar
@fermino I was thinking, we could do an OOBE for KoBox in Qt
12:24 AM
launch it either on "embedded" or windowed mode
12:25 AM
even do an "app launcher" which could launch X apps, making it easier for touch and the corners of the screen it could have a dashboard wow that'd be nice what do you think?
Avatar
That'd be great! It is a really good idea
12:26 AM
It will take time that, to be honest I don't really have much (edited)
Avatar
well i have;)
Avatar
In any case I'm still available for all hosting/deployment/automation stuff that might be necessary
Avatar
given inkbox and my recent (well hard) introduction to Qt with gazilions of compilation errors, I think I'll progress furthermore with this and be able to provide a cool GUI for kobox, nicer than mate-panel
Avatar
then we could launch Xorg apps fullscreen and maybe exit them with a special window/button somewhere
Avatar
and while KB is loading, there could be a loading screen
Avatar
my download speed for tiny7 is slow...
Avatar
how slow?
12:31 AM
mine is 1.3mb/s so you can't be that much under
Avatar
15 mins left to download 700 mb
Avatar
here downloading 512M of data takes 30 mins
12:32 AM
yikes :/
Avatar
and when you download the whole windows 10 iso
12:32 AM
well
12:32 AM
4.4g
12:32 AM
you're gonna have a bad time waiting
Avatar
...that'd be painful no matter how fast our wifi connections were
Avatar
yeah I'm using wired there, it doesn't help really
Avatar
wired is necessary here
12:34 AM
honestly its convenient because it also had to be plugged in (edited)
Avatar
it's probably the server's speed which makes the download slow
Avatar
e.g. you download deepin linux from china
12:34 AM
hmm
12:34 AM
good ol' 100kb/s downlink
Avatar
that would be true pain
Avatar
but you should look at it it is really beautiful
12:35 AM
(even if it has an EULA)
12:35 AM
just loading their homepage will give you a hint of what the download's going to be like
Avatar
oooh, like windows, arch, and mac os all rolled into one
12:36 AM
you can download from osdn though
12:36 AM
it's faster
12:36 AM
Free download page for Project deepin's deepin-desktop-community-1010-amd64.iso.deepin is an elegant, easy to use and reliable domestic desktop operating system released by Deepin Technology Co...
12:36 AM
.... and test the iso in QEMU!
Avatar
i have a feeling my parents wouldnt let me take the time to install yet another distro
12:37 AM
oh yeah!
Avatar
or make your own livedvd/usbs like me
12:37 AM
wait I'll show you a pic
Avatar
lol, i tried a live dvd for ubuntu but the disk got stuck in the computer so live usb forever
12:38 AM
wait a little I need to find them
12:39 AM
i wonder if theres a tiny 10... im not fond of windows 7
12:42 AM
Avatar
that's a lot
Avatar
I made them back when I used my Mac
Avatar
it had a dvd drive
12:43 AM
thousands of customized arch linux ones, ubuntu, q4os, popos, kubuntu
12:44 AM
but for arch, wouldnt you have to setup each time you booted off a cd?
12:44 AM
customized I said!
Avatar
so everything is there
Avatar
that's amazing
Avatar
wm, X, firefox, chrome, apps
12:44 AM
custom user name, custom password
Avatar
btw, would pacman -S chrome work?
12:45 AM
never mind, i answered my own question (edited)
Avatar
It takes a LOT of time to set up, and you want it to be absolutely clean and perfect, because you'll live with the same system for the following months e.g. archisos are the worst; you have to set up them in a chroot and kde is so finicky that a small clipboard selection won't go in the history, you have to set up the themes, double-check everything, re double-check everything, install and set up all other programs, and ensure that they work correctly
Avatar
archisos are the worst, yeah
Avatar
that's about 1 entire day of work, maybe 2 or 3 when I decide to redo it because it isn't clean
Avatar
well not the worst; but the worst to set up and make
12:47 AM
and finally you do the mighty salute command mksquashfs rootfs/ filesystem.squashfs -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
Avatar
it took me all yesterday morning to install arch, and that was with help from you and a setup guide
Avatar
I know it by heart now
Avatar
and it's freezed foreever
Avatar
the only command i know by heart is dd
12:48 AM
and cp
Avatar
and ls
12:48 AM
(well I hope, don't you?)
Avatar
ls | grep ?
Avatar
ls | grep some_filename
12:48 AM
that's U S E F U L
Avatar
also, i got tiny7 downloaded
Avatar
also, hint for you in the future, when you'll try to do ls -R / and it won't work find / | grep something
12:49 AM
well start qemu
Avatar
after -cdrom i have to include the full file location, right
Avatar
qemu-img create -f qcow2 tiny.img 10G qemu-system-x86_64 -cdrom tiny7.iso -hda tiny.img -enable-kvm -m 2048 -vga virtio
12:50 AM
no
Avatar
if you're in the in the folder, you can just put its filename
Avatar
oh im not in it
Avatar
btw it's called relative and absolute paths
12:51 AM
oh okay (edited)
12:51 AM
that'll give you the current dir you're in
Avatar
Could not access KVM kernel module: No such file or directory qemu-system-x86_64: failed to initialize kvm: No such file or directory (edited)
Avatar
modprobe kvm-intel
12:54 AM
as root
12:54 AM
or sudo
12:55 AM
if it doesn't work well then... the emulation will be slow
Avatar
modprobe: ERROR: could not insert 'kvm_intel': Operation not supported
12:55 AM
wait...
Avatar
bad luck :/
12:55 AM
remove -enable-kvm
Avatar
ye ok nvm
12:55 AM
ok
Avatar
but it will be slow sloooooooooow
12:56 AM
maybe virtualbox could work but that's a complicated install
Avatar
yeah i tried with pacman but there was something about the kernel
Avatar
i know
12:56 AM
that's why i stopped using virtualbox
12:56 AM
too complicated to setup, and when you get it working they do an update that breaks everything
Avatar
Windows is loading files...
12:58 AM
the reason kvm doesn't work is probably because the cpu is too old
Avatar
good old loading screen from when i was 4 years old (edited)
Avatar
haha
Avatar
yeah it def is old
Avatar
no me I knew WinXP
Avatar
havent ever used it
Avatar
good ol' blue "Welcome" screen with the cool jingle
12:59 AM
i grew up with 7 and 8.1
Avatar
ah there we go, the login screen!
Avatar
login?
Avatar
meanwhile my computer sounds like an airplane
Avatar
you mean you already installed it?
Avatar
hahaha not unusual
Avatar
setup is starting
1:00 AM
yep
1:03 AM
still starting, and my computer is lagging
Avatar
you see why installing 8.1 or up would be a pain
1:03 AM
it's normal
Avatar
it will finish... some day...
1:03 AM
i'm gonna read
Avatar
good idea
Avatar
while this is loading
Avatar
me I'm working on inkbox
Avatar
hows it going?
Avatar
trying to figure out how to do something when a checkbox is toggled
Avatar
and to write that to a config file
1:04 AM
you know
Avatar
C++
1:04 AM
and Qt
Avatar
ah yikes
1:04 AM
never liked the C languages
Avatar
two things I didn't know well until yesterday
1:05 AM
no they're great, just the learning curve is hard, so that's why you don't like them
1:05 AM
gotta go :/
1:06 AM
bye
Avatar
oh ok bye
Avatar
im back and i have a question
3:54 AM
how do i install different distros in different partitions
3:55 AM
eg arch in sda1, ubuntu in sda2, deepin in sda3, etc
3:56 AM
@tux-linux
Avatar
i'd say it's a pretty bad idea
Avatar
I've not had good experience with this before
Avatar
but you could use gparted or fdisk to partition the disks
4:01 AM
then manual install each distro
Avatar
hypothetically: dd if=ubuntu.img of=/dev/sda2?
Avatar
NOO
4:01 AM
DON'T use dd for things like that
Avatar
you know its nickname?
Avatar
disk destroyer
Avatar
i know haha
Avatar
but maybe that it'd work it's just that it's not very recommendable
Avatar
used fdisk for arch
Avatar
well you could use that
4:02 AM
why not install Gentoo?
4:02 AM
I'd be there to help
4:02 AM
and I'd do it at the same time
4:03 AM
and you'll learn a good bunch of new things about Linux
Avatar
i want to try lots of distros in diff partitions
4:04 AM
i have 6 partitions
4:05 AM
and my dad said i could destroy windows
Avatar
yeepee
Avatar
that'll be fun
Avatar
suggestion
Avatar
Avatar
tux-linux
then manual install each distro
Yeap, if the grub is properly installed it should work well
Avatar
wipe the hard disk
4:05 AM
how many space do you have?
4:05 AM
let me see
Avatar
Avatar
fermino
Yeap, if the grub is properly installed it should work well
yes, and not when you choose "install alongside bla bla bla" that's the worst thing to do
4:06 AM
Totally
4:06 AM
I agree
Avatar
240 gb i think but i really dk
4:06 AM
brb
Avatar
oh yeah
4:06 AM
ok
Avatar
sudo fdisk -l /dev/sda
Avatar
yeah also
Avatar
30g for each partition should be plenty
Avatar
yep
Avatar
I'd do the following:
Avatar
maybe a centralized data partition could be nice
Avatar
512M EFI, free, home, 20G * _amount_of_distros, 16G SWAP
4:08 AM
Home would be shared data
Avatar
i don't think he has efi
4:08 AM
his laptop is like 12 years old
Avatar
Oh, right
Avatar
16G swap? that's A LOT
Avatar
I'd leave some free space to install whatever distro he wants after trying
4:09 AM
(I have that on my pc, haven't really needed it though) (edited)
Avatar
but @Elektron, please check the amount of ram on your pc
4:09 AM
oh ok
Avatar
Is probably overkill
Avatar
yes, that's what I thought
Avatar
Hey @tux-linux have you tried zfs?
4:10 AM
I fear it honestly
4:10 AM
ext4 is well fineeeee
Avatar
Hahahah you are right by doing so
4:10 AM
BUT
4:10 AM
After you get accustomed it's actually amazing
Avatar
yeah, it seems nice
4:10 AM
but I wouldn't want to move my Qt build stack to that type of filesystem
Avatar
You could start out with maybe a virtualized freenas instance to get accustomed to the concepts
Avatar
yeah
4:11 AM
or qemu
Avatar
Yeah, with FreeNAS I mean the distro
Avatar
oh ok
Avatar
It's a FreeBSD distro
Avatar
nice
4:11 AM
I used bsds before
Avatar
(so official zfs)
Avatar
they're... different
4:12 AM
but very awesome
Avatar
But it seems that zfs on linux is actually stable now so I just made a frankenstein in my pc)
Avatar
I also managed to install OpenBSD on my 20year old imac G3, worked well
4:12 AM
yeah haha
Avatar
Oh boy, that's nice
Avatar
Avatar
fermino
But it seems that zfs on linux is actually stable now so I just made a frankenstein in my pc)
You're going to laugh at this:
4:13 AM
I have a 220GiB sata ssd and a 240GiB nvme ssd, both are sort of old and I can't actually boot from the nvme so it's pretty useless for the system
4:14 AM
So I made this, 60G in the ssd for /, then the rest of the sata+the nvme in a raid0 array with zfs
4:14 AM
And 16G of swap in the nvme
4:15 AM
So the plan is to have at least home in the r0 array but I'll try to move some system stuff there and see how bad it breaks hahahah
Avatar
good luck
4:15 AM
i'd give this a failure rate of 50/50
4:16 AM
and if you put 16G swap on the nvme ssd someday it will wear out too much and just be unusable
4:17 AM
but well, I hope for you that it will work...!
Avatar
Avatar
tux-linux
and if you put 16G swap on the nvme ssd someday it will wear out too much and just be unusable
Probably, I haven't seen the system using too much swap anyways, usually <20MB (edited)
Avatar
you probably have enough ram
Avatar
And the best part about zfs is that it'll take advantage of the free ram, and well, compression
Avatar
Avatar
tux-linux
you probably have enough ram
16G too
Avatar
Avatar
tux-linux
but well, I hope for you that it will work...!
Thank you!!
Avatar
There you go
4:20 AM
W o a h
Avatar
I can SSH into it
4:20 AM
233mhz cpu (edited)
4:20 AM
slower than the kobo
4:23 AM
What about RAM?
Avatar
hahaha (edited)
4:23 AM
256M
4:23 AM
but before it was 32M
4:23 AM
let me tell you it was not a joy to use it
4:24 AM
ha btw I even installed gcc on it
4:24 AM
and I tried to compile Python
Avatar
Avatar
tux-linux
i don't think he has efi
yep
4:25 AM
no efi
Avatar
Avatar
tux-linux
but @Elektron, please check the amount of ram on your pc
how?
4:26 AM
wait nvm i'll check in settings
4:27 AM
3.8 GiB of memory
4:27 AM
160 gb total :/
Avatar
I'd say 8G of swap then
Avatar
That's still plenty!
Avatar
im familiar with swap because my chromebook doesn't have enough ram for me
Avatar
Avatar
dill
how?
In the console you can do a free -mh
Avatar
console or terminal?
4:28 AM
never mind same thing
Avatar
hmm you should read what the terms really mean
4:29 AM
i have a pdf about linux on my kobo so i also wanted to start on that
Avatar
nice!
4:29 AM
btw I'm planning to write a book
4:30 AM
title: What if your brain was running Linux
Avatar
it'd have dmesg logs, strace, shell logs and a main human-readable story
4:31 AM
seriously if I write it then it'd be a great book lots of fun (edited)
Avatar
definitely
4:31 AM
the title alone is awesome
Avatar
c? (edited)
Avatar
@fermino what do you think about the book?
4:32 AM
yes
Avatar
wooo that looks old
4:32 AM
20 years old at least?
Avatar
1998
4:33 AM
10 yrs older than me
4:33 AM
just btw, "super" is the Windows key, right?
Avatar
yeah
4:34 AM
also, i lost my liveusb :(
Avatar
already?
4:34 AM
well don't worry; it happens to anyone
4:35 AM
me it's more like when I loose my sd card adapter (at least once a day)
Avatar
well i have had it lying around on my desk but yeah i lose stuff a lot
Avatar
and when I lost microSDs
Avatar
that would be painful to find
Avatar
wait, SCREWS
Avatar
can i make a "liveSD?"
Avatar
aaaaaaaaaaahhhhhhhhhhhhhhh
4:36 AM
no
4:36 AM
well
4:36 AM
maybe
Avatar
or "liveMicroSD"
4:36 AM
because i cant get any other drives
Avatar
but 1. your pc probably wouldn't let you boot into it 2. it'd be difficult to do
Avatar
the other computer refuses to spit out my CD
Avatar
Netboot
Avatar
PXE
4:36 AM
iPXE
Avatar
netboot!
Avatar
yep that's a cool thing
4:37 AM
sometimes I have an ipxe server there; sometimes not
4:37 AM
it's cool to just start off your computer without anything on it, even a drive
Avatar
i want to keep arch
Avatar
do you have another computer lying around?
Avatar
like an old crappy w10 pc?
Avatar
like a pc?
Avatar
well yeah but its used a lot
Avatar
doesn't matter
Avatar
what do you have in mind?
Avatar
do you have windows on it?
4:38 AM
that's the ONLY thing that ties me to windows right now (edited)
4:39 AM
"it just works"
4:39 AM
linux setup is kind of... not easy
Avatar
what im thinking is, i could use a command to install each distro
4:39 AM
and netboot, at least for ubuntu because its a piece of cake
Avatar
to netboot? no
Avatar
how does netboot work?
Avatar
PXE is a standard for booting a computer over a network. This is a complete guide on how PXE boot works and its use cases.
4:40 AM
basically
Avatar
Avatar
tux-linux
@fermino what do you think about the book?
What book?
Avatar
read a little above
Avatar
Oh NVM I just read the msgs
4:41 AM
I'd read it, TBH
4:41 AM
Hahahah
Avatar
it would certainly be interesting
Avatar
yep, it'll be lots of fun to write
4:42 AM
you know
4:42 AM
Booting Linux on phsyical brain 0x0
Avatar
when you have insomnia you go shutdown now
Avatar
yeah
4:43 AM
and when you want to forget all
4:43 AM
rm -rf /
Avatar
if i wanted to start now, what would i do?
4:43 AM
for installation
Avatar
download tinypxe
Avatar
pacman -S tinypxe?
4:44 AM
the link I shared with you
4:44 AM
install it on windows
4:44 AM
on your other pc
4:44 AM
then
Avatar
are you sure you don't have your usb somewhere? because it's a lot of hassle to set up all of that
Avatar
i'll go look around again
4:45 AM
be back in about 3 mins
Avatar
no luck :/
Avatar
hmm
Avatar
i could try and make the other laptop spit out my DVD
4:48 AM
imma do that
Avatar
yup
4:48 AM
there could be a hole when you could put a paperclip
4:49 AM
and it'd spit out right there
Avatar
the paper clip worked :D
4:54 AM
so just the matter of flashing images
4:54 AM
right?
Avatar
nice
4:55 AM
yes you could transplant the hard drive on the other computer
Avatar
well you want to install via dvd?
4:56 AM
or your pc already has a dvd drive?
Avatar
i have a dvd now
4:57 AM
yes i want to install with dvd
4:57 AM
both computers have a dvd slot
Avatar
well burn the iso on the dvd
Avatar
you can do that with cdrecord or k3b on linux
Avatar
k3b always worked very well with me
Avatar
well im on windows with the other one rn
4:58 AM
so im using etcher
Avatar
huh no
4:58 AM
right click -> burn disc image
Avatar
is there a difference between burn and flash? just btw
Avatar
OF COURSE
5:00 AM
i want to flash it though
Avatar
well no
5:00 AM
it won't work
Avatar
...i used etcher for ubuntu and it worked?
Avatar
With the rise of the MP3 format, burning your own music CDs has never been so popular -- or so easy. CDs have become one of the most widely adopted data-storage mechanisms.
5:00 AM
etcher is for usb
Avatar
read this and you'll understand why it's not the same at all
5:01 AM
it's for cds, but basically it's the same thing
Avatar
is burning permanent though? that's what i want to know
Avatar
yes
5:02 AM
unless you use a rw dvd
5:02 AM
well is the dvd blank right now?
Avatar
i think so
5:03 AM
its a dvd-r
Avatar
well does it have anything inside?
5:03 AM
but i only have the one dvd
Avatar
when you put in the reader, it says "You've inserted a blank disk" or something like that?
Avatar
"New Volume (D:)"
5:03 AM
nothing in file explorer though
Avatar
it should be ok
5:04 AM
choose your distro
Avatar
"This folder is empty."
Avatar
gentoo ?
Avatar
ubuntu first
Avatar
oh no
5:04 AM
no
5:04 AM
no
5:04 AM
it's already written up then
5:04 AM
so i cant use it?
5:05 AM
pretty sure we have a lot of disks downstairs
Avatar
well maybe it's just windows that is creating a folder so you can burn files to disc but hasn't burned them yet
5:05 AM
so it could work
5:05 AM
try burning ubuntu, we'll see
Avatar
just right click on the iso and click burn
5:05 AM
and wait patiently
5:05 AM
could take ~30mins
Avatar
wait no it says "DVD R drive (E:)" but it doesnt show up in file explorer
5:06 AM
only in the img burner
5:06 AM
does that mean its blank
Avatar
should be good
Avatar
can you click burn?
Avatar
"theres no disk in ur burner"
5:07 AM
im gonna go check downstairs for any more
Avatar
yep
5:13 AM
nope
Avatar
sad
5:14 AM
hunt around for usbs in your house then
Avatar
my dad says he threw the DVDs away
5:14 AM
maybe
5:15 AM
i only had the one usb
5:15 AM
because the rest are my dad's for work
Avatar
or hunt around the room you lost it in
Avatar
you could try debootstrap
Avatar
or my original suggestion: dd
5:16 AM
or the other things you used
5:16 AM
because i agree, dd would not be safe (edited)
5:17 AM
lets see if nautilus recognizes my dvd
5:18 AM
nope
5:20 AM
k gotta go, i'll try netboot in the morning unless i miraculously find a drive
5:20 AM
bye
Avatar
ok bye
5:20 AM
I might not be there though
5:20 AM
I'm gonna be away for a few days
3:53 PM
are you on rn though? @tux-linux
Avatar
yes
3:53 PM
but not for a long time
Avatar
sure no problem
3:53 PM
is there a cmd for burning images to partitions?
Avatar
wellll
3:55 PM
Linux’s GRUB2 boot loader can boot Linux ISO files directly from your hard drive. Boot Linux live CDs or even install Linux on another hard drive partition without burning it to disc or booting from a USB drive.
3:55 PM
it's not stable though and could not work
Avatar
no harm in trying though
Avatar
i mean there is
Avatar
but I won't be there to help
3:56 PM
maybe fermino could if he gets online
Avatar
well then... i'll have to use the guide ¯\_(ツ)_/¯
Avatar
yep
Avatar
good luck!
3:56 PM
do you use fedora
3:57 PM
I never really tried it
3:57 PM
well I mean, I booted it at some point
3:57 PM
but arch and debian based distros are fine enough for me
3:59 PM
Invite to join a server
4:00 PM
and
Avatar
nice
Avatar
so i can get help from the arch server
Avatar
great
Avatar
found my USB drive :DDD
Avatar
what fs type do i use and how big?
10:24 PM
@fermino can you please give me some pointers?
Avatar
What do you want it for?
Avatar
ubuntu 20.10
10:27 PM
/dev/sda5
Avatar
For the whole system?
Avatar
no, just ubuntu on one partition
10:28 PM
out of 6 partitions
10:28 PM
Well
10:28 PM
I'd say 25G, ext4
10:28 PM
format or no?
Avatar
And make sure to have a swap partition too
10:28 PM
Yeap
10:28 PM
Format it
Avatar
how do i do that? (swap)
Avatar
Are you using the installer?
Avatar
Just create a partition, 8G and select the type as swap
Avatar
k, thanks!
10:30 PM
mount point?
10:30 PM
im guessing /mnt
10:34 PM
For the main partition it would be /
10:34 PM
The swap shouldn't have any
Avatar
k, thanks!
Avatar
its not letting me go above 539 MB
11:32 PM
@fermino?
Avatar
Which one?
Avatar
Avatar
fermino
Which one?
ubuntu
11:59 PM
both swap and ext4
Avatar
Hum.. that's weird, is the disk empty before you try to create one?
12:07 AM
Can you maybe take a picture
Avatar
Avatar
fermino
Hum.. that's weird, is the disk empty before you try to create one?
you mean i should wipe the disk?
1:30 AM
what im doing is changing the partition to ext4 and resizing it
Avatar
gave up on ubuntu and started deepin
1:54 AM
flashing
Avatar
Avatar
dill
you mean i should wipe the disk?
It should let you resize it as long as you have enough space free, if not, you should shrink other partitions to make some space
Avatar
Avatar
fermino
It should let you resize it as long as you have enough space free, if not, you should shrink other partitions to make some space
i decided i'm gonna resize the partitions with fdisk before i installed, what do you think?
Avatar
i resized sda2 and planning to install deepin
Avatar
Should be OK
Avatar
Avatar
tux-linux
Should be OK
i decided to wipe my disk and create new partitions with parted
Avatar
Good idea
Avatar
fdisk i'm more comfortable with (edited)
12:29 AM
ubuntu is only in emergency mode, any help?
12:29 AM
also can i use the same root partition for different distros
Avatar
Avatar
dill
ubuntu is only in emergency mode, any help?
@fermino
Avatar
Avatar
dill
also can i use the same root partition for different distros
nvm
Avatar
@OfficerAction here's my project currently. I'm stuck there for now because I only have LTE and only 250mb of data here. I made some progress setting config options and making them persistent, launching apps, functions, etc. Now I'll try to make an Epub reader but it won't be easy. In the code, I started with *something" but it's very bad and I hope that we'll get QtWebKit running on it, and then epub.js with node and we'd have a working Epub reader Anyways, I included the code and the binaries, you'll want to put them in /mnt/onboard/.adds/inkbox (edited)
3:33 AM
3:35 AM
3:52 AM
Screenshots for the record
Avatar
Btw for the book, should the brain run with systemd, openrc or sysvinit?
Avatar
systemd i think
3:51 PM
btw, deepin and arch installs successful!
3:51 PM
:D
3:52 PM
grub also has a nice little aurora wallpaper
Avatar
nice!
Avatar
Avatar
tux-linux
@OfficerAction here's my project currently. I'm stuck there for now because I only have LTE and only 250mb of data here. I made some progress setting config options and making them persistent, launching apps, functions, etc. Now I'll try to make an Epub reader but it won't be easy. In the code, I started with *something" but it's very bad and I hope that we'll get QtWebKit running on it, and then epub.js with node and we'd have a working Epub reader Anyways, I included the code and the binaries, you'll want to put them in /mnt/onboard/.adds/inkbox (edited)
OfficerAction 3/2/2021 6:07 PM
Hey there. Writing the reader from scratch is quite the task 😄 Just look at koreader or plato, they are massive. It's not impossible tho ;). The other way way is easier. And node runs quite well on the kobo.
Avatar
Yeah, any pointers to just get it (WebKit) built for the Kobo? I tried removing the flag disabling it and it said that I didn't have the required libc version (edited)
Avatar
Booting Linux on physical brain 0x0 Linux version 5.4.41-brainux (tyler@tyler) (gcc version 10.2.1 (GCC) ) #99 SMP Tue Mar 2 01:21:47 EST 2021 Brain: Homo Sapiens brain, rev. 1.0 (brainPROC) Machine model: Tyler Board Memory policy: Data cache writeback Brain: All brain(s) started in SVC mode, Kernel command line: console=ttyNOSE0,115200 rootwait rw mem=VARIABLE boot_port=0 rootfstype=brainFS root=/dev/vstorage0p1 Memory (current): 1024881K/? available BRAIN-0 enabling additional brainPROC features BRAIN-0 successfully enabled SLEEP, WAKE, HARD_SLEEP, SOUND, CORE_FUNC Console: ttyNOSE0 connected, 115200 baud rate. Brain: Testing write buffer coherency: ok, 2 fails/330 writes Brought up 1 Brain. SMP: Total of 1 processors activated. devtmpfs: initialized NET: Registered protocol family 16 DMA: preallocated 256KiB pool for atomic coherent allocations. braincore: registered new interface driver brainfs braincore: registered new interface driver libsound braincore: registered new interface driver eyeslib brain_libsound driver module loaded Advanced Linux Sound Architecture Driver Initialized (extensions: brain_libsound, brain_audio-input-output). NET: Registered protocol family 31 NET: Registered protocol family 2 NET: Registered protocol family 1 console [ttyNOSE0] enabled input: hand0,hand1,ear0,ear1,mouth interfaces initialized at /dev/input
6:51 PM
Tyler's brain dmesg log
4:16 AM
lol i love the "brainux" thing
4:55 AM
:D Some progress with InkBox! It can only display txt files for now but I think it's not that bad after all Thoughts?
5:15 AM
great!!
👍 1
Avatar
Avatar
tux-linux
Yeah, any pointers to just get it (WebKit) built for the Kobo? I tried removing the flag disabling it and it said that I didn't have the required libc version (edited)
OfficerAction 3/3/2021 8:59 PM
For WebKit I think it's just like WebEngine(chrome), it needs a recent glibc witch in turn needs a more recent kernel than on the kobo (>=3.2 i think). No chance to get it running.
9:00 PM
Another libc like musl is the only way
9:01 PM
Or if you have a newer kernel on the kobo that should also work
Avatar
Well New kernels on mark 7s don't help But maybe it's the libc which causes all of those problems Maybe a Debian chroot with glibc?
Avatar
How about a first pre-alpha release?
7:27 PM
11:45 PM
btw, you're back?
Avatar
yes
11:46 PM
so, only txt for now? i'm assuming it has something to do with cat (edited)
Avatar
I could create a git repo tonight, but I want to do some more coding with a text select function that would search dictionnaries
11:46 PM
yes
11:46 PM
and it's ... well, trash
Avatar
by what standards?
Avatar
like, not good for anything beyond displaying text
11:47 PM
like forget pre-formatted centered text
Avatar
"Huckleberry Finn"?
11:47 PM
oh
Avatar
sometimes the text just clips and goes out of the display
11:48 PM
no not something with cat
Avatar
yikes :/
Avatar
it's a ... compilcated ... mess ... of qlabel + qfile + python + qdiriterator
11:48 PM
also when i try to install browsers on deepin, it says "broken dependencies"
11:49 PM
plus, discord gives me an update message, but the tar.gz is "corrupted" or something and the .deb is "broken dependencies" again
Avatar
that'll give you an idea of how trash the thing is (but should be fixable in the future though) #!/usr/bin/python3 import os os.chdir("/inkbox/book/split") book = open("../book.txt", "r") text = book.read() book.close() booklist = text.split(" ") split_booklist = [booklist[x:x+225] for x in range(0, len(booklist),225)] len_split_booklist = len(split_booklist) i = 0 while i < len_split_booklist: print(i) istr = str(i) file_iterator = open(istr, "w") writecontent = " ".join(split_booklist[i]) # writecontent = writecontent.replace("\n", " ") i += 1
Avatar
Avatar
dill
plus, discord gives me an update message, but the tar.gz is "corrupted" or something and the .deb is "broken dependencies" again
in those cases i reinstall the distro AND i do a apt-get update && apt-get upgrade
Avatar
im using the app store thingy, maybe thats why
Avatar
don't
Avatar
apt-get?
Avatar
apt is the way
Avatar
k, i'll go ahead and boot deepin
Avatar
to search the pkg you want, google ubuntu <pkg>
11:52 PM
and you'll likely get the name of the pkg that you'll be able to install with apt install <pkg>
11:52 PM
brb
Avatar
it wont work but i'll live
12:00 AM
i have discord on arch anyways and i got chromium
12:00 AM
which distro should i install next?
12:00 AM
@tux-linux
Avatar
i suggest you try gentoo
Avatar
i have the gentoo img on my usb rn actually
12:01 AM
no idea how to install though
Avatar
if you're brave enough, linux from scratch
12:01 AM
nice!
Avatar
i'll look up the guide
12:02 AM
apparently i dont have chromium .-.
Avatar
wait nvm i forgot, i reinstalled arch a couple days ago
12:02 AM
thx
12:03 AM
also, how do i create a swap partition with fdisk
12:03 AM
or
12:03 AM
any other command
Avatar
This tutorial explains how to view, list, activate, deactivate, add, remove, increase, decrease mount and format swap space and swap partition in Linux step by step with practical examples. Learn essential swap space management tasks including what swap space is and how swap space is used in Linux.
12:04 AM
there you go
Avatar
i foolishly made my deepin 83G so no swap space :/
12:06 AM
how can i resize?
12:08 AM
resize2fs /dev/sda3 33G?
12:08 AM
@tux-linux
Avatar
i guess
12:09 AM
i don't use resize2fs very often (edited)
Avatar
[dill@archlinux ~]$ sudo resize2fs /dev/sda3 33G [sudo] password for root: resize2fs 1.46.1 (9-Feb-2021) Filesystem at /dev/sda3 is mounted on /; on-line resizing required resize2fs: On-line shrinking not supported [dill@archlinux ~]$
12:13 AM
so i'll use usb
12:13 AM
see you in 2 mins
Avatar
start on a live cd
12:13 AM
ok
12:20 AM
i'll leave now
12:20 AM
bye
12:20 AM
bye
Avatar
ready to install gentoo!
4:40 AM
will let you know how that goes :D
4:41 AM
wait
Avatar
feel free to ask for help
Avatar
so apparently the resize2fs didnt work >:C
4:42 AM
i wanted to resize 83G to a 33G then make another 33 partition, then use the remaining space for swap
Avatar
well... maybe you could try erasing the hard drive and starting all over again but by installing Gentoo I think it will be more easy as you'll be able to stay with the stock guide and not modify that much the instructions but if you don't want to... what's the "remaining space" ?
Avatar
i think 17G
4:43 AM
¯\_(ツ)_/¯
Avatar
that's ... a lot
Avatar
well so much that the kernel couldn't actually use it all
Avatar
i think i should make a 10G partition then
Avatar
how many ram?
Avatar
free -mh ?
Avatar
total used free shared buff/cache available Mem: 3.8Gi 902Mi 2.1Gi 191Mi 794Mi 2.5Gi Swap: 0B 0B 0B
Avatar
ok so 4G
Avatar
not that bad
4:45 AM
you'll need swap for gentoo though
Avatar
i'd say that 8G would be enough
Avatar
then 9g freespace?
Avatar
no
4:46 AM
you create a swap partition
4:46 AM
then you activate it with swapon
4:46 AM
it's all in the gentoo guide
Avatar
yeah but after that there'd still be freespace of 9g
Avatar
after you created the swap partition?
Avatar
then increase the size of the previous partition to fill all the disk
4:47 AM
but the thing is i dont want to erase the disk again
4:47 AM
i want to install gentoo on sda2
4:47 AM
its empty
Avatar
fdisk -l please, will help me visualize what partition layout you have
Avatar
Disk /dev/sda: 149.05 GiB, 160041885696 bytes, 312581808 sectors Disk model: WDC WD1600BEKT-6 Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x86308630 Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 69207126 69205079 33G 83 Linux /dev/sda2 69208064 138414079 69206016 33G 83 Linux /dev/sda3 138414080 312581807 174167728 83G 83 Linux
Avatar
do you use all the partitions?
Avatar
/dev/sda3 138414080 312581807 174167728 83G 83 Linux is the issue, i want it to be reduced to 33G
4:49 AM
no
4:49 AM
only 1 and 3
Avatar
what system are you on?
Avatar
arch atm
Avatar
try with gparted, even if it's GUI i've had some luck with that in the past
4:50 AM
if it doesn't work, start the gentoo live cd and to the resize2fs thing from there
Avatar
sudo: gparted: command not found
Avatar
well; install it
Avatar
installing
4:52 AM
"free space following (MiB)"
4:52 AM
hmm
Avatar
9000000
4:53 AM
no wait
Avatar
MiB not MB i think...
Avatar
9216
4:53 AM
no mib and mb are similar
Avatar
my head thought that it was asking you kibs
Avatar
except mib are ^2 and mb are ^10
4:53 AM
lol
Avatar
yeah
4:54 AM
you'll learn to live with them as you use linux
4:54 AM
they're everywhere
4:54 AM
especially in KDE
Avatar
"Minimum size: 85043 MiB"
Avatar
and in pretty much all shell commands that give you space info
Avatar
same for maximum
Avatar
oh that's bad
4:54 AM
is the partition unmounted?
Avatar
i think
4:55 AM
i really dont know (edited)
4:55 AM
df -h?
Avatar
well if it's unmounted it won't show up
4:55 AM
(in df)
4:55 AM
restart and boot gentoo, do the resizing stuff from there, should work
4:56 AM
with parted or gparted or resize2fs?
Avatar
well resize2fs
Avatar
the livecd has no gui
Avatar
rebooting on usb
5:01 AM
the fs is 33g but not the partition
Avatar
you mean, installed size?
Avatar
that's impossible then
Avatar
the partition is bigger than the filesystem apparently
5:02 AM
apparently
Avatar
then you have another partition
Avatar
where did you get that from?
Avatar
"the filesystem is already <number> blocks long, nothing to do"
5:03 AM
/dev/sda1 is 33, same with sda2, and sda3, which has arch, is 83g
Avatar
try with -f
Avatar
resize2fs -f /dev/sda3 33G?
👍 1
5:04 AM
after e2fsck
5:04 AM
ok
5:10 AM
same thing
5:11 AM
already 8650752 blocks long or something...
Avatar
don't know then
5:11 AM
can't really give you another advice than starting from scratch again
Avatar
ok then
5:12 AM
i'll put this on hold until the weekend
5:12 AM
because i have a lot to do
Avatar
ok
5:12 AM
btw, would you be willing to lend a hand to test inkbox? like, in the next days, probably?
Avatar
ok thx
Avatar
you'll have to test it on the aura, because touch input is broken on the mini
5:14 AM
so i think i'll go look up solutions and if i dont find one then i'll do the wipe
Avatar
ok
Avatar
wait, instead of a full wipe, i could delete sda3 only
Avatar
yes!
Avatar
and make some new ones
5:14 AM
can i use logical partitions?
Avatar
logical is 4 max, right?
5:15 AM
you should be able to
Avatar
4 max primary, then logical
Avatar
wait, isn't it called "Extended"?
5:16 AM
but yeah take primary whenever possible
5:16 AM
primary is up to sda4 is seems
5:16 AM
k then what i'll do is:
5:17 AM
delete sda3 from deepin, use fdisk to create some new partitions and some swap space
Avatar
yes
Avatar
then reinstall arch and gentoo
Avatar
yes
5:17 AM
but you should wait for the swap
5:17 AM
do it when you install gentoo
Avatar
so install arch first, then make swap?
Avatar
with gentoo
Avatar
yeah, it could be better to skip the part where the Arch guide says that you need to have swap
Avatar
but dont i need the swap for gentoo installation?
Avatar
yes
5:18 AM
you set up it while installing
5:18 AM
before compiling and all
Avatar
i.e. before your computer explodes
Avatar
makes sense
5:18 AM
lol
Avatar
yeah, actually
Avatar
i had one computer that the thermal paste was so bad that it shut down randomly when doing high CPU tasks
5:19 AM
so I thought
5:19 AM
why not install gentoo on it?
5:19 AM
hmm
Avatar
I opened the computer, put a fan underneath it and put it between two chairs
5:20 AM
there you go, super cooling and the computer did not shut down for three days in a row of compiling
5:20 AM
did it work?
Avatar
well yes
Avatar
but gnome failed because of low ram
5:20 AM
no swap?
Avatar
but the system installed though, it worked
Avatar
yes, i think
Avatar
there was swap?
5:21 AM
huh
Avatar
yes but sometimes swap is not enough
Avatar
sometimes you really need ram
5:21 AM
I also installed Gentoo on a 20 year old thin client
5:21 AM
the kernel took 2 DAYS to compile with the modules
5:21 AM
yeah, like 48 hours
Avatar
thats true when im listening to spotify, chatting, and playing a high graphics game on my chromebook
5:21 AM
YIKES
5:22 AM
this is 11 years old, its probably gonna take like 8 hours
Avatar
no
5:22 AM
certainly not
5:22 AM
i'd say at least 4 days
Avatar
yeeeeek
Avatar
or 1 or 2 weeks if you intend to compile the whole gnome desktop and chrome
Avatar
but you'll be proud
5:22 AM
I use Gentoo btw
5:23 AM
😤
5:23 AM
hahaha
Avatar
you can join the Gentoo reddit too in the meantime
Avatar
r/gentoo?
Avatar
yep
Avatar
im in the gentoo disc as well
5:23 AM
thats gonna be painful to install then haha
5:24 AM
i'll start early saturday morning
Avatar
After that, just to hurt you more, I'll make you install Linux From Scratch looool
Avatar
no just a joke, don't worry
Avatar
lol it'd be nice to try tho
Avatar
but linux from scratch really took me 1 week or so
5:24 AM
it was really cool though
5:24 AM
and that's what got me back in mobileread and kobo hacking
5:24 AM
around the ~1st of january
Avatar
yeah, felt good to come back after all of these months
Avatar
linux from scratch - is that a distro?
Avatar
no
Avatar
i was surprised to see you come back onto MR
5:26 AM
with such a big project
5:26 AM
i was excited
5:26 AM
:D
Avatar
yeah, the development environment I actually found that in late August, but I didn't know I could mount imgs with a 2G filesystem and I was stuck with a 256Mb tmpfs due to fat32 limitations
5:27 AM
i have to go :/
Avatar
ok
Avatar
school tomorrow and all that
5:27 AM
bye
Avatar
bye (edited)
Avatar
morning
3:39 PM
so...
3:39 PM
for the compilation of the kernel
3:40 PM
will the laptop be on for 2-3 weeks, and if so, will it use wifi? @tux-linux
3:41 PM
gotta go
3:41 PM
see you at like 8 or 9pm MST
Avatar
no, well only to download the source files
4:16 PM
I suggest you hook it up to wired internet though
4:16 PM
strongly suggest
Avatar
Ok, so finally added a dictionary to InkBox
Avatar
Little design change in the definition's font
5:54 PM
@OfficerAction do you know of a way to increase the font size (especially of the reader's qlabel) ? I tried multiple ways (setPointSize, setPixelSize) but none of them worked. The text is still scaled to the screen and there's no way to change its size. Maybe you have a hint? or is it impossible? thanks!
3:49 AM
i can test if you want btw
Avatar
now?
3:50 AM
anytime
Avatar
ok
3:50 AM
do you already have UMR installed?
Avatar
ok
Avatar
i don't read manga
3:50 AM
should i install it?
Avatar
me neither
3:50 AM
no
3:51 AM
not necessarily
Avatar
I'll make an archive with all the files
3:51 AM
how long do you think you'll be there?
Avatar
koboroot?
3:51 AM
hmm i can be back on in 30 mins
3:51 AM
dinner in a bit, also preparing to reinstall arch
Avatar
no not koboroot
3:52 AM
a bit like one click packages
Avatar
oh so a script
Avatar
no
3:52 AM
just a txz that you untar in "Kobo eReader'
Avatar
oh wait, so like a .adds folder?
3:52 AM
oh okay
Avatar
yeah, basically the one click script does that; it extracts the zip in the kobo partition
3:53 AM
dinner brb
4:08 AM
you'll need the stuff with python3 update-kobostuff python3 if not already done
4:08 AM
extract it in the Kobo eReader partition
4:08 AM
(/dev/mmcblk0p3) - > the exported one
Avatar
I'm thinking of merging InkBox with KoBox like, we could have a launcher, and InkBox would be easily accessible, but we could also have Xorg apps with that
Avatar
oh yeah!
4:13 AM
or make inkbox a kobox app
Avatar
well
4:14 AM
technically qt in xorg is possible, and it's used by some apps like telegram
4:14 AM
but it will be better if we just display it raw to the framebuffer
4:14 AM
also, you'll probably want to start the thing via ssh
4:15 AM
kernel
Avatar
aura
Avatar
the script is in /mnt/onboard/.adds/inkbox/inkbox.sh (edited)
4:15 AM
you start if from there, not from some other folder
4:15 AM
or things will go wrong
4:16 AM
like cd /mnt/onboard/.adds/inkbox and then ./inkbox.sh
4:17 AM
you'll probably want to tweak some settings in the inkbox launch command in the script, as touch input might not work right away, though you should be good, it's not like with the kobox thing
4:19 AM
there ADDSPATH=/mnt/onboard/.adds/ QTPATH=${ADDSPATH}/qt-linux-5.15.2-kobo LD_LIBRARY_PATH=${QTPATH}lib:lib:QT_QPA_PLATFORM=kobo:touchscreen_rotate=270:touchscreen_invert_x=1:touchscreen_invert_y=1:logicaldpitarget=0 ./inkbox
4:19 AM
also, for the brightness to work... ah we'll discuss that once you have it installed, it's not crucial
Avatar
@dill did you get it running?
Avatar
Avatar
tux-linux
also, for the brightness to work... ah we'll discuss that once you have it installed, it's not crucial
echo 100 > /sys/devices/backlight/mxc_msp430.0
Avatar
yeah, change the ln -s in the script accordignly
Avatar
no idea where my e-reader is atm
4:49 AM
:/
Avatar
oh ok
Avatar
found it
Avatar
great
Avatar
i left it in the car :/
Avatar
is it still ok?
5:09 AM
a little slow refresh
Avatar
normal
Avatar
should go away in a couple hours
Avatar
or faster if it warms up faster
Avatar
well, you can test it now!
5:09 AM
yeah
5:10 AM
downloading the tar.gz
5:10 AM
for gentoo, do i have to leave it on the entire time its compiling
Avatar
sure
Avatar
have to?
Avatar
well... yes, otherwise how would it be able to compile things?
5:12 AM
so it'll be lying around, on, for a couple weeks
Avatar
well it depends what you want to do with gentoo
Avatar
same as arch
Avatar
if you decide to compile the whole gnome desktop, yea, sure
Avatar
ok then
Avatar
if it's only for CLI, then i'd say 3-4 days
Avatar
nope, gnome
Avatar
wishing you luck
👍 1
Avatar
whats the gui that uses the least time
Avatar
openbox
5:14 AM
openbox + xorg
5:14 AM
that's what kobox uses
Avatar
thats what i was about to say lol
Avatar
you can customize it pretty much how you want
5:15 AM
check out bunsenlabs, they have a good distro with a pretty good design
Avatar
you think gnome would work on kobox
Avatar
NOOOOO
5:15 AM
like
5:15 AM
don't
5:15 AM
ever
5:15 AM
think of it
5:15 AM
if it ran; well it'd crash right away
5:15 AM
i see
Avatar
1. low ram 2. crappy graphics 3. crappy cpu 4. crappy chroot environment
Avatar
did the inkbox tgz finish downloading?
Avatar
i finished extracting, actually
Avatar
nice
Avatar
Installing Python3 r18219 . . .
5:19 AM
should i go python-setup
Avatar
if you can, and if it works, please take a picture of inkbox running, it'll be cool
5:19 AM
if you want (edited)
5:19 AM
ok sure
5:19 AM
should i go python-setup though?
Avatar
well it's up to you
5:19 AM
it's just 2 minutes approx
5:20 AM
took near 15 for my mini though
Avatar
look on the screen this time for progress 😉
5:20 AM
the mini has a slower cpu and less ram
5:20 AM
already done
Avatar
what did I say
5:21 AM
ok so now cd /mnt/onboard/.adds/inkbox
5:21 AM
then what
Avatar
./inkbox.sh
5:21 AM
working!
Avatar
well, touch input?
Avatar
perfect!
Avatar
oh that's actually awesome
Avatar
do you see the authors quote
Avatar
yeah, thats a cool part!
Avatar
what about the general design? look-n-feel? font?
5:23 AM
btw there's no calendar app for now
5:23 AM
others should work though
Avatar
"search: does nothing
Avatar
normal
Avatar
i didn't figure out how to integrate qvirtualkeyboard in this mess of code
5:23 AM
like, reader.cpp has 500 lines of code
Avatar
maybe look at the source code for vlasovsoft
Avatar
well
Avatar
the launcher
Avatar
there's none
5:24 AM
it's closed-source
Avatar
cant you look at the files in your e-reader though
Avatar
oh actually
5:24 AM
it might be open source
Avatar
just to get a sense of how its made
Avatar
well I have the sense of how it's made umr did integrate it too; i'll have a look at that
5:25 AM
do you have a txt file to test reading?
Avatar
not atm
Avatar
www.gutenberg.org/ebooks/76
5:25 AM
download the plain-text (utf-8) one
5:26 AM
and then click on reader and choose the file (it automatically sets the directory to onboard)
Avatar
i hit the quit button and it froze
Avatar
well
5:26 AM
"Quit"
5:26 AM
what would you expect it to do instead?
5:26 AM
it exited, simply
Avatar
so how do i go back to nickel?
5:26 AM
ohh ok
Avatar
reboot
5:27 AM
but you can access the shell
Avatar
i thought my ereader crashed
5:27 AM
ye
Avatar
no
5:27 AM
just relaunch inkbox.sh
Avatar
first im going back to nickel to put the txt file on it (edited)
Avatar
well
5:27 AM
scp
5:27 AM
ftp
Avatar
didnt think of that actually :/
Avatar
Important note: when you launch it via inkbox.sh and want to stop it with ctrl c, if you launched settings, or the saved words app, it silently "exits" inkbox and restarts it when you click the back or ok button, to reload settings and all. therefore, you'll want to do a killall inkbox before re-launching it if you didn't quit it with the "Quit" button
Avatar
but if you did quit with the button, there's nothing to worry about
Avatar
we could make a nm action for inkbox.sh
Avatar
yeah
5:30 AM
but it's not ready
5:31 AM
like, the render engine is crap
Avatar
[root@snow root]# cd /mnt/onboard/.adds/inkbox [root@snow inkbox]# ./inkbox.sh rm: can't remove '/var/run/brightness': No such file or directory
Avatar
not to worry about
5:31 AM
you just rebooted
Avatar
so it didn't create the symlink in the tmpfs /var/run before the script
Avatar
reading!
5:33 AM
how do i get the prompt
Avatar
also hints so that inkbox loves you and you love inkbox, don't try to bring up the options menu when there's a lot of text in the page (like it goes from top to bottom) or it will clip and things will go... strange. like, qt will enlarge the display
5:33 AM
the words?
Avatar
Numeric mode unsupported in the posix collation implementation QIODevice::read (QFile, "/inkbox/book/split/."): device not open QIODevice::read (QFile, "/inkbox/book/split/.."): device not open QIODevice::read (QFile, "/inkbox/book/split/."): device not open QIODevice::read (QFile, "/inkbox/book/split/.."): device not open
5:33 AM
no prompt
Avatar
well no
Avatar
like [root@snow root]#
Avatar
inkbox is running
Avatar
but to test the dictionnary
5:34 AM
*dictionary
5:34 AM
double-tap on a word
5:34 AM
and it should show up very quickly
Avatar
[dill@archlinux ~]$ ssh root@192.168.1.71 root@192.168.1.71's password: Segmentation fault export EDITOR='nano' export HOME='/tmp/root' export LESS='-R -M' export LOGNAME='root' export OLDPWD='/' export PATH='/sbin:/usr/sbin:/bin:/usr/bin' export PS1='[\u@\h \W]\$ ' export PWD='/tmp/root' export SHELL='/usr/local/niluje/usbnet/bin/ash' export SHLVL='1' export SSH_CLIENT='192.168.1.79 54976 22' export SSH_CONNECTION='192.168.1.79 54976 192.168.1.71 22' export SSH_TTY='/dev/pts/1' export TERM='xterm-256color' export USER='root'
Avatar
huh what
5:35 AM
retry
Avatar
but why do you want a shell
Avatar
brightness
Avatar
oh
5:35 AM
well set that in the inkbox.sh
5:35 AM
echo some_brightness_value > /some/brightness/backlight/folder/brightness
5:36 AM
or you can just set it before launching inkbox.sh
5:37 AM
it'll remember and won't flush out the lights
Avatar
whats the path for your libra brightness
5:40 AM
because its the same for my aura
Avatar
it's the one that's in the script
5:40 AM
possible
5:40 AM
well it should work with the options brightness setting in the reader then (edited)
Avatar
theres an option?
Avatar
yes
Avatar
ok wait i'll make an nm action for myself
Avatar
the options button in the bottom, between next and previous
Avatar
crashed when i tried creating a shell before
Avatar
what do you mean
Avatar
i tried a new ssh session, pressed next, and it froze
Avatar
don't know
Avatar
so im just making a nm option
Avatar
oh ok
5:44 AM
it should remember the brightness level once it's set
5:44 AM
(inkbox)
Avatar
you're probably the first person in the world who tests it (apart from me), so that's nice
Avatar
menu_item:main:InkBox:cmd_spawn:'cd /mnt/onboard/.adds/inkbox && ./inkbox.sh'
5:47 AM
wow
Avatar
yeah that seems good
Avatar
okay then
5:49 AM
"Successfully started process with PID 145." and then nickel is still running :/
Avatar
does inkbox seem to run at all? (edited)
Avatar
nickel is still running
5:50 AM
probably a nm config error
Avatar
are you sure you can't ssh?
Avatar
no i just feel like a nm action would be better
Avatar
me I set up it with kfmon
5:51 AM
it works well
Avatar
...why didnt i think of that
Avatar
actually i don't think you need to be in the inkbox folder
5:53 AM
i was intelligent enough to call QDir to set the current directory
Avatar
./mnt/onboard/.adds/inkbox.sh?
Avatar
that's mine [admin@storm inkbox]# cat /mnt/onboard/.adds/kfmon/config/inkbox.ini [watch] filename = /mnt/onboard/inkbox.png action = /mnt/onboard/.adds/inkbox/inkbox.sh label = InkBox hidden = 0 block_spawns = 1 do_db_update = 0 db_title = InkBox
5:54 AM
remove the .
Avatar
is there nano on kobo
Avatar
likely yes with the stuff
5:57 AM
but there is vi if you're desperate with telnet
Avatar
bless niluje
5:57 AM
ok
Avatar
yep
Avatar
how do i save as
5:58 AM
nvm
5:58 AM
dont need to
Avatar
well it'd be ctrl+o (edited)
Avatar
did you set up the watch successfully?
6:08 AM
don't forget to put inkbox.png in /mnt/onboard
6:09 AM
you could just put some random file there and rename it to inkbox.png
Avatar
i made a file called inkbox instead of a png
Avatar
oh ok that's fine too
6:09 AM
does it work?
Avatar
rebooting after putting on the watch
Avatar
ok
6:12 AM
no touch input, framebuffer is messed up
6:13 AM
and part of nickel still shows
Avatar
well try with ssh for now
Avatar
and do a killall inkbox before launching the script
Avatar
no process killed
Avatar
ok
6:13 AM
should be good
Avatar
much better
Avatar
don't know what's causing the problem then
Avatar
how do i bring up the menu for turning pages
Avatar
there's three buttons on the bottom of the screen
6:16 AM
... no?
Avatar
i turned it once and it disappeared
Avatar
hmm
6:16 AM
are you on the huckleberry finn book?
Avatar
seems to be text underneath the screen as well
6:16 AM
ye
Avatar
that's "the bug"
6:16 AM
haha
Avatar
change split_booklist = [booklist[x:x+200] for x in range(0, len(booklist),200)]
6:17 AM
in split.py
Avatar
selections work
6:17 AM
to what?
Avatar
and replace that with a smaller value
6:17 AM
like, the two 200, replace them with 150 or 175
Avatar
it sets the number of words per page
6:17 AM
kill inkbox before then relaunch it after you've made the changes
Avatar
and the menu thing?
Avatar
well yeah, that's what'll fix it
Avatar
your aura is a 6" one?
Avatar
oh then maybe it needs a little bit less text
6:19 AM
175 should work, though I'd start with 150 just to be safe
Avatar
nothing shows up on screen
6:21 AM
brightness = 0 though
6:21 AM
gotta go
6:21 AM
will be on tomorrow for debug
6:21 AM
bye
Avatar
bye
Avatar
Avatar
tux-linux
@OfficerAction do you know of a way to increase the font size (especially of the reader's qlabel) ? I tried multiple ways (setPointSize, setPixelSize) but none of them worked. The text is still scaled to the screen and there's no way to change its size. Maybe you have a hint? or is it impossible? thanks!
OfficerAction 3/6/2021 11:39 AM
The font properties are defined in stylesheets
11:40 AM
you can change the sizes for all labels or for a group of labels in your qss file
11:41 AM
or individually like so: ui->labelMangaInfoTitle->setStyleSheet("font-size: 16pt");
Avatar
Ooooooooooh
2:06 PM
Thx
Avatar
OfficerAction 3/6/2021 2:06 PM
yep not very obvious at first
Avatar
I actually never thought of doing that
2:08 PM
Like, yes, I used your excellent stylesheet from the start, but I thought that because I put a grid layout, qt was scaling everything itself
Avatar
OfficerAction 3/6/2021 2:23 PM
the qss is mostly from vlasovsoft but thanks 😉
Avatar
yeah, I switched since the first time I saw the stock UI on my Kobo that thing is ugly... especially when it refreshes
2:32 PM
also, do you know if you'll be able to fix touch input for older models soon? I'd really like to test this in my Mini with a plain Alpine Linux or Debian backend...
2:36 PM
IT WORKS (the font stylesheet thing) (edited)
2:36 PM
thx
Avatar
Avatar
tux-linux
also, do you know if you'll be able to fix touch input for older models soon? I'd really like to test this in my Mini with a plain Alpine Linux or Debian backend...
OfficerAction 3/6/2021 2:43 PM
there is no way for me to fix the mini since i dont have one
Avatar
i could lend mine for testing
2:44 PM
but the mini doesn't send the same touch events that newer devices
2:44 PM
although, it kind of works, like it registers your tap, but at the wrong place
Avatar
OfficerAction 3/6/2021 2:44 PM
did you try with different rotations and such?
Avatar
did I try
2:45 PM
well yes
2:45 PM
lots
Avatar
OfficerAction 3/6/2021 2:45 PM
you should try the scribble app
Avatar
oh yeah, I'll do that
Avatar
OfficerAction 3/6/2021 2:45 PM
it will be easy to see whats wrong with the touch mapping there
3:13 PM
that should help you
3:13 PM
it's like it's restricting it to a tiny rectangle on the screen
3:14 PM
here are the event codes [root@kobo inkbox]# evtest /dev/input/event1 Input driver version is 1.0.0 Input device ID: bus 0x18 vendor 0x0 product 0x0 version 0x0 Input device name: "zForce-ir-touch" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 258 (Btn2) Event code 330 (Touch) Event type 3 (Absolute) Event code 0 (X) Value 476 Min 0 Max 1200 Event code 1 (Y) Value 146 Min 0 Max 1600 Event code 16 (Hat0X) Value 0 Min 0 Max 1200 Event code 17 (Hat0Y) Value 0 Min 0 Max 1600 Event code 24 (Pressure) Value 0 Min 0 Max 2048
Avatar
OfficerAction 3/6/2021 3:14 PM
thanks yep thats problematic
Avatar
the touch event codes?
Avatar
OfficerAction 3/6/2021 3:15 PM
no the scaling issue
Avatar
oh
3:15 PM
do you know what's causing it?
Avatar
OfficerAction 3/6/2021 3:24 PM
the root is its a different resolution for the touch panel than for the screen panel.
Avatar
oh ok
Avatar
OfficerAction 3/6/2021 3:25 PM
but dont know why it works for the others but not for the mini (edited)
Avatar
I had issues with the Aura too
3:25 PM
I'll look and see if it does the same thing with scribble
Avatar
OfficerAction 3/6/2021 3:26 PM
yea there were also requests to fix the aura in the forums...😅
Avatar
yup, exact same problem for the Aura
3:31 PM
only it seems that it's restricting it more to a square than a rectangle
3:31 PM
is there a way to scale the touch panel for the screen?
Avatar
OfficerAction 3/6/2021 3:36 PM
yea sure
3:36 PM
thats what its supposed to do
3:36 PM
no way around digging into the code and figuring out whats wrong
Avatar
can you "scale" it manually then?
Avatar
OfficerAction 3/6/2021 3:38 PM
not after it is registered
3:38 PM
it has to be fixed in the driver
Avatar
in the driver? like libkobo.so ?
Avatar
OfficerAction 3/6/2021 3:41 PM
the platform plugin
Avatar
yeah ok
3:45 PM
#else int n = 0; for (; ;) { events = QT_READ(m_fd, reinterpret_cast<char*>(buffer) + n, sizeof(buffer) - n); if (events <= 0) goto err; n += events; if (n % sizeof(::input_event) == 0) break; } n /= sizeof(::input_event); for (int i = 0; i < n; ++i) d->processInputEvent(&buffer[i]); #endif that? lines 407-422 of qevdevtouchhandler.cpp
Avatar
OfficerAction 3/6/2021 3:47 PM
um well its all connected
3:48 PM
you can try to fix it i will also take a look later
Avatar
I don't even understand some parts of the program; no chance I'll be able to fix it
3:48 PM
I started learning C++ and Qt last week
Avatar
OfficerAction 3/6/2021 3:57 PM
ok than its pretty hard 😄
Avatar
btw I put inkbox source code on github https://github.com/tux-linux/inkbox if you want to take a look
An open-source, Qt-based eBook reader for Kobos. Contribute to tux-linux/inkbox development by creating an account on GitHub.
Avatar
OfficerAction 3/6/2021 3:58 PM
great! nice that it found its way to github
Avatar
feel free to comment my messy code
3:59 PM
hope it does not feel too much like that, but if you look at reader.cpp and reader.h you'll understand
Avatar
OfficerAction 3/6/2021 4:00 PM
well much better than i though😜
Avatar
thx
4:01 PM
you can test it on your kobo if you want, the .pro file is there, or you can dump the binaries directly on the kobo: https://drive.google.com/file/d/17CKIaq7NXV7-S8PTw7VkFeKHWAWhKesT/view
Avatar
OfficerAction 3/6/2021 4:03 PM
just a hint its enough if you load the qss once in the main 😉
Avatar
really? it didn't work though if I opened other windows after
4:04 PM
like, mainwindow worked, but reader, apps, settings needed that I re-set the stylesheet
Avatar
OfficerAction 3/6/2021 4:08 PM
do you open the other widgets as seperate windows?
4:08 PM
ok maybe then yea
Avatar
yep that's what I do
4:19 PM
i didn't know how to embed them in the current window
4:20 PM
and I had practically no internet access when I did that
Avatar
OfficerAction 3/6/2021 4:22 PM
there are different ways
4:23 PM
the way i do it is to have a qtabwidget with a tab for all the pages in your app and then just switching the tab
Avatar
ooh
4:23 PM
i didn't think of it like that
4:25 PM
also, for the dictionary function, do you think I should trigger it when I touch the qlabel (https://wiki.qt.io/Clickable_QLabel) or is a qtimer fine?
4:26 PM
An open-source, Qt-based eBook reader for Kobos. Contribute to tux-linux/inkbox development by creating an account on GitHub.
Avatar
OfficerAction 3/6/2021 4:27 PM
its ok
Avatar
ok thanks
4:27 PM
that was a ... difficult ... part to make
Avatar
OfficerAction 3/6/2021 4:28 PM
it will get easier in time
Avatar
yeah, I hope so the thing was that I had to search in multiple files and return the correct definition, and if there were another definitions, get them as well
4:30 PM
all the dict stuff is in there
4:31 PM
#!/bin/sh -ex export WORD=`cat /inkbox/dictionary/word` export LINE_MATCH=`cat index | grep -nw "$WORD" | cut -d: -f 1 | sed -n ""$1"p"` if [ LINE_MATCH = "" ]; then exit 1 else export REGEX_DEF=`sed ""$LINE_MATCH"q;d" definitions` export PREVENT=`sed "1q;d" definitions` if [ "$REGEX_DEF" = "$PREVENT" ]; then if [ "$LINE_MATCH" = "1" ]; then echo $REGEX_DEF > /inkbox/dictionary/definition else echo "No definition found." > /inkbox/dictionary/definition fi else echo $REGEX_DEF > /inkbox/dictionary/definition echo normal fi fi and that's what it does to find the definition from a given word
Avatar
OfficerAction 3/6/2021 4:35 PM
anyway for the mini try this
4:36 PM
add export QT_LOGGING_RULES=qt.qpa.input=true
4:36 PM
and then check the logs
4:36 PM
that can give us some hints
Avatar
try what?
4:36 PM
oh ok just the export
Avatar
OfficerAction 3/6/2021 4:36 PM
yep and then run and touch around a bit
4:36 PM
and then check the logs
Avatar
yep ok, will do
4:37 PM
does it log to stdout ?
Avatar
OfficerAction 3/6/2021 4:37 PM
yep
Avatar
ok
4:39 PM
4:39 PM
there you go
Avatar
OfficerAction 3/6/2021 4:40 PM
thx
Avatar
sidenote
4:46 PM
does kobox work on the mini yet
Avatar
no
Avatar
well I'm not sure
4:46 PM
it's been a long time since I tested it
Avatar
I'll get back on that, maybe creating some Qt app to merge the two
Avatar
that'd be cool
Avatar
OfficerAction 3/6/2021 4:50 PM
ok try one more time with :debug
Avatar
in the platform export ? (edited)
Avatar
OfficerAction 3/6/2021 4:50 PM
added to QT_QPA_PLATFORM
4:50 PM
yep
4:52 PM
this one
Avatar
OfficerAction 3/6/2021 4:52 PM
ok
Avatar
OfficerAction 3/6/2021 5:11 PM
ok so
5:11 PM
i made a branch for the platformplugin called mini
Avatar
great
Avatar
OfficerAction 3/6/2021 5:11 PM
can you compile it and test it
Avatar
ok
Avatar
OfficerAction 3/6/2021 5:12 PM
it just adds some more logging for now
Avatar
to change the branch, it's like git checkout minifix ?
Avatar
OfficerAction 3/6/2021 5:13 PM
and for the test it would be nice if you could just start -> touch top left corner and then the other corners in clockwise order and exit
5:13 PM
yep
Avatar
ok
5:19 PM
do I still add the :debug switch? (edited)
5:19 PM
because alone it doesn't seem to output anything else than... nothing
Avatar
OfficerAction 3/6/2021 5:25 PM
it does now 😉
5:25 PM
and it also did a bit before
5:25 PM
but it seems i removed most
Avatar
well the one I compiled doesn't debug anything
Avatar
OfficerAction 3/6/2021 5:26 PM
?
Avatar
well, nothing on stdout
5:27 PM
maybe it's the branch switch that it didn't like
5:27 PM
do you have a tgz/txz/wathever of the modified platform plugin source?
5:28 PM
oh now I added the :debug switch and it works
Avatar
OfficerAction 3/6/2021 5:28 PM
did you put it into the platforms folder?
5:28 PM
ok
Avatar
yea ofc
5:28 PM
[root@kobo inkbox]# ./inkbox.sh killall: nickel: no process killed killall: sickel: no process killed killall: hindenburg: no process killed KoboKb: Attempting to capture input... device: "pixie" 340 screen: 600 800 dpi: 200
5:28 PM
it shows that but when I touch the screen, nothing else happens
Avatar
OfficerAction 3/6/2021 5:29 PM
you also still need the export from before
Avatar
Ok now it works (edited)
Avatar
OfficerAction 3/6/2021 5:31 PM
hmm thx
👍 1
5:33 PM
is that the 4 corners btw?
Avatar
no, just touched randomly
Avatar
OfficerAction 3/6/2021 5:34 PM
ok do the corners pls
Avatar
ok
5:35 PM
Avatar
OfficerAction 3/6/2021 5:36 PM
perfect thx
Avatar
OfficerAction 3/6/2021 5:49 PM
i pushed a new commit
5:49 PM
so i need you to do the same thing again 😉
Avatar
Ok I can't right right now, I'll try probably in the next hour
5:50 PM
You see, piano practice
Avatar
OfficerAction 3/6/2021 5:51 PM
ok have fun
👍 1
Avatar
Ok I'll test it now
6:36 PM
@OfficerAction here it is
Avatar
OfficerAction 3/6/2021 6:53 PM
hey thx but do it again and touch all corners
Avatar
that's what I did
Avatar
OfficerAction 3/6/2021 6:57 PM
really
6:57 PM
that one I'm sure I did
Avatar
OfficerAction 3/6/2021 6:59 PM
ahh ok i think i get it now
6:59 PM
the touchscreen has a higher res but its not actually used
Avatar
is it easily fixable?
Avatar
OfficerAction 3/6/2021 7:00 PM
yea kinad
Avatar
nice
Avatar
OfficerAction 3/6/2021 7:16 PM
ok try now
Avatar
ok
7:25 PM
IT WOOOOOOOOOOOOOOOOOOOOORKS
Avatar
OfficerAction 3/6/2021 7:25 PM
awsome
7:27 PM
can you try the aura?
Avatar
yep
7:30 PM
works well, no problem
7:30 PM
what did you do exactly?
Avatar
OfficerAction 3/6/2021 7:31 PM
before it used the full touchscreen res as maximum(1200x1600) now it uses the screen res instaed
Avatar
oh
Avatar
OfficerAction 3/6/2021 7:32 PM
btw do you have to set the rotation for any device
7:32 PM
or is it auto?
Avatar
no I set it 90
7:33 PM
for the mini
7:33 PM
strangely for the aura it's set at 270 and all works well
Avatar
OfficerAction 3/6/2021 7:34 PM
without inverts? (edited)
Avatar
with
7:34 PM
ADDSPATH=/mnt/onboard/.adds/ QTPATH=${ADDSPATH}/qt-linux-5.15.2-kobo LD_LIBRARY_PATH=${QTPATH}lib:lib: QT_QPA_PLATFORM=kobo:touchscreen_rotate=270:touchscreen_invert_x=1:touchscreen_invert_y=1:logicaldpitarget=0 ./inkbox
Avatar
OfficerAction 3/6/2021 7:34 PM
thats kobo aura?
Avatar
yep
Avatar
OfficerAction 3/6/2021 7:36 PM
touchscreen_rotate=270:touchscreen_invert_x=1:touchscreen_invert_y=1 is the same as touchscreen_rotate=90touchscreen_invert_x=0:touchscreen_invert_y=0 btw
Avatar
oh ok
7:38 PM
On the mini though I'm experiencing some... scaling problems
7:39 PM
like the openDialog is way too large for the screen
7:39 PM
though, iirc, in the code I set it to scale with the screen size
7:59 PM
@dill now it works on the Mini thanks to @OfficerAction who did some magic tricks with the platform plugin code
Avatar
OfficerAction 3/6/2021 7:59 PM
i merged in the new rotations
7:59 PM
could you check if auto rotation works on all your devices now? (edited)
Avatar
ok
Avatar
OfficerAction 3/6/2021 8:00 PM
also dont know whats up with the scaling problems
Avatar
the auto rotation doesn't work with the mini
Avatar
OfficerAction 3/6/2021 8:01 PM
with the new commit?
Avatar
oh
8:02 PM
sorry, i'm so dumb
8:05 PM
mini working
8:06 PM
aura working too
Avatar
OfficerAction 3/6/2021 8:16 PM
thx
8:16 PM
what about the other one?
Avatar
libra?
8:17 PM
yes, all works well
Avatar
OfficerAction 3/6/2021 8:18 PM
with the auto?
Avatar
yes
8:19 PM
but no wait
8:19 PM
with the new libkobo.so the libra is giving me strange random refreshes and a recurrent Wait for screen refresh failed! debug message
Avatar
OfficerAction 3/6/2021 8:20 PM
hmmm
8:20 PM
was it working before?
Avatar
yes
8:21 PM
just tested with the old libkobo.so, it doesn't give such errors
Avatar
OfficerAction 3/6/2021 8:24 PM
ok i pushed a commit
8:24 PM
that should fix it
Avatar
ok
8:26 PM
8:26 PM
that's neat tho
Avatar
OfficerAction 3/6/2021 8:26 PM
awsome thanks
Avatar
libra's working fine
8:31 PM
nice, now it repaints the window when I click "Options" even if I didn't tell it to
8:32 PM
that's an useful 'bug' or is it?
Avatar
OfficerAction 3/6/2021 8:32 PM
?
Avatar
well
8:33 PM
8:33 PM
you see the "Hide" button?
8:33 PM
it's actually hid when you click on it to be replaced by the options button
8:34 PM
I instructed hideBtn in reader.cpp to repaint the window when it's clicked, before it's been hid and replaced by the optionsBtn that showed again. that makes the screen do a plain refresh. now I press optionsBtn and even if I didn't tell it to, it refreshes the screen anyway
Avatar
Avatar
tux-linux
@dill now it works on the Mini thanks to @OfficerAction who did some magic tricks with the platform plugin code
yeeee
8:35 PM
@OfficerAction thanks :D
Avatar
OfficerAction 3/6/2021 8:35 PM
np 😉
Avatar
also @dill , do you think your mini's screen has the best contrast? like mine's better than my Libra
Avatar
about to do a fresh install of arch
8:36 PM
yeah
Avatar
Avatar
tux-linux
I instructed hideBtn in reader.cpp to repaint the window when it's clicked, before it's been hid and replaced by the optionsBtn that showed again. that makes the screen do a plain refresh. now I press optionsBtn and even if I didn't tell it to, it refreshes the screen anyway
OfficerAction 3/6/2021 8:36 PM
it programmed so it should do a refresh when something changes on the screen
Avatar
oh ok
8:36 PM
so I don't need to ui->hideBtn->repaint(); anymore
8:36 PM
that's nice
Avatar
OfficerAction 3/6/2021 8:37 PM
haha yea it would be a bit troublesome if you have to repaint manually all the time 😉
Avatar
though, when the QLabel changes, no repaint (the QLabel is the "text" label, main text display on reader.cpp) (edited)
8:37 PM
that's great; don't change it because I wanted to create an option to set a refresh rates after n pages
Avatar
Avatar
tux-linux
though, when the QLabel changes, no repaint (the QLabel is the "text" label, main text display on reader.cpp) (edited)
OfficerAction 3/6/2021 8:38 PM
oh thats strange
Avatar
same thing for when wordsearch is hid or showed
8:40 PM
strange that it doesn't do it there, because it's basically the same principle of that of the menubar
Avatar
installed basic arch
8:43 PM
now for gnome and all that
Avatar
wow, your internet speed is way faster than mine
8:43 PM
me it takes like 25 mins
Avatar
yikes :\
8:43 PM
ive only got up to pacstrap tho
Avatar
yeah i know
8:43 PM
don't you want to try kde?
8:43 PM
it's very nice
8:44 PM
is it possible for kde on tty2 and gnome on tty1 or am i just fantasizing
Avatar
well you can install the two
Avatar
on separate ttys
Avatar
maybe
8:44 PM
haven't tried that
8:45 PM
it's a cool idea
Avatar
lets see
8:45 PM
yep
Avatar
but in 33 g of space
8:45 PM
you better stick to just one
Avatar
compile kde on gentoo
8:46 PM
I did it and it worked
Avatar
oh yeah
Avatar
i can't guarantee for gnome
Avatar
is it faster than gnome
Avatar
well yes a little
8:46 PM
from experience
8:46 PM
also, it's based on qt5
Avatar
kde looks very nice
8:46 PM
i'll do it on gentoo
8:47 PM
that's when I did it
Avatar
yep, kde is awesome
8:49 PM
i'm not that into theming, but maybe @fermino has some cool customization ideas
Avatar
do i need to reinstall grub?
Avatar
ofc
Avatar
already have it with deepin
8:51 PM
ok then
Avatar
well, in theory you could let it there
8:51 PM
but I'd reinstall it
8:52 PM
maybe you won't be able to start on deepin anymore
8:52 PM
but that's easily fixable
Avatar
yeah it is
8:52 PM
after all the mess of installing different distros, i'm gonna reinstall grub from deepin
8:53 PM
for the sake of the wallpaper
8:55 PM
only these left now
8:55 PM
this seems a lot cleaner than the last 3 times i've installed arch
Avatar
No you forgot to set the root password
Avatar
no i remembered this time :D
Avatar
Did you install DHCPcd?
Avatar
what's that?
Avatar
Or dhclient
8:57 PM
Connect wired internet
Avatar
didn't do that the last few times either
8:57 PM
yeah its connected
Avatar
Oh but if network manager is there it's ok
Avatar
yeah its there
8:57 PM
installing gnome atm
9:01 PM
done!!
9:02 PM
as you said, deepin is gone
9:02 PM
on grub, i mean
Avatar
Yes
9:03 PM
Should be easy to fix But install Gentoo before
Avatar
Avatar
tux-linux
Should be easy to fix But install Gentoo before
ok but why gentoo first
Avatar
first?
9:07 PM
well gentoo will overwrite again your grub config
9:07 PM
so it's better to reconfigure grub after all is in place
9:07 PM
so should i do gentoo now?
9:14 PM
i'll install some other distros today and tomorrow, and start compiling gentoo by sunday night at the very most (edited)
9:14 PM
will i need a fan to prevent it from exploding
Avatar
Avatar
dill
will i need a fan to prevent it from exploding
?
Avatar
Avatar
dill
i'll install some other distros today and tomorrow, and start compiling gentoo by sunday night at the very most (edited)
what other distros would you recommend @tux-linux
9:28 PM
DEBIAN
9:29 PM
red hat?
9:31 PM
archbang looks like it would be good for beginners
9:35 PM
what i'll do is install fedora right now, and use kde on that one as well
Avatar
Avatar
dill
what other distros would you recommend @tux-linux
OfficerAction 3/6/2021 9:46 PM
you can take a look at manjaro 😉 it is very powerful, all the arch packages but also quite beginner friendly
9:54 PM
dding the image to the usb for fedora
9:54 PM
dont worry i double checked and triple checked the command
Avatar
No do Gentoo, then you'll be able to reconfigure grub so you'll be able to boot Arch deepin and gentoo
Avatar
no first the others, then gentoo
Avatar
Yeah
Avatar
because gentoo will take a long time
Avatar
Yes
Avatar
done the flash
Avatar
But does it matter? You'll not be able to access the other distros while on Gentoo
10:00 PM
but i feel like installing the others first would be better
Avatar
If you want
Avatar
btw i forgot my old reddit thing so my new one is u/themightydill
Avatar
gonna install fedora
10:01 PM
btw is it gui or cli install
10:02 PM
nvm its apparently a "gooey" install
10:02 PM
gonna install, bye
Avatar
Goooeey G. U. I
10:05 PM
No?
10:11 PM
lol
10:11 PM
on fedora rn, about to install
10:11 PM
KDE is nice
10:11 PM
installing
Avatar
@tux-linux apparently with fedora, all 3 os'es are showing up on grub!
Avatar
will try manjaro now
Avatar
nice
Avatar
my wifi is speedrunning rn
Avatar
lucky you
Avatar
i mean, ethernet
10:59 PM
its very unusual tbh
10:59 PM
getting the gnome thing
11:03 PM
also, @tux-linux, is there a package manager in fedora
11:03 PM
i mean
11:04 PM
what is the package manager in fedora
11:04 PM
:p
Avatar
dnf
Avatar
but i don't know much about it
11:04 PM
i think that to install a package you do dnf install package
11:04 PM
i could be wrong though
Avatar
yup, did a dnf --help
Avatar
do you like kde?
Avatar
i like it a lot, but not as much as gnome to be honest
Avatar
you can check out r/unixporn
11:06 PM
you'll get lots of ideas for your setup
11:06 PM
also getting ready for manjaro
11:06 PM
what im the most excited about is gentoo
11:06 PM
will i need fans btw
Avatar
i don't think so
11:06 PM
unless your computer shuts down when you have high cpu usage, you should be good
11:07 PM
don't put it in a sauna tho
11:07 PM
actually, pretty sure it does crash when it has high cpu usage
Avatar
then
11:07 PM
open it
11:07 PM
put it between two chairs
11:07 PM
put a fan underneath
11:08 PM
set the speed to max
11:08 PM
and you'll be good
11:10 PM
i cant get in the sudoers file... again :/
Avatar
what distro
Avatar
fedora kde
Avatar
can you su root at least?
Avatar
well do the same thing as arch it should work
Avatar
or maybe addgroup dill sudo
Avatar
uncommented lines with %wheel
11:11 PM
ok
Avatar
in some distros there's a sudo group
11:33 PM
/:-------------:\ dill@fedora :-------------------:: ----------- :-----------/shhOHbmp---:\ OS: Fedora 33 (KDE Plasma) x86_64 /-----------omMMMNNNMMD ---: Host: Aspire 5732Z V2.06 :-----------sMMMMNMNMP. ---: Kernel: 5.8.15-301.fc33.x86_64 :-----------:MMMdP------- ---\ Uptime: 1 hour, 1 min ,------------:MMMd-------- ---: Packages: 1731 (rpm) :------------:MMMd------- .---: Shell: bash 5.0.17 :---- oNMMMMMMMMMNho .----: Resolution: 1366x768 :-- .+shhhMMMmhhy++ .------/ DE: Plasma 5.19.5 :- -------:MMMd--------------: WM: KWin :- --------/MMMd-------------; WM Theme: K01-d :- ------/hMMMy------------: Theme: Breeze [Plasma], Adwaita [GTK2] :-- :dMNdhhdNMMNo------------; Icons: breeze [Plasma], breeze [GTK2/3 :---:sdNMMMMNds:------------: Terminal: konsole :------:://:-------------:: CPU: Pentium T4300 (2) @ 2.100GHz :---------------------:// GPU: Intel Mobile 4 Series Chipset Memory: 2001MiB / 3858MiB
11:33 PM
or
11:33 PM
well
11:33 PM
you get the idea
Avatar
yes
11:37 PM
flashing the manjaro image
11:38 PM
today is a really good day for my laptop apparently
11:38 PM
the other one takes 5 mbps this takes 17 mbps
Avatar
Le calme avant la tempête as we say here
Avatar
the calm has the something, is what my brain came up with
11:39 PM
oh wAait
11:39 PM
the calm before the storm
Avatar
yep
11:39 PM
halfway done
11:39 PM
your first language is french right
Avatar
yes
Avatar
if i had done "French Immersion" here, i'd have had a lot more experience with french
11:40 PM
but ive been having english schooling, with french subject
11:40 PM
brb
11:46 PM
back, and it appears manjaro has finished flashing
11:47 PM
@tux-linux any idea whether it is a gooey install or a clee install ;p
Avatar
gooey
11:47 PM
also how do i change my device name
Avatar
hostname but might not stay
11:48 PM
edit /etc/hostname
11:49 PM
what would i write
Avatar
fedora
Avatar
so just fedoralinux in the file
Avatar
yeah
11:50 PM
works
11:50 PM
doing the manjaro now
Avatar
on manjaro
12:05 AM
preparing to install
12:08 AM
@tux-linux ???
12:11 AM
tnvm
12:11 AM
nvm*
12:12 AM
gotta go
12:12 AM
bye
2:35 AM
installing again after having to leave before installing :/
2:41 AM
manjaro wont install
2:41 AM
looking into debian
Avatar
@tux-linux is debian gooey
Avatar
Yes
3:41 AM
Except the netinstall But it's like GUI in cli for the netinstall
Avatar
yeeeeeeeeeee
5:11 AM
installed fedora and debian
Avatar
nice
Avatar
in one day
Avatar
next challenge is gentoo
Avatar
4 distros, fully functional
5:11 AM
yup
Avatar
correction
5:11 AM
4 distros, fully functional, ready to break
Avatar
you never know what can happen with that
5:12 AM
i also have to delete one of them to make space for gentoo :/
Avatar
which one will you choose?
Avatar
i feel like i would remove debian
Avatar
i suggest you keep debian, it's rock-solid stable
5:12 AM
hmmm
5:13 AM
deepin?
Avatar
so when all your distros will break, at least debian will hopefully work
5:13 AM
yeah, if you want
Avatar
nah, i think fedora
Avatar
but deepin is also based on debian
5:13 AM
so it's your take
Avatar
i'll take fedora
Avatar
cries hard
5:14 AM
no, i'm just sad that you don't like kde
Avatar
i love kde
Avatar
oh yeah
5:14 AM
ok you'll set up gentoo with it
5:14 AM
my bad
5:16 AM
debian is actually 20 gib
Avatar
what are the others?
Avatar
33 mostly
Avatar
thinking about it I'm not sure you'll have enough of 33 gib for gentoo
5:16 AM
but you should be ok
Avatar
1Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 69207126 69205079 33G 83 Linux /dev/sda2 69208064 138414079 69206016 33G 83 Linux /dev/sda3 138414080 207620095 69206016 33G 83 Linux /dev/sda4 207622142 278861823 71239682 34G 5 Extended /dev/sda5 207622144 249565183 41943040 20G 83 Linux /dev/sda6 249567232 278861823 29294592 14G 83 Linux
5:17 AM
33 gib wouldnt be enough for gentoo?
5:17 AM
maybe 40?
Avatar
yes; at the end
5:17 AM
not when you compile
5:17 AM
because object files and artifacts take up a LOT of space
Avatar
like, to compile GCC, it takes like 10G of free space but it gives you a binary of only ~50M
5:18 AM
i'll go with 40 then...
Avatar
as much as you can
Avatar
no idea where i put fedora
5:18 AM
i think sda3
Avatar
but what's in sda1?
5:18 AM
deepin (edited)
Avatar
ok
Avatar
arch is 2
5:19 AM
fedora is 3 i think
Avatar
I thought for a second that you let 33gib of space for grub
5:19 AM
4 is container
5:19 AM
5 is debian
5:19 AM
6 is... swap i guess
Avatar
makes sense
Avatar
i just made sense out of something ive been tryna figure out in my head all day
Avatar
what
Avatar
really had no idea where to put everything
Avatar
yeah partitioning is quite the task sometimes
5:21 AM
...sda4 contains 5 and 6?
Avatar
but there was one time where I had like 11 distros in one disk
5:21 AM
how much storage
Avatar
i think it was 320g
Avatar
this is 150g (edited)
5:21 AM
150 not 15!
5:22 AM
haha
Avatar
I had a giant boot menu
Avatar
well it was cool
Avatar
22 entries
Avatar
yeah, approx
5:22 AM
with the "Advanced options" sometimes
Avatar
how can you get rid of the advanced options thing btw
Avatar
idk
Avatar
yeah or the rescue
Avatar
tbh you should keep it
Avatar
it actually has a purpose
5:23 AM
give you root access in an initramfs when you can't access the main system
Avatar
and also whats "Linux linux" i fell off my seat when i read that
5:23 AM
ahhh i see
Avatar
it's like "Linux" the distro and "linux" the kernel because the devs didn't appropriately set the name
Avatar
if i'm not mistaken
Avatar
but now I'm more on custom liveusbs
5:24 AM
so I don't worry about grub
Avatar
that's why I don't know much about configuring it and all
Avatar
i dont need the other computer anymore for images
5:25 AM
i use dd SAFELY though
Avatar
now, at this moment, I use Ubuntu on an ssd for inkbox, because i have qtcreator and all setup
Avatar
but you knew that etcher was available for linux, did you?
5:25 AM
hahaha
Avatar
it's a shiny appimage
Avatar
appimage
5:26 AM
google that a bit
Avatar
and you'll see that it's the best thing since sliced bread
5:26 AM
ive been looking for this kind of thing for a long long time
Avatar
it's like an executable squashfs archive
5:26 AM
standalone
Avatar
I created some a while ago
Avatar
without installation
Avatar
it was neat
Avatar
Package desktop applications as AppImages that run on common Linux-based operating systems, such as RHEL, CentOS, openSUSE, SLED, Ubuntu, Fedora, debian and derivatives. Join #AppImage on irc.freen...
Avatar
well then im ditching dd
Avatar
no
5:28 AM
you'll need it in cli
Avatar
no, for flashing
Avatar
well yeah, but you'll need it in cli if something goes wrong
5:28 AM
such as?
Avatar
the nice thing is that it's available in most initramfs and it's in every linux system that you'll encounter
Avatar
well, X suddenly decides "Hey, why not cause a random error and not being able to launch myself anymore, forever"
Avatar
it did that with my debian vm last week
Avatar
when that happens i'd do a fresh reinstall
5:30 AM
dang
Avatar
yeah it's like it's saying you that it wants to be reinstalled
Avatar
i think ive reinstalled arch 3 times in 2 weeks :/
5:30 AM
yeah
Avatar
absolutely normal
5:31 AM
you know, when I do archisos, I reinstall arch 3 times in one day
5:31 AM
yeah it'd be nice to have the themes, tap to click, discord, chromium, and all of that in one image though
Avatar
well you won't get discord ofc
Avatar
why not?
Avatar
~~ the magical kingdom of closed-source ~~ (edited)
5:32 AM
Tool and recipes to convert existing deb packages to AppImage - AppImage/pkg2appimage
5:32 AM
that is useful
Avatar
Avatar
tux-linux
~~ the magical kingdom of closed-source ~~ (edited)
ah yes
Avatar
but actually... maybe
Avatar
wooo, that'd be more than useful
Avatar
yeah i used that to create chromium appimages and such (edited)
5:33 AM
time for me to go
5:33 AM
bye
Avatar
ok bye
Avatar
Well, in arch
5:35 AM
There's an AUR repo for discord
5:35 AM
So you literally do yay discord and there you go
Avatar
yeah, I think he was talking about an appimage of discord
Avatar
which should be doable
5:37 AM
yeah, it should be pretty easy, since the package provided from the official website is a tar archive with all the depends
pgaskin joined the server. 3/7/2021 5:39 AM
Avatar
Hi @pgaskin !
Avatar
Hi, I'm just lurking
Avatar
welcome! the chat channel has like shifted to another thing I started, InkBox, that should be merged to KoBox with some Qt launcher that would launch Qt and X apps (edited)
5:41 AM
https://github.com/tux-linux/inkbox there's the inkbox repo
An open-source, Qt-based eBook reader for Kobos. Contribute to tux-linux/inkbox development by creating an account on GitHub.
Avatar
good morning, yall
Avatar
here it's 13:08
7:09 PM
here its 11:08
7:09 PM
i slept in today because i slept at like 3am last night :/
Avatar
ready to install gentoo then?
Avatar
let's goooo then
7:16 PM
hmm
7:16 PM
wait i'll open up the guide
7:20 PM
that is a long guide
Avatar
well sure; it's gentoo
Avatar
you should check out the linux from scratch guide
Avatar
maybe later
7:20 PM
how long will this take
Avatar
well, I meant check the number of pages
Avatar
well it's your first install
7:21 PM
so
Avatar
~1 day to get it on the track
Avatar
it took me hours to install arch the first time, and now it takes me like 10 minutes
Avatar
transposition for gentoo it took me days to install gentoo the first time, and now it takes me like 2 hours
Avatar
well the 2 hours is for the base system, once you get things going
7:22 PM
and how long would kde take to compile
Avatar
hmm on my main pc it took 2 days i think
Avatar
yikesss
Avatar
and if you want to compile firefox
7:23 PM
that takes 1 day
Avatar
chromium?
Avatar
maybe more
7:23 PM
NOOOOOO
Avatar
well maybe
7:23 PM
but build time would increase by 5000%
Avatar
why does everything need to compile
Avatar
because it's gentoo
7:24 PM
wait so LFS is basically creating your own distro
7:24 PM
that's fun
Avatar
also, you can customize your system and only install the things you want, tweak the source code to install only the things you want
Avatar
Avatar
tux-linux
but build time would increase by 5000%
so how long?
Avatar
well if firefox took 1 day
Avatar
a week?
Avatar
don't know exactly
7:26 PM
also, with the amount of ram you have, it would fail at the final linking and thus leave you with an unusable build
Avatar
emerge would take the most time, right
Avatar
maybe compiling falkon is a good idea
Avatar
Avatar
tux-linux
also, with the amount of ram you have, it would fail at the final linking and thus leave you with an unusable build
swap?
Avatar
that's also a bad idea but maybe
7:27 PM
falkon should get you going though; it's chromium but lighter
7:27 PM
and it performs equally well
Avatar
i have 17G ready for swap... a bit overkill but you cant be too prepared
Avatar
Avatar
tux-linux
falkon should get you going though; it's chromium but lighter
the problem is, falkon isnt supported by discord (edited)
7:28 PM
iirc
Avatar
what?
7:28 PM
impossible
Avatar
is there a gentoo app for discord? (edited)
Avatar
wait i'll try it now
7:28 PM
well you can download the prebuilt binaries from the official website
Avatar
let me guess
7:28 PM
it'll take months to compile
Avatar
falkon?
Avatar
discord
Avatar
you can't compile it
7:29 PM
there's no source
Avatar
oh yeah
7:29 PM
closed
7:29 PM
what distro are you on rn (edited)
Avatar
Download the best app to communicate over video, voice, or text. Available for Windows, macOS, Linux, iOS, and Android devices.
7:29 PM
choose download, then tar.gz
Avatar
oh yeah
7:29 PM
or .deb
Avatar
well won't work on gentoo
7:30 PM
what distro are you on right now
7:30 PM
im on arch
Avatar
ubuntu because I need qtcreator for inkbox and it's all configured up and ready
7:30 PM
otherwise i'd be on my archiso
7:30 PM
archiso?
7:31 PM
arent those only for installs
Avatar
no
Avatar
wait nevermind
Avatar
it's a liveusb
7:31 PM
7:31 PM
that works
7:31 PM
ok then
7:32 PM
btw, you can change your username to tux-linux as well, just go to settings
7:32 PM
if you want
Avatar
yeah i can stay Nicolas for more formal things
7:33 PM
dill is my default name, for more "formal" things i use nicknames on servers
7:33 PM
for some reason, my moms phone doesnt want to install discord
7:34 PM
so i'll use the other windows laptop
7:34 PM
just gotta flash the gentoo img
Avatar
ok flash done
7:44 PM
see you later
Avatar
ok
Avatar
currently unpacking stage3 tarball
8:11 PM
whole lot of output
8:13 PM
tar: timestamp <time stamp> is <value> in the future
8:13 PM
@tux-linux is that bad...?
Avatar
yes
8:13 PM
what's the output of date ?
Avatar
i set it to MST
8:14 PM
manually
Avatar
the output of date
Avatar
because thats what it said in the guide...
8:14 PM
ok
8:14 PM
oh shi-
8:14 PM
march 3 (edited)
8:15 PM
do i set it again?
Avatar
if you have a ntp client that would be ideal
Avatar
ntp-client ?
Avatar
ntpd -q -g?
Avatar
oh yes
Avatar
do i have to tar again
Avatar
did it finish?
Avatar
the ntpd? yes
Avatar
you didn't press ctrl+c ?
8:16 PM
no the tar command
8:17 PM
why would i do that
Avatar
it should be correct
8:17 PM
well, to stop the program
Avatar
the tar finished
8:17 PM
and all the output said it was in the future (edited)
8:17 PM
but it appears to have extracted
8:18 PM
at least /mnt/gentoo/etc/portage/make.conf was extracted, which leads me to believe the entire thing was extracted (edited)
Avatar
it's saying that the files were in the future
8:19 PM
so when you'll set the date, it won't be in the future and everything will be nice
8:19 PM
so the ntpd fixed it?
Avatar
should have, yes
8:20 PM
then im ready to optimize make.conf
Avatar
but test with date again if it shows the correct date
8:21 PM
👍
8:22 PM
i only edit the FLAGS?
Avatar
i think so
Avatar
is it just me, or are consoles and livecd environments more keyboard sensitive than gui's
Avatar
it's just you
8:32 PM
haha
8:34 PM
wait, my boot partition is /dev/sda
8:34 PM
am i supposed to mount that @tux-linux
Avatar
what is in /dev/sda?
Avatar
lets see
Avatar
it's not mandatory; you can keep kernels in the /boot folder as well
Avatar
"/dev/sda"
8:35 PM
is in /dev/sda
8:35 PM
and its yellow
8:35 PM
a yellow file
8:35 PM
haha
Avatar
Avatar
tux-linux
it's not mandatory; you can keep kernels in the /boot folder as well
it says mount /dev/sda /boot
8:35 PM
if the boot partition is /dev/sda
Avatar
that's crazy
8:36 PM
are you sure they didn't put a number after sda?
Avatar
no, their boot partition was sda2
8:36 PM
but mine is sda...
Avatar
sda is the disk
Avatar
did you follow uefi instructions without noticing? (edited)
8:37 PM
i mounted the necessary dirs
8:37 PM
/sys, /dev, etc. (edited)
Avatar
continue but don't mount boot
8:37 PM
wait you mean dont mount anything on /boot, right (edited)
Avatar
yes
Avatar
it should be okay
Avatar
right now im doing emerge-webrsync
8:39 PM
emerge is the compile thing later on, right?
Avatar
it's the package manager
8:40 PM
so that compiles kde, etc?
8:40 PM
emerge kde later on?
Avatar
it retrieves the source, then tells gcc g++ to compile
Avatar
not that simple
8:40 PM
but it's similar (edited)
8:40 PM
right now, emerge --sync --quiet
8:41 PM
because im doing all the optional things
8:43 PM
eselect profile set 2 for kde?
8:43 PM
just an example
Avatar
yes
8:44 PM
but check the profiles first
Avatar
for me it says plasma/systemd or something (edited)
Avatar
they could've changed
Avatar
don't take systemd
8:44 PM
openrc is better and lighter
8:44 PM
so you could take the default
Avatar
desktop/plasma?
Avatar
yeah
Avatar
also, openrc has shiny colors at boot-up
8:45 PM
random image from google
8:45 PM
8:46 PM
haha
8:46 PM
im pretty sure gentoo liveusb uses openrc
8:46 PM
yeah it does (edited)
8:49 PM
the USE variable has way too many args
8:50 PM
this is probably where i'll mess up
8:51 PM
can the use variable be changed later? @tux-linux
8:53 PM
apparently the profile already sets it so im not worrying about that
Avatar
installing kernel sources
Avatar
@tux-linux how do i configure the kernel
9:15 PM
like, how do i do make menuconfig then <*> or [*]
Avatar
Space bar
Avatar
compiling kernel
9:41 PM
bye
Avatar
i think my computer is melting
2:34 AM
@tux-linux
Avatar
it's normal
2:34 AM
haha
2:34 AM
did you put a fan?
Avatar
well; do it
Avatar
ok then
Avatar
or it will shut down in the next minutes
2:35 AM
something that you don't want
Avatar
actually its been compiling for 4 or 5 hrs
Avatar
oh then
2:35 AM
maybe it won't shutdown
2:35 AM
but it would probably thank you if you put a fan there
2:36 AM
brb i'll get a fan
2:36 AM
if i have one
Avatar
also, it could speed up compiling a little since it no longer would need to throttle
2:38 AM
i asked my dad and he said to put it over some open air... so i'll put it between two chairs like you said
Avatar
ok
Avatar
do i need ethernet plugged in
Avatar
well is it already plugged in?
Avatar
yes
Avatar
and don't unplug it (edited)
3:24 AM
compiling
Avatar
your computer is ... well not recoverable if not by a reboot
Avatar
Why not
Avatar
oh ok it's showing actual text
3:25 AM
I'd be very worried otherwise
Avatar
ok i had a problem with my 2010 mac some weeks ago when trying to install gentoo on it, it froze up at some point and it printed random data on the screen
3:26 AM
Got to go
Avatar
and then it hung and could not be recovered except by a reboot (which ,of course, would've obligated me to start all over again)
3:26 AM
ok
3:26 AM
Bye
Avatar
Finishing gentoo installation today
3:15 PM
What do i set my domain name to @tux-linux
3:16 PM
Nvm
3:45 PM
Do I need to do anything of I use BIOS
3:45 PM
if*
3:46 PM
...nvm again
Avatar
Avatar
dill
i think my computer is melting
Put it by a window slightly open
Avatar
also, that can work
Avatar
Avatar
dill
Click to see attachment 🖼️
If anyone uses EFI, I suggest rEFInd over grub. It's much nicer for most configurations.
Avatar
well, this is new ._.
7:52 PM
(Not the kobo, though, my thin client)
Avatar
huh
7:52 PM
sometimes some program just decides "hey, why not segfault today and force my owner to reinstall the system?"
Avatar
I literally installed it today .____.
Avatar
what os?
Avatar
And its wget!
7:53 PM
Debian 10
Avatar
kernel version?
Avatar
4.19.0-14
7:53 PM
(686-pae)
Avatar
other programs work as they should?
Avatar
Yeap
Avatar
well, try with curl
Avatar
I will
7:54 PM
The thing is
7:55 PM
I kind of want to figure it out
Avatar
I understand
7:55 PM
maybe an apt upgrade?
7:55 PM
try with strace
Avatar
Just did it this morning
7:55 PM
But Ill try
Avatar
yeah, and maybe strace will help
7:56 PM
the program did actually run, so it's not entirely broken
7:56 PM
what if you try to get another file?
Avatar
It works
7:56 PM
I think it might be related to a redirection
Avatar
yeah
7:56 PM
maybe it's some strange feature that the running kernel doesn't support?
Avatar
Probably
7:57 PM
And the fact that this computer is not a full 686
Avatar
it's like a 386? 586?
Avatar
As far as I found it's a 486
7:58 PM
But debian 10 works so I assumed it was a 586 (as support for 486 has ben dropped since debian 6/7 iirc) (edited)
Avatar
yeah, debian 10 works no problem on my 2000 thin client too
7:59 PM
you could try alpine, that works well too
7:59 PM
the gitea server is running alpine
8:02 PM
huh. it seems that it's down for now. well, it stayed 9 days in uptime, that's ok
Avatar
hahahahah
Avatar
i'll go and check if it has not burned later today
Avatar
well that dump is not something that i understand
Avatar
Neither do I xD
Avatar
try to compile wget from source and see if the same problem happens
Avatar
[16761.445921] wget[7554]: segfault at 0 ip b7dda69c sp bfdc87f0 error 4 in libgnutls.so.30.23.2[b7cea000+109000] [16761.445988] Code: 31 c0 8b 7c 24 0c 8b 74 24 10 8b 4c 24 14 89 e2 83 c4 80 0f 10 07 83 e4 f0 0f 10 4f 10 0f 29 04 24 89 e7 0f 29 4c 24 10 31 c0 <f3> 0f a6 d0 0f 28 04 24 0f 28 4c 24 10 89 d4 8b 7c 24 0c 0f 11 07
Avatar
demsg?
8:09 PM
well gnutls is the culprit
Avatar
yeap
Avatar
so maybe try to compile gnutls from source?
8:10 PM
that's a nice guide
Avatar
ok now it's back online again
Avatar
Avatar
pgaskin
If anyone uses EFI, I suggest rEFInd over grub. It's much nicer for most configurations.
nope, BIOS
Avatar
Avatar
pgaskin
Put it by a window slightly open
didn't think of that...
Avatar
well ... is it cold in there?
Avatar
where you are
12:32 AM
snowed this afternoon
12:32 AM
how do i install kde
12:32 AM
i have the profile selected
12:33 AM
base system is installed
12:33 AM
and xorg-x11 as well
Avatar
here we had -3C today and last week like -30
Avatar
well
12:33 AM
it was nice
Avatar
-30 was a few weeks ago
Avatar
big sun
Avatar
rn its cloudy
Avatar
@tux-linux which one?
Avatar
udev
4:07 AM
also does it take this long to compile cfg-update or whatever its called
Avatar
idk
Avatar
or maybe its finally starting to compile xorg
4:08 AM
1 hour later
Avatar
did you start emerge for plasma?
Avatar
no, right now im still setting up xorg
4:08 AM
or
4:09 AM
emerging it
Avatar
well when did you start the command?
Avatar
xorg-drivers, 3 hours ago and same with xorg-server
Avatar
plasma will take a ... long ... time
Avatar
it complained about circular dependencies
Avatar
Avatar
tux-linux
plasma will take a ... long ... time
weeks, am i right
Avatar
4 days
4:10 AM
thats gonna be a wild ride (edited)
Avatar
if it doesn't crash
4:11 AM
ofc
4:11 AM
i'll have to ensure that doesnt happen
4:11 AM
i have 14G of swap because be prepared (edited)
Avatar
yeah; and also give it some fresh air
Avatar
do you have a garage?
Avatar
oh yeah
4:12 AM
but
4:12 AM
ethernet
Avatar
oh well; you shouldn't unplug the computer anyways
Avatar
and also the battery
Avatar
unless you have to reboot
4:12 AM
it appears to be giving me a prompt
4:12 AM
brb
Avatar
ok
4:13 AM
hope that it didn't fail
4:13 AM
just cfg-update
4:13 AM
finished compiling
4:13 AM
also
4:13 AM
how do i fix portage complaining about config files needing updates
Avatar
hmm
4:13 AM
i don't recall the command but it always does that
4:14 AM
oh yeah
4:14 AM
etc-update
4:14 AM
do i emerge it first, or is it built in
Avatar
built-in
👍 1
Avatar
merging the licenses
4:17 AM
or packages
4:17 AM
idk what its doing
4:17 AM
but its merging some files
Avatar
soon, well it'll compile Plasma, you'll be grateful that sometimes CMake and Ninja are the build engines, and you'll hate make
4:19 AM
... because guess what they show ~~ progress ~~
4:20 AM
make install plasma or something?
Avatar
no
Avatar
make is a build system ninja and cmake are others basically, all of those complicated gcc/g++ commands that you see flowing on the screen are executed by the build systems, in an automated way; so the build systems tell the compilers what to compile, and in which order
4:22 AM
but then i wont be able to see the progress because the text will be too fast...
4:22 AM
the text is already speedrunning for cfg-update
Avatar
random image from google
4:23 AM
no, it will be static
4:23 AM
oh wait really
4:23 AM
thats different
Avatar
well, at the bottom of the screen
Avatar
im used to the computer spitting out endless output
Avatar
that's not a cool thing when you use serial on the kobo tho
Avatar
the bottom will show progress, and the rest of the screen will be speedrunning?
Avatar
no
4:24 AM
it won't show all the "noise"
4:24 AM
like the image above
4:24 AM
well thats very different
Avatar
but; it will not be always that
Avatar
also very pleasant for me because my siblings are gawking at the screen and shouting to each other to look at my laptop because its spitting out a lot of code :p (edited)
Avatar
hahhahahahahaa
4:25 AM
btw
4:25 AM
gawking gawk
4:25 AM
google that
4:25 AM
gnu awk
4:26 AM
Avatar
yep
4:26 AM
you should also google sed, it's very useful for a lot of things
4:26 AM
i use it in kobox
Avatar
so now i'll go try and emerge xorg-server, xorg-drivers, and xorg-x11
Avatar
*inkbox
Avatar
ok
4:26 AM
good luck
👍 1
Avatar
"change USE: '+bindist'"
4:29 AM
for openssl and something to do with qt
Avatar
you want to know how to change the USE flags?
Avatar
make.conf?
Avatar
idk
4:30 AM
i never understood that but the thing is; i didn't change them and kde compiled and worked fine
Avatar
but -- you should change them
Avatar
its telling me i need a bindist
Avatar
google how to change use flags gentoo
4:33 AM
here's whats bugging me
Avatar
maybe add bindist in /etc/portage/make.conf
Avatar
no idea what to do so i just added a line that said BINDIST=""
Avatar
what are the contents of the file ?
4:38 AM
oh you're in a tty
Avatar
some flags and some dirs also this is curious # NOTE: This stage was built with the bindist Use flag enabled.
Avatar
well idk
4:38 AM
maybe it's enabled
Avatar
ill ask in the gentoo discord
Avatar
there's a gentoo discord?
4:39 AM
yup
Avatar
nice!
Avatar
its in the linux hub, under #distributions (edited)
Avatar
oh, didn't see it
Avatar
there are lots of them
Avatar
@tux-linux xorg-server stuck compiling (edited)
Avatar
where?
Avatar
libdir is doing something
Avatar
well since when?
Avatar
you should wait
Avatar
for hours
4:18 AM
no, its been stuck for hours
Avatar
ctrl alt f2
4:18 AM
and check htop or top to see cpu usage
4:18 AM
ok
4:19 AM
portage is using 100%
Avatar
that's a good sign
Avatar
my computer isnt warm tho
4:20 AM
its room temp
Avatar
free -mh ?
Avatar
3.3 gi available :/
Avatar
what does it say on tty1 ?
Avatar
wait after 3 hours of being stuck, its compiling again
Avatar
well, that's luck
Avatar
what I'm most afraid of is when you'll install grub
4:23 AM
with the setup you have, it has a minimum 70% failure rate
4:30 AM
btw @dill , I've set up my Mini with Alpine Linux installed bare metal, and installed inkbox on it. I added a few features since the last time, there's now USBMS, font size, usbnet bridge setup, and a few nice other things here and there would you like to get the image for it? it boots straight into InkBox, no nickel bloat or anything like that
Avatar
Avatar
tux-linux
with the setup you have, it has a minimum 70% failure rate
i installed grub already
Avatar
well, we'll see if it worked
4:37 AM
gentoo is the only menu entry tho
Avatar
oh, you already rebooted?
Avatar
that's better than nothing ;p
Avatar
would you like some screenshots of inkbox while I upload the thing?
Avatar
i also added a menu to "quit"
Avatar
now you have four shiny new options
4:38 AM
only suspend doesn't work for now
4:39 AM
cool :D
👍 1
4:39 AM
does nickel exist?
Avatar
no, not at all
4:39 AM
it's a plain Alpine Linux system running natively on the kobo
4:39 AM
so like kobox
Avatar
well, yes, but native
4:39 AM
no chroot
4:40 AM
thats better
Avatar
so you have real openrc init system and services
4:40 AM
so is there a gui
Avatar
well; of course
Avatar
well i mean
4:40 AM
it might not have had one
4:40 AM
like my gentoo system right now :p
Avatar
it's running inkbox
Avatar
so it boots, then starts inkbox
4:40 AM
automatically
4:46 AM
well; i just realized that I have to fix the "value" thing
4:46 AM
but the rest works
4:47 AM
some new options
4:48 AM
cool!!!
👍 1
4:50 AM
the best for the end
Avatar
and it really shows up on your computer
Avatar
your mini is white like mine :D
4:50 AM
wow
Avatar
I quite like the design of the usbms splash; do you?
Avatar
well, I'll clean up some things and I'll make a clean compressed image
Avatar
then, just dd and it's there
4:51 AM
also, it features the updated and enhanced new kernel
5:35 AM
because of gentoo compiling
Avatar
you can
5:35 AM
tty2
Avatar
also btw its speedrunning again
Avatar
you can plug in an external drive with the img
Avatar
Avatar
dill
also btw its speedrunning again
:D
Avatar
yep, nice!
Avatar
its giving me some warnings about -Wno-maybe-uninitialized or something but it doesnt look like a big problem
Avatar
no it's ok
5:37 AM
wait after xorg server
5:37 AM
i also have to compile drivers and x11 before emerging plasma?
Avatar
yes
Avatar
that gonna take me until 2022
5:37 AM
haha
Avatar
not that much
5:38 AM
also i saw that its compiling firefox
5:38 AM
so thats gonna take a long time
5:38 AM
gotta go
5:38 AM
bye!
👍 1
Avatar
done xorg-server and xorg-drivers!
3:06 PM
drivers took about a minute
3:06 PM
so now x11
Avatar
Avatar
tux-linux
you can
also i dont want to use more cpu
3:08 PM
with dd
3:08 PM
i can use the windows craptop i'm on right now
Avatar
yeah, maybe with etcher
3:17 PM
but dd won't increase your cpu usage at all
3:18 PM
i'm developing some update/reset functions to help me clean up things, so I'll pack the image up once that is done
3:18 PM
:D
3:20 PM
the laptop is speedrunning again
👍 1
3:24 PM
Avatar
pre-compile step
Avatar
⬆️ that's from 10 minutes ago i think
3:25 PM
yup
Avatar
configuration process
Avatar
it's like running ./configure before make
Avatar
looks like its on 50 of 75
3:25 PM
yeah
Avatar
well; install plasma after; I think there are about 600 pkgs to emerge
3:26 PM
i'll do that before heading out to school then
Avatar
if you can, it'd be a very good idea
3:26 PM
(if it finishes ofc)
Avatar
yea, but it depends if xorg-x11 finishes
3:26 PM
probably will though
3:27 PM
it looks like its 2/3 of the way done
Avatar
nice
Avatar
first do i switch to the kde profile, or do i emerge kde
Avatar
you should switch to the kde profile
3:28 PM
then it will probably give you a thousand errors, as usual
3:28 PM
yea
Avatar
yes
3:28 PM
this, right?
Avatar
you want the full feature set?
Avatar
there's plasma-desktop, which will take less time to build
3:29 PM
and will only install core things
Avatar
after that, you'll want to emerge maybe dolphin, konsole, and firefox if not done already
3:30 PM
in that case, you'll be able to emerge them after
3:30 PM
but it's up to you
Avatar
i think plasma-meta would be easier
3:30 PM
but slower, if im correct
Avatar
yeah
Avatar
probably going to take as much time as emerging plasma-desktop + firefox, dolphin, konsole, etc
Avatar
maybe
Avatar
71 of 75 is emerging
3:35 PM
and yet the windows laptop is making more noise than the linux laptop i wonder why
Avatar
stronger fan?
3:35 PM
windows is real bloat, so... yeah
3:36 PM
done x11
Avatar
change profile then plasma
3:38 PM
i set profile
3:38 PM
stable, right
Avatar
yeah
Avatar
better not go to unstable for now
Avatar
then i did emerge kde-plasma/plasma-meta
Avatar
no --ask ?
3:39 PM
AAAAGH
Avatar
shouldn't be that important
Avatar
error again
Avatar
what?
Avatar
bindist again
3:39 PM
for use flags
Avatar
prepend it
Avatar
USE=+bindist or something like that before emerge
3:40 PM
if there are space in the use flags, enclose the var in quote marks
Avatar
i tried that before, apparently use flags cant start with +
Avatar
well, maybe just try to put bindist alone ?
Avatar
i did USE="bindist" emerge kde-plasma/plasma-meta
Avatar
should work
Avatar
emerging (1 of 269)
Avatar
hold your breath haha
Avatar
heh im gonna be wondering if this is done when im at school
Avatar
yeah
Avatar
probably not though
Avatar
and this evening you'll come back and see it complained about another error
Avatar
so don't have high hopes, it's my take
Avatar
yeah definitely
3:43 PM
gotta go
3:43 PM
bye!
Avatar
ok bye
Avatar
@tux-linux its compiling
12:02 AM
emerging 162/269
12:02 AM
was probably a good idea to start it before heading out to school
Avatar
Yeah, nice!
2:08 AM
3:49 AM
still compiling
3:51 AM
looks like it has 30 pkgs left
3:51 AM
:DDD
Avatar
should be done by tomorrow morning :/
Avatar
yeah, that's gentoo...
2:05 PM
Fiash it with that gunzip -c inkbox.img.gz | sudo dd of=/dev/mmcblk0
Avatar
please give feedback if you can; it'd be really awesome
👍 1
Avatar
@tux-linux if theres alpine, can there be openbox
Avatar
theoritically, yes
Avatar
how would we do it
Avatar
same as installing xorg in the chroot
1:19 AM
but the software would be outdated
Avatar
the mini's kernel can only run up to alpine 3.10
1:20 AM
oops caps lock
1:20 AM
haha
1:21 AM
btw emerging chroium
1:21 AM
gotta go bye
Avatar
oook good luck
Avatar
still compiling
4:07 AM
what i dont understand is, why isnt it precompiled like for arch
4:10 AM
this is why i hate opera sometimes
Avatar
yeah
4:13 AM
that's annoying but that happens with any chromium-based browser that I encountered to have seen
Avatar
Avatar
dill
what i dont understand is, why isnt it precompiled like for arch
to give you the maximum options for customizing and stripping down the system to what you want
4:15 AM
i decided to just use chrome
4:16 AM
about to scream
Avatar
yeah
Avatar
what browser do you use
4:17 AM
agh discord
Avatar
now its firefox
Avatar
i use discord in the browser
Avatar
i miss when firefox was included in windows 7/8.1
Avatar
i tested with the app, and honestly it doesn't add much features that i need
4:18 AM
it was never included
Avatar
for me it was
Avatar
probably oem-included
4:18 AM
oh
Avatar
i use vivaldi also, but firefox is doing what i want for now, it's a wonderful browser for normal pcs
4:18 AM
i.e. not kobos
Avatar
haha firefox is slow on my aura
Avatar
well you're lucky if it even launches before crashing
Avatar
at least the installer downloaded
4:19 AM
yeah definitely
Avatar
nice
Avatar
on firefox now
Avatar
firefox's ui on windows is better than linux's
4:22 AM
i think linux's is better
Avatar
it depends
Avatar
im on windows rn
Avatar
i love the purple background tho
Avatar
because linux is emerging chromium
4:22 AM
on what?
Avatar
which linux hasn't by default
4:22 AM
firefox
Avatar
yeah
Avatar
yeah i like it too
4:23 AM
would firefox take longer to emerge, or chromium
Avatar
chromium
4:24 AM
how fast is your flash speed
4:24 AM
on linux, mine is 10-15 mbps and on windows, 3-5 mbps
4:24 AM
for images
4:24 AM
(on windows, i use etcher, and on linux i use dd)
Avatar
hmm
4:25 AM
depends
4:25 AM
around 10mbs
4:25 AM
not mbps
4:26 AM
mbps means "megaBITS per second"
Avatar
thus, not bytes
Avatar
it's how your ISP is lying to you
4:26 AM
when it says that you have 400mbps speeds
4:26 AM
you divide by 8
4:26 AM
and in fact you only have 50 mb/s
4:26 AM
ah
Avatar
yeah
Avatar
you can open img files in archive managers, right
4:29 AM
i did that once in linux
4:29 AM
i think it was arch
4:30 AM
Avatar
Nice
4:31 AM
I can't wait to see if I messed up or if it really works with other devices than mine
Avatar
👍 i cant wait to see if it works!
4:31 AM
be right back, grabbing my mini
Avatar
Yeah, suspends only works with the power button, but I'll issue an update file to fix that
Avatar
and making sure i have the image of my mini
Avatar
Yes
4:33 AM
Also, exported storage is only 512mb, but it is enough for testing, I could change that in the future if necessary
Avatar
sorry for the wait, i had a little scare when i couldnt find my sd adapter
4:35 AM
all good now
Avatar
I completely understand
4:35 AM
I lose it all the time (edited)
Avatar
haha they are easy to lose
Avatar
The microsds are even easier to lose
4:36 AM
You just look away and they're already gone
Avatar
yeah its a miracle i havent lost mine
Avatar
Avatar
tux-linux
Also, exported storage is only 512mb, but it is enough for testing, I could change that in the future if necessary
"exported"?
Avatar
Onboard
Avatar
oh thats fine
Avatar
There's a few books for testing too (edited)
4:38 AM
still just txt, right
Avatar
Yeah
4:38 AM
Well theoretically anything plain text
Avatar
Like shell scripts
4:38 AM
Or source code files
Avatar
also i can resize the exported storage, right
4:38 AM
oh cool!
Avatar
Not easily
4:39 AM
It's actually... A file
Avatar
i have a "partition wizard"
4:39 AM
ah
4:39 AM
It's like Kobox chroot image but there are books inside instead of Xorg
Avatar
oh i see what you mean
Avatar
And so g_file_storage exports it over USB when you click go in usbms in Settings
4:40 AM
To exit of usbms, unplug the cable
4:41 AM
Did it flash?
Avatar
yup, just got the etcher notification
Avatar
Stress
Avatar
Suspense
4:43 AM
eBook reader InkBox
4:43 AM
IT WORKED
Avatar
Wheeeeeeeee
4:43 AM
Btw to open the file, double tap
4:44 AM
had a little confusion over where the open button was
Avatar
Yeah it's a strange scaling error
Avatar
same page error with the aura
4:45 AM
text seems to be below the screen as well
Avatar
Yeah, did you click the menu button in the first page?
Avatar
i opened the credits and it's cut off where it says "Thanks to:"
4:46 AM
then the next page says "feedback."
Avatar
Yeah better to click menu after you turned one page
4:46 AM
Try it out it works
Avatar
:o i see officeraction and i see "Elektron" on the bottom a little, but the menu is gone
4:47 AM
thanks for putting me in! :D
Avatar
Try with 84-0 it's Frankenstein
4:48 AM
Click next then menu
4:48 AM
That will work
4:48 AM
And well
Avatar
how do i exit?
4:49 AM
the "previous, next, and options" menu is gone
Avatar
Well there's a home button in the menu
Avatar
Avatar
dill
the "previous, next, and options" menu is gone
.
Avatar
But... What?
4:49 AM
Options menu?
Avatar
the page is showing fully on the screen
4:50 AM
the menu on the bottom? for turning pages? that's gone
4:50 AM
Force restart
Avatar
wait i might send a picture, depending on if my camera works
4:50 AM
ok
Avatar
It should work with Frankenstein tho
Avatar
camera is like 144p so no point in sending
Avatar
Yeah, it's ok
4:51 AM
Did it reboot?
Avatar
yes, just fixing the back of the kobo
4:53 AM
I feel your pain
Avatar
it works! and well!
Avatar
Nice! Did you try dictionary search?
4:55 AM
I think it's the fastest I've ever seen
4:55 AM
Double tap a word
Avatar
yeah definitely, i love it
Avatar
Nice! Also the star can save the word, then you can view them in apps/saved words
4:56 AM
This feature actually took a ton of time to develop
Avatar
yeah i saw, kind of like "my words" in nickel
Avatar
Avatar
tux-linux
This feature actually took a ton of time to develop
i can imagine
Avatar
Nice that you like it!
Avatar
whats the "light maps"? looks like "google maps"
Avatar
You can also try and plug it in to the computer, then settings/start usbms And you'll have USB ms
Avatar
and i have no idea how to exit light maps
Avatar
Well it works but only with internet, so you'll either have to have USBnet set up or in the far future, wifi
Avatar
Exit, well yeah, no way currently
4:58 AM
Reboot
Avatar
Usbnet is started at boot time, so you can directly connect without having to hook up serial
Avatar
It is stopped when in usbms though, of course
Avatar
Did you try sleep?
Avatar
i'll grab my usb
4:59 AM
yeah, i like the screen
4:59 AM
its simple
Avatar
Yeah, and I'll issue a small update soon, you'll be able to see the update splash
Avatar
Yeah?
Avatar
its setting up an ethernet thing
5:01 AM
is that usbnet?
5:01 AM
i've never used it before
Avatar
Yep ;p
Avatar
But it probably won't cope well with Windows
5:02 AM
When you click "Go" on usbms, it will show as mass storage though
5:02 AM
will i be able to see the files in onboard
Avatar
Yes
5:03 AM
Well that's why there's usbms
Avatar
haha dumb question
Avatar
Not the rootfs files though
5:03 AM
And that's better, because not secure otherwise
Avatar
Yeah ;)
Avatar
thanks :D!
👍 1
Avatar
You can go to Gutenberg.org and maybe grab some books in plain text
👍 1
Avatar
Avatar
dill
thanks :D!
Should I create an MR thread?
Avatar
I think it's mature enough now to be denoted as "usable"
Avatar
"Introducing InkBox A new eBook reader for the Kobo line of eReaders" (edited)
5:05 AM
agh caps
Avatar
Well a bit long tho
Avatar
yeah but not the title
5:05 AM
the header
Avatar
"InkBox: an open source OS for Kobo eReaders"
5:06 AM
Oh yeah sure
Avatar
That's going to be huge
5:06 AM
no school tomorrow so that means i can be on
5:06 AM
yey
Avatar
Nice! Me it's online school so
5:07 AM
About the same thing
Avatar
i went online for 3 months, i decided in person was much better
Avatar
We change between real classes and online
Avatar
high school?
Avatar
Like one day it's at school, and the other is home
5:08 AM
Yes
Avatar
i'm in junior high
Avatar
Honestly I don't know much what you're talking about
5:08 AM
Here in Quebec I'm in "Secondaire 3"
Avatar
middle school i guess you could call it
5:08 AM
grade 7
Avatar
Ok so like maybe "Secondaire 1" here (edited)
5:09 AM
probably
5:10 AM
do i need to eject
Avatar
Well, better to
5:11 AM
Anyways it reboots after because I didn't figure out a way to do it without reboot
Avatar
doesnt seem to be an option, its reading it as a native disk (i.e. part of C:)
5:11 AM
wait
5:11 AM
nevermind im dumb
Avatar
Yeah, impossible
Avatar
it has happened before
Avatar
Wait really
Avatar
yeah but for disks like DVDs, not USB devices
Avatar
Still strange
5:12 AM
You have to unplug after
Avatar
yeah i did
Avatar
Did it reboot?
5:12 AM
(yet)
5:12 AM
im reading sherlock holmes
Avatar
Huh?
Avatar
from gutenberg
Avatar
Ok so it rebooted but you didn't realize it
Avatar
probably
Avatar
Haha ok
5:13 AM
What font did you choose?
Avatar
Nice!!!!
Avatar
sorry for low resolution but this is a 10 or 9 year old laptop ;P
Avatar
Even if it's 144p
5:15 AM
i much like source serif pro
Avatar
Yeah it's nice
Avatar
Also, if you want to change the font size, there's an option in settings for that
5:16 AM
No
Avatar
yeah i generally like small text
5:16 AM
im a big reader
Avatar
There's an option to change number of words
Avatar
i'll go get a better camera
5:16 AM
oh nice!
Avatar
Great
5:17 AM
Yeah, because bigger font size would be ... Problematic if that didn't exist
Avatar
much better
Avatar
Yep, very nice
5:19 AM
Thanks
👍 1
5:20 AM
Second Kobo mini in the world running InkBox
Avatar
that's certainly exciting! :D
Avatar
I hope people will like it
Avatar
they will
Avatar
I think I made a good job in the design
Avatar
Avatar
dill
they will
Thanks
Avatar
yeah definiteylsjgsogjosi i gave up on the spelling (edited)
Avatar
Haha ok
Avatar
scribble is a sketch app?
Avatar
Yeah
5:22 AM
And it actually works
Avatar
Well it's a save menu
5:23 AM
It's an example app
Avatar
yeah but so many formats
Avatar
I didn't code this one
Avatar
thats cool
5:24 AM
really?
Avatar
Yes, it's a part of the Qt examples (edited)
5:25 AM
Light maps too
Avatar
But these are the only ones that are 3rd party
Avatar
Avatar
dill
Click to see attachment 🖼️
Love it
Avatar
i think include some screenshots
Avatar
You can change the pencil size btw
Avatar
yeah thats what i did
Avatar
Yeah of course
5:26 AM
I also shot a video
Avatar
i can do that but there might be noise
5:26 AM
i can mute that however
Avatar
Yeah
Avatar
...hard to do with a webcam perched on a laptop
Avatar
Ok well that's very nice that you like it, tomorrow I'll issue some new updates so you can see what it's like to update, and also it will introduce a fix to suspend with the suspend button in the quit menu
Avatar
Well I did one with my phone, the quality should be better
5:28 AM
Not that I don't like your webcam but
Avatar
no, i understand
5:28 AM
phones are better for videos
5:29 AM
i took the pictures of my laptop with a phone actually
Avatar
Yeah, difference is noticeable
5:29 AM
Haha
5:29 AM
You could take a video with the phone if you want too
Avatar
yeah but not right now; it's being used :/
5:30 AM
also the author's quote seems to be taking up the entire screen (edited)
5:30 AM
Avatar
Yeah... That's why I disabled it
Avatar
how do i disable again?
Avatar
You'll need to reflash I'm afraid
Avatar
oh ok no problem
Avatar
Or modify the config
Avatar
how do i do that?
Avatar
In /opt/config
Avatar
You'll have to do that on the microSD tho
5:33 AM
With a real computer
Avatar
thats fine im on a real computer
5:34 AM
also i like how fast IB loads
Avatar
But can you access ext4 FS?
Avatar
no idea lets see
Avatar
Yeah, actually the boot process mounts squashfs images everywhere
5:35 AM
You shouldn't be able to on Windows
5:35 AM
Like, InkBox binary is a squashfs, Python, qt, etc.
Avatar
my microSD was RIGHT HERE
5:35 AM
AAAAAH
5:35 AM
ok i feel your pain
Avatar
Well is it not in the Kobo?
Avatar
just took it out
Avatar
No squashfs is nice You can check /etc/init.d/inkbox_gui
Avatar
found it
Avatar
Oof
Avatar
now lets see if it can work
Avatar
Probably not
5:37 AM
oof
5:37 AM
ok reflashing
5:40 AM
flashed
Avatar
Great
Avatar
the flash was done in a flash ;p
👍 1
5:44 AM
when will you post the thread?
Avatar
All should be back to normal now
Avatar
yep it is
Avatar
Probably tomorrow
Avatar
It's 23:45 here
Avatar
oh yikes
5:45 AM
i'd be asleep by then
5:45 AM
here it's 21:45
Avatar
Yeah, at least I'm not living in UK or France
5:47 AM
Timezone would be... Problematic
5:47 AM
should i add an invite link to the kobox server to my signature?
Avatar
If you want yes
5:50 AM
i have to go now
5:51 AM
bye!
Avatar
Ok bye
Avatar
@dill There's a new update available, as promised, at http://pkgs.kobox.fermino.me/bundles/inkbox/update/
Avatar
@tux-linux :D great!
Avatar
there's a how to there too
Avatar
yeah i saw
4:21 PM
grabbing my mini
4:22 PM
chromium will probably finish compiling tomorrow :/
Avatar
maybe after tomorrow
4:22 PM
and after after tomorrow
4:23 PM
4:23 PM
so i put that in .inkbox? (edited)
Avatar
that
4:23 PM
yes
Avatar
you extract it
4:23 PM
in .inkbox
Avatar
oh i thought you actually put the txz in it
4:24 PM
you extract it there
Avatar
in the folder, not in the root of the onboard storage
Avatar
yeah got it
4:24 PM
can i rename the drive?
Avatar
better not
Avatar
its called "Local Disk (G:/)"
4:25 PM
this, i extract?
Avatar
yeah
4:26 PM
in .inkbox
👍 1
4:26 PM
isa means inkbox software archive
Avatar
it's actually a squashfs
Avatar
oh it is?
Avatar
containing other squashfs
4:27 PM
containing inkbox binaries, python and qt
Avatar
this is the .inkbox
4:28 PM
can i eject?
Avatar
the squashfs are mounted at boot by the init script
4:28 PM
yes, but be sure that it has correctly written all
Avatar
i extracted twice
Avatar
twice? (edited)
4:28 PM
well eject, should be ok
Avatar
yeah because i thought it didnt do it the first time
4:28 PM
(winRAR wasn't responding)
Avatar
just rebooted
4:29 PM
showing me the home screen
Avatar
so you'll click the update button in settings
4:30 PM
turn the page theres a chevron
Avatar
pointing right
Avatar
i'll also take a picture of that
Avatar
nice
4:31 PM
did you find it?
Avatar
yeah, do you like the animation?
4:33 PM
just like nickel
4:33 PM
success
Avatar
yeah, nice
Avatar
now i'll look at the youtube, havent had a chance to see that
4:34 PM
i saw the thread
Avatar
you should be able to suspend by clicking the suspend button in quit menu
Avatar
its not responding...
4:37 PM
to touch
4:37 PM
wait nevermind, i think it was frozen for a minute
Avatar
what?
Avatar
yeah ok
Avatar
i really want to see if my grub reinstall worked for showing the other distros
4:39 PM
but i cant because of chromium
Avatar
wait
4:39 PM
you wanted to compile chromium
4:40 PM
i said you should go with falkon
4:40 PM
but you didn't listen
Avatar
yeah i may have forgotten
4:40 PM
:/ sorry
Avatar
but it will finish someday
4:40 PM
also touch is being wonky
Avatar
restart?
4:41 PM
how wonky
Avatar
i press options and previous and it turns the page
Avatar
huh restart
Avatar
it seems to not respond when i press quit
Avatar
force restart then
Avatar
doing it
4:42 PM
oh ok now i see the quit mennu
4:42 PM
i like it
Avatar
but try what you were doing before
4:43 PM
when did it become wonky
Avatar
which one was huckleberry finn? 76-0 or 84-0? (edited)
Avatar
working now
Avatar
does suspend with the button works?
Avatar
lets see
4:46 PM
yeah
4:46 PM
brb
4:52 PM
what does "search" do
Avatar
nothing for now
4:52 PM
it should search onboard for books in the future
Avatar
and maybe dictionary too
4:53 PM
personally i think the config file should be onboard
Avatar
that would render updating ... difficult i think
4:54 PM
i could implement a reset option
4:54 PM
like the "diags" menu in the kindles
4:55 PM
never had a kindle
Avatar
these are... nice but not nice
Avatar
factory reset to default inkbox?
Avatar
yeah
4:55 PM
that'd be cool
4:56 PM
like a recovery partition
4:56 PM
yeah
4:56 PM
i have the space for that
Avatar
that's exciting i must admit
Avatar
definitely
4:56 PM
inkbox can become like koreader and plato
Avatar
I could also roll another update today because I need some way to put files directly in the rootfs
4:56 PM
yeah
4:56 PM
maybe more stable too, because qt is rock solid stable already
4:57 PM
also why cant i switch ttys while running KDE without KDE crashing
Avatar
it's specific to distros
4:57 PM
arch can
4:57 PM
others can't
4:57 PM
well right out of the box tho
Avatar
tty1 is compiling, tty2 is kde, i switch to tty1 to check on it, then back to tty2, to find that bluedevil is printing out a dozen error messages a minute and i have to ^C
Avatar
tty2 is on KDE ???????????? (edited)
4:58 PM
well that's SIGNIFICANTLY slowing down your compiling
4:59 PM
no tty1 is on compiling
4:59 PM
tty2 is kde
4:59 PM
but yeah i'll avoid that
Avatar
yeah, better to close the x session
4:59 PM
tty 3 and killall X
4:59 PM
or rc-service sddm stop maybe
Avatar
no if i switch ttys then the thing crashes by itself
4:59 PM
not sddm
5:00 PM
startx
5:00 PM
killall X then
Avatar
or log out but i don't know if it will really kill x
Avatar
i'll do it from konsole
5:01 PM
also i'll put some screenshots on MR
Avatar
ok nice
Avatar
request dhcp lease?
5:06 PM
what's that for?
Avatar
for usbnet
5:06 PM
when you want to bridge and have internet access via usb
5:06 PM
ok so i'll restart and plug the mini into the computer
5:07 PM
then i'll request a dhcp lease?
Avatar
what computer
Avatar
laptop windows 10
Avatar
windows? no
Avatar
plug it in the gentoo laptop, then tty2 or tty3
Avatar
you wont eat cpu
5:07 PM
so i plug it in then request a dhcp lease?
5:07 PM
you plug it in
5:08 PM
ifconfig usb0 192.168.2.2
5:08 PM
and then
5:08 PM
ssh user@192.168.2.1
5:08 PM
password is user
5:08 PM
you won't have internet access, but it's enough to have a shell
5:08 PM
real internet access is a bit more complicated
Avatar
shouldnt it be 192.168.2.2 not 192.168.2.1
5:08 PM
because your computer is 192.168.2.1
👍 1
5:09 PM
and the kobo is 192.168.2.2
Avatar
then you'll want to gain root access , password is root
5:09 PM
i may or may not disable root login in the future, to make things more secure
5:09 PM
ssh as root is already blocked by alpine
5:11 PM
you can start and stop inkbox by typing rc-service inkbox_gui start
5:11 PM
or stop
Avatar
usb0 isnt an interface (edited)
Avatar
also i made a shortcut, you can type start inkbox_gui as well
5:11 PM
usb0? (edited)
Avatar
ifconfig
5:12 PM
does it show any unusual interface
Avatar
no just enp5s0 and lo
Avatar
disconnect usb
5:13 PM
reboot the kobo
5:13 PM
reconnect usb
5:13 PM
or maybe ifconfig -a shows something else
Avatar
sit0 (edited)
Avatar
ok so try disconnect reboot and reconnect then
Avatar
i set the thing to 192.168.2.2 and started ssh
Avatar
does it work
Avatar
but ssh user@192.128.2.1 just hangs
5:19 PM
i said
Avatar
and you set it to 192.168.2.1
5:19 PM
really i said that?
Avatar
hahahahaha ok it's the contrary
Avatar
ifconfig .1
Avatar
ssh .2
Avatar
so ifsonfig 192.168.2.1 then ssh user@192.168.2.2
Avatar
yeah
Avatar
connection timed out
Avatar
ifconfig usb0 down
5:22 PM
unplug
5:22 PM
reboot
5:22 PM
plug
5:22 PM
ifconfig usb0 up
5:22 PM
ifconfig usb0 192.168.2.1
5:22 PM
ssh user@192.168.2.2
Avatar
you mean sit0 but ye
5:22 PM
not sit0
5:22 PM
ok then
Avatar
there should be some interface
5:22 PM
enx..... or usb...
Avatar
theres lo and enp5s0 which are regular, but then there's sit0 that appears when i plug it in
Avatar
really
5:23 PM
try another usb port
Avatar
wait sit0 is apparently part of the system as well
5:25 PM
it only shows up when i use -a
Avatar
yeah
5:27 PM
try another usb port
5:28 PM
wait i only have 2 and i tried both and it doesnt work (edited)
Avatar
strange
Avatar
boot win10 laptop with a liveusb
5:28 PM
my parents dont want me to :c
5:29 PM
even a liveusb?
Avatar
this is a "family" computer even though theres a fast pc in the corner
5:29 PM
ye
Avatar
it doesnt do anything
5:29 PM
still :c
Avatar
yeah ok don't know then
Avatar
you rebooted the kobo?
Avatar
idk
Avatar
plug in the kobo then
5:31 PM
dmesg | tail
Avatar
it seems to recognize it
Avatar
what does it say
Avatar
it says "new usb connect" and it gives info
5:34 PM
"product: ethernet rndis gadget" or something
Avatar
should be ok
5:34 PM
its not tho
Avatar
are you sure it doesnt show anything else in ifconfig
Avatar
lets try again
5:35 PM
ye im sure
Avatar
ifconfig usb0 up ?
5:36 PM
maybe ...
Avatar
ok lets see
5:36 PM
no such device
Avatar
idk
Avatar
ok no problem
Avatar
well maybe you could try to let the kobo plugged in, then reboot the kobo
5:54 PM
and don't unplug it
5:54 PM
the only option left would be to restart the computer but obviously you can't
Avatar
ok I've looked into some options for a recovery partition, I think I'll embed an initramfs into a new kernel and then switch_root to either the rootfs or recoveryfs if the power button is pressed or not in the first 3 seconds of boot-up
10:44 PM
Initramfs would be very useful
Avatar
yeah, actually wonderfully useful for emmc devices
Avatar
But I think you should put it in the thread in bold, otherwise people might accidentally recover their Inkbox by accident
Avatar
what?
10:46 PM
well if they get to the recovery menu there will still be options
10:46 PM
it won't erase anything right away
Avatar
Oh I thought it would
Avatar
look at the kindles diags
Avatar
Like nickel
10:47 PM
Ok
10:47 PM
Diagnostics?
Avatar
that, as an example
10:48 PM
👍 1
10:49 PM
yeah, a cool menu
10:49 PM
I'm wondering if I should do it in Qt or in something lighter
10:49 PM
but I couldn't, since I don't know much else
10:49 PM
and even if i did, touch input would be a chore to handle without qt
Avatar
Lighter imo but it's up to you
10:50 PM
Yeah true
Avatar
maybe xorg haha
Avatar
but I think it would weigh about the same size
10:50 PM
also, I can put Qt in a squashfs too so that's not bad
Avatar
Which reminds me, chromium is more than halfway done
10:51 PM
Oh ye
Avatar
basically, the initrd will just switch root to the diags partition if the power button is pressed
10:51 PM
otherwise it'll switch root to the rootfs
10:51 PM
nice!
👍 1
Avatar
Ok then that's much better than nickels way of doing things
10:52 PM
kindles don't have a factory reset option like kobos
10:52 PM
Weird
Avatar
to reinstall the fw you have to hook it up to serial then you go in fastboot and transfer manually the fw images
Avatar
That's sad
Avatar
no not weird; amazon just likes to lock their users into their ecosystem
Avatar
I'm on an Amazon fire right now ;p
Avatar
yes, but I love it; it's nice to see what amount of efforts they've deployed to lockdown the system like this
10:53 PM
if InkBox was closed source and we sold it in real ereaders, I think I would do that
10:53 PM
but it's my point of view
10:54 PM
I like to lock down things; but i don't know why
Avatar
Hhhhhhjjjjjjjjjjjjjjjjjhhhfv
10:54 PM
Wait what
Avatar
and then i'd watch bulletin boards to see if someone found how to jailbreak them
Avatar
"Hm" auto corrected to Hhhhhhjjjjjjjjjjjjjjjjjhhhfv
Avatar
and I'd probably hire the "someone"
Avatar
haha
Avatar
Avatar
tux-linux
if InkBox was closed source and we sold it in real ereaders, I think I would do that
Might even be possible... In the extremely far future
Avatar
probably not
10:57 PM
it's too crappy to be a real product
Avatar
Yeah since it's open source right now
Avatar
Avatar
tux-linux
it's too crappy to be a real product
Yeah but like you said it's still " alpha"
Avatar
yeah, it will probably be a reactos-like alpha
10:58 PM
haha
Avatar
20 years
10:58 PM
that's a long time
Avatar
haha you'll be 35 and I'll be 32
10:59 PM
but if we continue the development that far
Avatar
yeah ¯\(ツ)\
Avatar
well it has to be good
10:59 PM
Definitely
Avatar
what I would have done for the diags would be just to have put some things in mmcblk0p2 but since the mini's reset button doesn't restart on mmcblk0p2
11:00 PM
we go the hard way
Avatar
Compiling
Avatar
Avatar
tux-linux
what I would have done for the diags would be just to have put some things in mmcblk0p2 but since the mini's reset button doesn't restart on mmcblk0p2
Yep
Avatar
yeah; do you show that to your friends sometimes?
11:01 PM
they must be scared haha
Avatar
But we should also expand to more device aupport
11:01 PM
Support
11:02 PM
but the only other thing i have with removable sd is the glo hd
11:02 PM
and as you know...
11:02 PM
it's a piece of crap
Avatar
Avatar
tux-linux
yeah; do you show that to your friends sometimes?
Hahaha yea, one of them asked me to spawn three trillion dollars in USD
Avatar
they're hilarious
👍 1
Avatar
Avatar
tux-linux
it's a piece of crap
Ye I've seen pictures
11:03 PM
They are
Avatar
well mine is
11:03 PM
not them
11:03 PM
i mean; the screen
11:03 PM
it got cracked
11:03 PM
I saw
Avatar
oh ok
Avatar
you uploaded a video I think
Avatar
yeah the youtube thing
Avatar
It looked old
Avatar
it's only from 2015
Avatar
I got my aura in 2019 or something
Avatar
but it looks old because I dismantled it from its shell
Avatar
honestly, I don't really care about it
11:05 PM
the aura could work too, maybe booting from an external sd, but the h/w is pretty much the same than on the mini
Avatar
haha my Kobo mini is always lying around
Avatar
good thing
Avatar
Avatar
tux-linux
the aura could work too, maybe booting from an external sd, but the h/w is pretty much the same than on the mini
No it's pretty recent Not an Aura, an Aura H2O ed 2
Avatar
no I mean my Aura
Avatar
No sd slot
11:05 PM
Oh
11:06 PM
Yeah but the thing is, how would you boot from an external one in the first place
Avatar
tweaking uboot config
11:06 PM
Oh ye*
11:07 PM
Haha
11:07 PM
hmm well it's the wrong one
11:07 PM
maybe not
11:07 PM
idk
Avatar
probably the same with every kobo
Avatar
should work yes
Avatar
Because yeah I thought nickel was the one detecting the SDs not uboot
Avatar
of course not
11:08 PM
u-boot is like grub
Avatar
it's extremely low-level and it loads kernel at specific memory addresses, then boot
Avatar
Brb checking on laptop
11:09 PM
Oh ok I get it
11:09 PM
13078 out of 23398
11:09 PM
:\
Avatar
two days to go
11:10 PM
i think
Avatar
More like one
Avatar
depends
11:10 PM
and you don't know what can happen at the end
Avatar
Maybe even tomorrow morning
11:10 PM
Yea
11:11 PM
Laptop is surprisingly fast
Avatar
it's the final link that is the most likely to fail
11:12 PM
it will probably eat up a lot of memory, don't know if your swap will be enough
Avatar
14G swap, man
Avatar
yeah i know
11:13 PM
18G will have to be in memory???
11:13 PM
but surely a lot
11:13 PM
i think you should be good
11:13 PM
but short
Avatar
Yeah but surely not that much (edited)
Avatar
Also I think I'll do some OOBE setup for InkBox
Avatar
Yeah like basic config setup?
11:16 PM
Like when you boot Nickel for the first time
Avatar
Oh cool, so maybe in the future different languages
Avatar
Could start with English and French
Avatar
would definitely be cool
Avatar
Just had a flash Imagine in the future people sell modded Kobos with InkBox Like factory reset and there's a "press the power button"picture and it boots into InkBox
Avatar
hahaha yeah
11:22 PM
Could also look into developing with kindles now that you have one
Avatar
That's going to be tricky
11:25 PM
Because I'd have to port the Kobo platform plugin
Avatar
Avatar
tux-linux
yeah; do you show that to your friends sometimes?
"that looks like a virus"
11:26 PM
Oh yeah
Avatar
nice haha
Avatar
also, a NickelBoot in Qt would be nice what should I do first? NickelBoot shouldn't take much time; it's not that complicated to set up I think (edited)
Avatar
Avatar
tux-linux
@OfficerAction OK, so as a side-project more or less related to KoBox: Since I had success running Alpine Linux entirely on the Kobo, I'd like to develop myself an embedded system for my Kobo using a coughs recent Qt framework and Qt Web Engine. It would probably include an open-source reader framework or in-house developed one. I.e. an open source Nickel. Since your Manga reader was in Qt, I think you're the one who knows most about it in this server. So, I have some questions for you (and to anyone who knows about an answer); 1. On what system should it be run? I think Alpine is fine, but I don't know if musl-libc is ideal for it... but also, I've seen Yocto and BuildRoot, those seem pretty interesting... 2. What's the learning curve? I know some Python and C. Qt is mostly C++, right? Don't worry, if you say "very hard" I'll give it a try anyways I think haha 3. any other recommendations/warning/emergencies like "doooon't do thiiss" or the like? thanks! (edited)
I can't believe how much I learned in 3 weeks hahaha
Avatar
Avatar
tux-linux
also, a NickelBoot in Qt would be nice what should I do first? NickelBoot shouldn't take much time; it's not that complicated to set up I think (edited)
that was... the firmware thing, right?
Avatar
yes
4:19 AM
to boot multiple nickel versions
Avatar
thats the reason why i installed linux haha
Avatar
true
4:20 AM
well you'll be able to test it
4:20 AM
i think you don't regret your decision
Avatar
ye i dont
4:20 AM
windows was crap
Avatar
i'm testing things with an initrd, kernel doesn't want to cooperate
4:21 AM
yes
4:21 AM
ofc
Avatar
Avatar
tux-linux
i'm testing things with an initrd, kernel doesn't want to cooperate
kexec?
4:21 AM
initramfs
4:21 AM
initrd
Avatar
dont know what an initrd is (edited)
Avatar
pretty much the same thing
Avatar
gotta go, will be back in ~20 mins
4:22 AM
bye
Avatar
Avatar
tux-linux
pretty much the same thing
oh
Avatar
ok bye
Avatar
no one seems to be interested by inkbox on mobileread tho...
Avatar
no they will be
4:47 AM
wait let me see mr
4:48 AM
they probably didnt see the thread
4:48 AM
or didnt reply
4:48 AM
because it only has 258 views
Avatar
yeah
Avatar
people like @davidfor and @NiLuJe are probably asleep
Avatar
maybe
Avatar
ye because theyre in different timezones... davidfor is in australia and NiLuJe is in france
Avatar
yes, could be
Avatar
...chromium will probably be installed
4:52 AM
by
4:52 AM
tomorrow morning at the latest i think
4:52 AM
earliest*
Avatar
great
Avatar
and i probably wont stop using the word probably
Avatar
I use Gentoo btw (edited)
4:53 AM
that?
Avatar
say it to your friends, they won't understand anything of it
4:53 AM
well likely
Avatar
how about "I use Deepin, Arch, Gentoo, and Debian btw"
Avatar
yeah... maybe
Avatar
they would say "are you crazy" (edited)
Avatar
"and I run Alpine Linux on my Kobo"
4:54 AM
hahaha
4:55 AM
so "I use Alpine, Deepin, Arch, Debian, and Gentoo btw"
4:55 AM
wait i'll put that in my chat right now
4:57 AM
i'll do @all in my chat to annoy people as well C:<
Avatar
haha
Avatar
nice
5:00 AM
now people will be like "huh?"
Avatar
yep hahaa
Avatar
nice
5:01 AM
then say that Windows is just pure crap and you'll get banned of the chat ahhahaha
Avatar
but you forgot the btw
Avatar
Great!
Avatar
but probably nobody is online so i'll see tomorrow
Avatar
hehe
Avatar
i have to go
Avatar
ok bye
Avatar
smacks forehead
5:13 AM
i forgot to swapon
5:13 AM
im so dumb haha
5:14 AM
the compiling was stuck
Avatar
it failed?
5:14 AM
it was stuck, i top and i see 0 swap
Avatar
haha
Avatar
so i think "I FORGOT TO SWAPON"
Avatar
and you put that in your class group chat again haha
Avatar
and i almost destroy my computer punching in swapon /dev/sda6
Avatar
yeeeeee
Avatar
well hopefully it will finish soon
Avatar
yeah now that swap is on
5:16 AM
will top use cpu or slow down compiling
Avatar
yes, and you should look at htop too, it's nice
Avatar
htop isnt a command :/
Avatar
emerge it
5:17 AM
after chromium
Avatar
or download it
5:17 AM
then put the binary in /usr/bin
Avatar
WAIT i just realized, after chromium, i no longer need to emerge
Avatar
why
Avatar
because i can just download the tar.gz
5:17 AM
unless im dumb
5:18 AM
which is often (edited)
Avatar
well not for each app
Avatar
yeah only for the ones that allow it
5:18 AM
like discord
Avatar
also, i think that gentoo sometimes offers package-bin packages
5:18 AM
like, when compiling is so slow that even the maintainers would like to throw their computer by the window
Avatar
Avatar
tux-linux
like, when compiling is so slow that even the maintainers would like to throw their computer by the window
like me
5:19 AM
with chromium
Avatar
yeah
5:19 AM
but some are worse
Avatar
well, not necessarily by compile time (there are, i can't name one for now), but e.g. Linux From Scratch
5:20 AM
you have to hunt for the depends, one by one
5:20 AM
that's what you call a d*** big rabbit hole
5:21 AM
thinks at what the experience of compiling Qt in LFS was
5:21 AM
gentoo does all of that for you
5:21 AM
yikes
5:21 AM
5:21 AM
brb
Avatar
hahahahaa
5:22 AM
i'd never say that to anyone, so you're coureagous
5:22 AM
well except the bit when you say that windows is crap
Avatar
initrd is ALMOST working
5:27 AM
like, I got to the point where I can get a login console
Avatar
whats going wrong?
5:27 AM
oh cool!!
Avatar
i don't have a password set
Avatar
and an initrd is not supposed to have a password
5:28 AM
yeah i know
5:28 AM
i'm trying some getty tricks currently
5:30 AM
what on earth
Avatar
it's windows
5:31 AM
guess i'll head out
Avatar
bye
Avatar
@tux-linux
3:27 PM
i use kobo on my kobo
Avatar
You just lost them
3:36 PM
Btw initrd is working
Avatar
Avatar
tux-linux
You just lost them
haha
Avatar
You lost me as well
3:45 PM
Well idk if it is an expression where you are
3:49 PM
btw what platform do you use to talk to them? I can't recognize it
Avatar
Avatar
tux-linux
btw what platform do you use to talk to them? I can't recognize it
google chat
4:06 PM
like google hangouts, but for school accounts
Avatar
Avatar
tux-linux
Well idk if it is an expression where you are
what do you mean? (edited)
4:06 PM
what expression
Avatar
also i expect chromium to finish by tomorrow morning :/
Avatar
haha you can never be sure
4:26 PM
"you lost me"
4:27 PM
The easiest way to download Chromium
4:27 PM
that, though, are unstable versions, daily snapshots
4:27 PM
so it's better to wait for the compilation to finish
Avatar
wheeeee initrd works, and it works very well
5:45 PM
like, i successfully created a script that "boots" openrc from a chroot in the initrd
5:45 PM
and it works flawlessly
5:46 PM
now, we only have to set up a listener to power button events and we'll be able to set the boot partition according to it
5:50 PM
can you give me a disk image? i'd like to try it
Avatar
well
5:50 PM
you won't see anything different without a serial port (edited)
5:50 PM
for now it just boots as usual
5:51 PM
because I didn't create a recovery partition yet
5:51 PM
right now I'm testing if update is still working correctly
Avatar
oh i see
Avatar
compiling seems to have slowed down
10:42 PM
¯\_(ツ)_/¯
Avatar
it's life
10:49 PM
19614/23398
10:50 PM
It's going to be a long time, maybe even until Tuesday
Avatar
possible
Avatar
Especially since it slowed down
Avatar
19679 now
12:59 AM
oh well
Avatar
ahhhhhhh
1:18 AM
it crashed
1:19 AM
@tux-linux aaaaahh
1:19 AM
well
1:19 AM
its frozen
1:19 AM
but still
1:19 AM
aaaaaah
Avatar
theres no blinking cursor?
1:20 AM
im on a console
1:20 AM
not a gui
Avatar
a blinking cursor
1:20 AM
_
1:21 AM
there isnt
Avatar
nothing moves?
Avatar
nothing moves
1:21 AM
it was stuck, so i used top, and then closed it
Avatar
you can't type anything in
Avatar
ye i cant
Avatar
it's top
1:21 AM
the cpu was already at its highest usage but top hit the limit
1:22 AM
so how do i fix it
Avatar
well; you reboot and you retry
Avatar
...ok i wont do chromium
1:22 AM
im doing falkon
Avatar
maybe it will restart where it left
1:22 AM
maybe not
Avatar
and download chromium
1:22 AM
ok
1:22 AM
gotta go as well
1:22 AM
bye
Avatar
...23880 steps to go
2:32 AM
:/
Avatar
Avatar
tux-linux
maybe it will restart where it left
nope
2:36 AM
had to force a reboot
Avatar
Yeah, if you try again to emerge it, does it start where it left?
Avatar
that's awesome
7:14 AM
a list of recent books
7:14 AM
but you can also choose to display the quote if you want too
Avatar
Avatar
tux-linux
Yeah, if you try again to emerge it, does it start where it left?
btw qtwebengine hates me and doesnt want to merge
3:15 PM
so falkon died
3:15 PM
i'll try to emerge chromium again
Avatar
Avatar
dill
i'll try to emerge chromium again
nope :/
5:19 PM
emerging firefox
Avatar
that will cost you a lot of time too
5:20 PM
but well it works at the end (at least for me)
5:23 PM
well its the only way i guess
Avatar
i'll roll out a new update for inkbox soon would you like to try it?
Avatar
nice; I'll upload it soon
Avatar
here's the changelog - Added new "Recent books" feature - Added ability to show InkBox version in About dialogs - Added ability to show changelogs after updates
👍 1
5:52 PM
I think I'll also make "addons" packages to use with nickel today
5:53 PM
.adds, right?
Avatar
yes
5:56 PM
you'll be able to use it on your aura if you like it as well
👍 1
5:59 PM
I'm uploading it right now; do you think I should delete the previous 0.1 update since... well there's no real point in keeping it there?
👎 1
Avatar
people might want to downgrade as well
6:02 PM
for the same reasons that some people downgrade firmware on nickel
Avatar
yeah... maybe
6:05 PM
but there's limited space on the server
6:06 PM
hmmm
6:06 PM
maybe instead of direct links, you could link to a google drive file
Avatar
why?
6:07 PM
fermino was kind enough to donate some of his server space; why not use it? 😉
Avatar
because drive links wouldnt take space :p
6:07 PM
yeah maybe the latest update could be a direct download
Avatar
hmm yeah... but it's harder to manage
Avatar
with that i can just connect with ftp and put the files
Avatar
i'd be happy to upload the files if you want (edited)
Avatar
btw it's there
Avatar
wait i'm gonna grab my mini
Avatar
Avatar
dill
i'd be happy to upload the files if you want (edited)
... but I'd have to upload them to you first ;p
Avatar
Avatar
tux-linux
... but I'd have to upload them to you first ;p
...true
Avatar
i'll update the source code too
Avatar
nice
6:13 PM
after that it's the usual settings->update thing
Avatar
ok have to go
6:13 PM
ok
6:13 PM
bye
Avatar
ok bye
Avatar
https://www.mobileread.com/forums/showpost.php?p=4102452&postcount=3 I wrote a note there, even if apparently there's not much people interested in InkBox. Maybe they will when the .adds packages will come out...
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
9:08 PM
I'm making room for the new .adds packages
Avatar
yeah that doesn't work
Avatar
the main download thing is there
Avatar
i'll be rolling a silent emergency 0.1.1 update very soon, so if you want to wait till it is there you can
12:58 AM
it fixes some python problem with the random module
12:58 AM
theres python?
Avatar
i had no idea :/
Avatar
yeah, the random module didn't exist, and we could have had issues with it if I didn't knew
3:32 AM
btw thanks @fermino for kindly accepting to host inkbox and kobox on your server
Avatar
...discord on a virtual machine at school is absolute pain
Avatar
It works?
Avatar
ye but its a real pain to do
8:02 PM
and the vm is in a browser so limited time
8:02 PM
plus, whenever i log in i have to verify with email and everything
8:03 PM
and if i log in too many times, it thinks im a bot
8:03 PM
also class is about to start
8:03 PM
:/
8:03 PM
bye
Avatar
Have you considered remote desktop?
8:07 PM
And if you don't want to pay or host it yourself, note that Oracle gives 2 free 50GB 1GB 2-eighth-core-cpu 580Mbps (but it ends up being ~60 symmetric for some reason) 1-ipv4 kvm VPSs (edited)
Avatar
Port forward your IP and vnc to your computer
Avatar
Or search for a free web proxy website, they are everywhere
Avatar
Avatar
tux-linux
Port forward your IP and vnc to your computer
e.g. I can successfully SSH the gitea server from anywhere in the world
11:07 PM
my options are somewhat limited
11:07 PM
because the chromebook belongs to the school :/
Avatar
well you can vnc on your chromebook, no?
Avatar
also if you press ctrl+alt+t on the chromebook and type "shell", is it showing ... something?
Avatar
i know about crosh
Avatar
well, there's probably an extension for vnc
11:09 PM
yeah, does shell access work, or is it blocked?
Avatar
ye but 99.99% sure its blocked by my admin
11:09 PM
only crosh works
Avatar
try it still (edited)
Avatar
not terminal
Avatar
because vmshell isnt allowed
Avatar
i'm gonna switch to windows pc brb
Avatar
oh but you actually have a ssh client on the chromebook in crosh
Avatar
try to type "ssh"
11:10 PM
no?
Avatar
it was removed
11:10 PM
ive tried everything :/
Avatar
what sysadmins would think a random student would like to access ssh
Avatar
and the extension is... blocked ofc
11:10 PM
i know right
11:10 PM
haha
Avatar
how long would emerge spectacle take
12:03 AM
for screenshotting
Avatar
I'd say 20-30min?
Avatar
to compile?
Avatar
you already have all qt installed and running
Avatar
basically it's just another qt app
Avatar
like, inkbox doesn't take much time to compile
12:04 AM
and spectacle, afaik, is a pretty simple program
Avatar
i have made it to the promised land, im on kde on gentoo :D
Avatar
yep, like it?
12:04 AM
i missed my old windows cursor so i installed one
Avatar
oh yea, plasma's cursor is nice, but when you become accustomed to it
Avatar
and its shapes are ... strange
12:05 AM
bye
Avatar
installing neofetch
2:48 AM
wait what
2:48 AM
arrrgh
2:48 AM
i appear to be on GMT
Avatar
ln -sf /usr/share/zoneinfo/America/Edmonton /etc/localtime
2:49 AM
change Edmonton with the correct town if it's not there
3:18 AM
👍 1
3:18 AM
:DDD
Avatar
I suggest you change your terminal font to Consolas 10.5 or Noto Sans Mono 10
3:20 AM
but... are you logged in as root ???
Avatar
don't
3:21 AM
you can startx a normal user
Avatar
ok i'll switch brb
Avatar
never do that; especially when browsing the web
Avatar
again, the first answer from there: https://serverfault.com/questions/57962/whats-wrong-with-always-being-root should explain things
I have a feeling this is a stupid question, but this is something I've wondered for awhile. I have a VPS and this is my first big linux venture. I am the only person who has access to it. My quest...
Avatar
>:C it wont let me startx as dill
3:23 AM
connection refused
3:23 AM
server error
Avatar
are you in a tty?
3:24 AM
what else
Avatar
sudo killall X
3:24 AM
and retry
Avatar
wait i'll just use sddm
3:24 AM
right
3:24 AM
ok logging out
3:29 AM
i cant install any themes, from either root or dill
3:29 AM
also im on dill right now
Avatar
details?
3:30 AM
here
3:30 AM
Avatar
look it up on google
Avatar
(just example)
3:30 AM
ok
Avatar
maybe you'll find something
3:33 AM
btw how would i re-access the other distros
Avatar
check the grub config and create new entries for the other partitions
3:34 AM
/boot/grub/grub.cfg?
Avatar
yeah
Avatar
exiting kde
Avatar
set root='(hd1,1)' but change hd1,1 for the appropriate hd/part
3:35 AM
I've installed Gentoo in one of my hard disks. The whole hard disk is for that distro. I want a dual-boot in grub to start Ubuntu or Gentoo. Device Boot Start End Blocks Id
3:46 AM
vmlinuz-5.4.97 not found
3:48 AM
@tux-linux?
3:49 AM
oh-
Avatar
Avatar
tux-linux
set root='(hd1,1)' but change hd1,1 for the appropriate hd/part
that would be /dev/sda1, correct?
3:54 AM
idk what
3:55 AM
but
Avatar
i am playing with grub and i change the root using: root (hda,x) how can i know what's x for /dev/sda7 ? fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * ...
Avatar
vmlinuz wasnt found :/
Avatar
I don't know either
Avatar
ok ill ask on server
2:18 PM
used os-prober and it worked :D
2:23 PM
on arch now
Avatar
nice
👍 1
Avatar
debian seems to have disappeared so i'll reinstall that too
9:03 PM
and is there any way to get rid of the "on /dev/sdaX" on grub
9:03 PM
just "Gentoo GNU/Linux", "Arch Linux", etc
12:01 AM
you should keep them tho, they're useful
Avatar
@dill the diags partition is on its way! (edited)
Avatar
yeah, it even works I need do to a lot of testing before sending it out though
3:44 AM
also, I have to make new boot animations
Avatar
and restore animations
Avatar
just use the same as updating
Avatar
well, maybe
3:44 AM
but ... I'll see
3:45 AM
and it's simple; you just press the power button in the first three seconds the light has turned green and you'll get in
3:45 AM
it's really awesome
Avatar
yea, and my class is quarantined due to covid *nice* (sarcasm)
9:18 PM
but ... it means I'll have more time to do programming and Linux things
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
great!
Avatar
Avatar
tux-linux
yea, and my class is quarantined due to covid *nice* (sarcasm)
sad :c
11:07 PM
you ok?
Avatar
yeah, at least for now haha
👍 1
Avatar
reinstalling debian
12:04 AM
i thought it was over
12:04 AM
haha
Avatar
why?
Avatar
it doesnt show up on grub
Avatar
only that?
12:04 AM
retry with os-prober (edited)
Avatar
thats what i was about to say... it doesnt work
12:04 AM
did it 3 times
Avatar
reinstalling now
👍 1
12:12 AM
bye
Avatar
It's coming...
3:46 AM
btw finished debian (did kde)
Avatar
so just reinstalling grub for the aurora background
👍 1
3:58 AM
kde isnt there!
3:58 AM
"xfce"
Avatar
you chose the wrong one
4:02 AM
it looks like windows 2000
Avatar
there are themes for it tho
Avatar
¯\_(ツ)_/¯
4:03 AM
any way to get kde
Avatar
reinstall
Avatar
or install the big kde package
4:03 AM
but I'd reinstall
Avatar
i see xfce in the name of the iso
Avatar
well you downloaded the wrong iso
Avatar
argh i screwed it up
4:05 AM
netinst?
Avatar
if you want
Avatar
what even is that
Avatar
cli based install
Avatar
what is "torrent"?!
Avatar
look it up
Avatar
bittorrent gave me an exe
Avatar
transmission-gtk
Avatar
transmission-gtk does what?
4:10 AM
oh ok
4:10 AM
torrent files
4:13 AM
pacman -S transmission-gtk first?
Avatar
Yes
👍 1
Avatar
dd is gonna take a long time
Avatar
Why?
4:24 AM
If you're using netinstall, no
Avatar
no not netinstall
4:25 AM
full kde thing
Avatar
finished kde reinstall
Avatar
quick update on inkbox status: things are progressing, I've had a lot of problems with usb storage lately, but now it's (hopefully) all solved. Restore mechanism is fully working. Next step: continue with the diags partition, add some new options, then lock down the main rootfs so it can't be accessed by anyone unless he goes enabling access in diags. also, root login will be disabled and ssh too in the default image, to prevent hacking and bla bla tho, you'll always be able to re-activate that by going into diags, but by doing a full factory reset (safety mesure) (edited)
Avatar
Avatar
tux-linux
quick update on inkbox status: things are progressing, I've had a lot of problems with usb storage lately, but now it's (hopefully) all solved. Restore mechanism is fully working. Next step: continue with the diags partition, add some new options, then lock down the main rootfs so it can't be accessed by anyone unless he goes enabling access in diags. also, root login will be disabled and ssh too in the default image, to prevent hacking and bla bla tho, you'll always be able to re-activate that by going into diags, but by doing a full factory reset (safety mesure) (edited)
cooool
Avatar
yeah, I'm thrilled by the 'lockdown' thing
3:33 AM
is that what you call the inverse of a 'jailbreak'?
Avatar
i couldn't find anything else... but it seems pretty logical
Avatar
probably
Avatar
still, I don't understand why no one left a comment on MR about it
3:34 AM
I mean... it's something
Avatar
yeah but the dev corner hasnt been very active lately either
Avatar
yeah true
Avatar
maybe 1 post a day, for sd card images
Avatar
yeah haha, I'm a little bit tired of those
Avatar
you go check the user accounts, 90% of the people that came never came back after
3:35 AM
"posts : 1"
3:36 AM
noticed that definitely
Avatar
do you use inkbox sometimes since you installed it on your kobo (not to judge you, but just to see how crap it is and how much I have to do before it'd be like usable)
Avatar
yeah actually
Avatar
nice
3:38 AM
use, like read or just explore?
Avatar
Avatar
tux-linux
do you use inkbox sometimes since you installed it on your kobo (not to judge you, but just to see how crap it is and how much I have to do before it'd be like usable)
for it to be usable, i'd say a library page instead of a reader button
Avatar
Avatar
tux-linux
use, like read or just explore?
both
Avatar
Avatar
dill
for it to be usable, i'd say a library page instead of a reader button
huh? what? isn't that what I already did with recent books?
Avatar
Avatar
dill
for it to be usable, i'd say a library page instead of a reader button
and maybe a nickel-like layout
3:38 AM
yeah like that
Avatar
but then... oh you mean completely deleting the opendialog from the thing?
3:39 AM
that'd be great
3:39 AM
but difficult
Avatar
what i mean is, a library page like my books in nickel
Avatar
that's going to take a few... weeks... of ... pain
3:40 AM
but... it'll be beautiful once it is done
Avatar
yeah but no matter how clueless i am about qt, i'll help
3:40 AM
:p
Avatar
well; what do you prefer UI-wise between Nickel, KoReader and Plato? (UI, like general design) I'd say Plato has the best UI I have ever seen on an eReader but I think InkBox isn't that bad
Avatar
yeah plato is really good
3:41 AM
i agree, inkbox isnt that bad (edited)
Avatar
what should I improve?
Avatar
hmmm tough
Avatar
(apart from Night Mode, which I'm trying to find an easy way to do)
Avatar
i'd say a different ui font, and layout difference
Avatar
different UI font?
Avatar
I chose Inter, because it was modern
3:42 AM
and beautiful
3:42 AM
...no?
Avatar
yea its good
3:42 AM
wait let me grab my mini
Avatar
hmm maybe put the date next to the time (edited)
Avatar
Well, ok. But what should go at the empty place?
Avatar
-inkbox-
3:44 AM
or -welcome to inkbox-
Avatar
not with the dashes tho
3:44 AM
if it's at the left, it won't make sense
3:44 AM
but yea, maybe
Avatar
hmm ye it wont make sense
Avatar
you mean a layout like in the reader widget, when you open the Options menu?
Avatar
also, i opened credits twice, and its showing up twice on home
Avatar
possible
3:46 AM
did you enter an usbms session before? or did you force-shutdown inkbox? (edited)
Avatar
usbms i believe
Avatar
yeah... maybe
3:46 AM
but should not do that
3:46 AM
wait it says "books" not "recently read books"
Avatar
There's the code snippet that does that job
Avatar
Avatar
dill
wait it says "books" not "recently read books"
Yeah, well I thought I'd put that. Should I change it with "Recently read books?"
Avatar
Avatar
tux-linux
Yeah, well I thought I'd put that. Should I change it with "Recently read books?"
nah this is better
Avatar
ok nice
3:48 AM
did you update to latest 0.1.1?
Avatar
well, here latest is more of 0.1.2, with all of the drastical changes that I made to the rootfs and sd
3:49 AM
nice (edited)
Avatar
you can go in "Settings", then "About", and you should see the version
3:49 AM
that's a thing I added in 0.1.1
Avatar
0.1.1-alpha
Avatar
yeah
Avatar
a new sd image will be mandatory for 0.1.2 like I added two partitions and an initrd
3:50 AM
it's a tri-boot system
Avatar
was just about to ask that hahahaa
3:50 AM
initrd? must have been tough
Avatar
Boot sequence basically U-Boot -> Kernel -> initrd -> rootfs or recoveryfs
3:51 AM
yes, it was ... not that easy
Avatar
then again, inkbox isnt easy either
Avatar
no, neither
Avatar
also can you run inkbox on a computer? if it runs on alpine
Avatar
yes
Avatar
really?!
Avatar
but... well in an app
3:51 AM
in X
Avatar
still cool
Avatar
and the functionnality is pretty limited since your typical Linux PC doesn't have a rootfs like Kobo's one
Avatar
hm yeah that's true
Avatar
actually, to go in Inkbox, there's some more steps. Since Alpine is musl, Qt needed glibc so I needed to push it another step further. I built a rootfs with buildroot and unpacked it in a folder. so the normal inkbox boot sequence is U-Boot -> Kernel -> Initrd -> Chroot to Alpine -> Chroot to Glibc rootfs -> InkBox
3:54 AM
why chroot?
Avatar
well... I can't boot three rootfs at once
3:55 AM
but the chroots still have access to /dev /sys and etc. so it's pretty much like normal
Avatar
so even the Alpine system is running in a chroot but you can't see it it's in a jail
3:56 AM
the real "root" is the initrd
Avatar
wait I'll show you the rcS for the initrd
3:56 AM
it runs a static busybox and is 3mb in size (compressed)
3:57 AM
3:57 AM
there you go
3:58 AM
there's a new "boot" partition, containing the relevant "flags" and based on if the flags's content, the boot can change
3:58 AM
e.g. 0.1.2 introduces unattended kernel updates, so the KERNEL_FLASH is set in order to flash the kernel, then reboot (edited)
Avatar
chroot /alpine /sbin/openrc "sysinit" chroot /mnt /opt/bin/diagnostics_splash sleep 2 chroot /mnt /opt/recovery/launch.sh & fi RECOVERY?
Avatar
yes
Avatar
oops caps lock
3:58 AM
:/
3:59 AM
if [ "$INPUT_LOG" == "" ]; then mount /dev/mmcblk0p3 /mnt mount /dev/mmcblk0p1 /mnt/boot mount --move /proc /mnt/proc mount --move /sys /mnt/sys mount -t devtmpfs devtmpfs /mnt/dev mount -t tmpfs tmpfs /mnt/tmp chroot /mnt /sbin/openrc "sysinit" chroot /mnt /sbin/openrc "boot" chroot /mnt /sbin/openrc "default" this is the startup
3:59 AM
right
Avatar
yes, it starts by detecting if you pressed the power button in the first three seconds of boot
3:59 AM
then if you pressed nothing, it boots in normal inkbox
4:00 AM
if you pressed something, recoveryfs
4:00 AM
works everytime (or almost)
Avatar
also, it shows a nicer logo at bootup due to ... previous framebuffer shenanigans
👍 1
4:02 AM
4:02 AM
also, in the recovery options, you can choose the onboard storage size
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
Now it shows where I programmed it to show; before it was... strange and ugly
Avatar
Avatar
tux-linux
also, in the recovery options, you can choose the onboard storage size
NICE!
Avatar
for now it goes only up to 1024M
4:05 AM
but it'll grow in the future
4:05 AM
options: 64, 256, 512, 1024
4:05 AM
64 was just for quick recovery/restore testing though; it's so small you can't even apply an upstream update
Avatar
Avatar
tux-linux
64 was just for quick recovery/restore testing though; it's so small you can't even apply an upstream update
64M is tiny
Avatar
yeah, I set that there only because I wanted to go fast and not wear too much the SD
Avatar
1024 is a good size tho (edited)
Avatar
and "it just works"
Avatar
designing a new UI on google drawings and seeing which one i like
Avatar
what is that?
Avatar
i basically ripped off nickel so then i started over
Avatar
Avatar
tux-linux
what is that?
basically a drawing app
Avatar
ok; yeah, early InkBox was done entirely in C with FBInk
4:08 AM
not much at all but yeah
Avatar
nice maybe put the hour to the right and inkbox to the left
👍 1
Avatar
Avatar
tux-linux
ok; yeah, early InkBox was done entirely in C with FBInk
It was so discouraging I stopped coding it after the splash screen
4:09 AM
the only surviving thing is that splash screen you see every time it powers up
Avatar
Avatar
tux-linux
It was so discouraging I stopped coding it after the splash screen
that would be extremely painful
4:09 AM
C is hard (for me)
Avatar
in C... yeah I still had to handle touch input I said to myself: "No."
Avatar
touch input, in my mind, is insanely hard
Avatar
so I put it on hold for a few weeks, experimented with NickelBoot (which I should really start sometime soon) and came back with kobox and blabla
Avatar
Avatar
dill
touch input, in my mind, is insanely hard
your mind is right
4:11 AM
yikes!!!
Avatar
Avatar
tux-linux
so I put it on hold for a few weeks, experimented with NickelBoot (which I should really start sometime soon) and came back with kobox and blabla
i think maybe put inkbox into a "usable" state, then start with NB
Avatar
yeah; I had to be creative to design that for kobox
Avatar
Avatar
dill
i think maybe put inkbox into a "usable" state, then start with NB
YEAH
4:12 AM
like the "quadruple-booting Kobo" showcased on hackaday
Avatar
hahahaha yes
Avatar
also, nickelboot was C and FBInk too; that's why I relied only on the power button for input I'd have died if I tried with the touchscreen
4:12 AM
but Qt will ease things a lot
4:13 AM
maybe boot different inkbox versions? just an idea
Avatar
yea, like you have the menu Nickel InkBox InkBox Diags Reboot Poweroff
Avatar
Avatar
dill
maybe boot different inkbox versions? just an idea
why would you do that now?
4:14 AM
I mean, new versions are only getting better from the point we're in now
4:14 AM
maybe when it'll become beta
4:15 AM
also, I'm thinking to add an emergency recovery shell via usbnet in diags like barebones busybox telnetd -F
Avatar
Avatar
tux-linux
yea, like you have the menu Nickel InkBox InkBox Diags Reboot Poweroff
nickelgrub
Avatar
HAHAHAHAHA
4:16 AM
Actually, I think NickelBoot is just fine
4:16 AM
like it fits well with "Nickel DBus", "NickelMenu", etc.
4:16 AM
I really got to start working on it
Avatar
yeah but i nicknamed it "nickelgrub"
Avatar
yeah, it sounds nice too
Avatar
Avatar
tux-linux
also, I'm thinking to add an emergency recovery shell via usbnet in diags like barebones busybox telnetd -F
oh ye
4:18 AM
have to go
4:18 AM
bye
Avatar
ok bye
2:39 PM
my touchpad isn't working (edited)
2:39 PM
on arch
2:39 PM
let me try gentoo/debian/deepin
Avatar
on gentoo
2:46 PM
working
Avatar
fiddle with xinput
2:56 PM
Or sometimes it's the kernel
Avatar
New font
👍 1
Avatar
for code?
8:04 PM
@tux-linux
8:05 PM
also when is 0.1.2 officially released
Avatar
sometime soon... maybe sunday
8:33 PM
I need to set up the security policy and encrypt update archives so it's difficult to access the rootfs from outside of the reader (except if you remove the sd)
Avatar
Avatar
tux-linux
I need to set up the security policy and encrypt update archives so it's difficult to access the rootfs from outside of the reader (except if you remove the sd)
and again, the computer you put the SD on has to be able to read ext2/3/4 fs
Avatar
Avatar
tux-linux
and again, the computer you put the SD on has to be able to read ext2/3/4 fs
no problem
2:51 AM
linux
Avatar
yeah, you're good
2:52 AM
I set up a new boot process that checks if the user violated the security policy by rooting the device before a factory reset via diags
2:53 AM
i'm currently testing it
Avatar
i can show you the rcS if you want
Avatar
yes please (edited)
Avatar
also, there's unpartitioned space on sector 79872 that sets the "rooted" value so it's even more difficult to work around the boot process
2:55 AM
There's the first kernel rcS
2:55 AM
(the one that is there when the kobo is rooted)
2:55 AM
2:55 AM
and there's the standard kernel one
2:56 AM
the kobo can be rooted by going into diags->reset options->reset and allow root
2:57 AM
that process flashes some things to the unpartitioned space, and it allows usbnet and ssh, also passwd for root leads to /bin/sh instead of /sbin/nologin when the kobo is not rooted
Avatar
so basically, if the new rooted kernel detects that the "rooted" flag was not changed in the unpartitionned space, it reflashes the standard one and thus all starts over again for the user
Avatar
that was the headache of the day
Avatar
Now I have to set up the encrypted update thing
Avatar
good luck
Avatar
yeah, I think it's going to be 0.2-beta after all
3:30 AM
or 0.2-alpha
3:30 AM
but there's a big jump from 0.1.1 there
Avatar
yeah that would make sense for it to be beta
3:30 AM
but wait
3:30 AM
i'll give you some ui ideas sometime today
Avatar
so it can be a "major" update
Avatar
yeah, from the end user PoV (edited)
👍 1
3:31 AM
me it's a major update since I put an initrd in there haha
Avatar
haa true for devs
Avatar
but there will still be a new font and some settings improvements
3:32 AM
e.g., there will be reset config in diags but the option will also be there in the stock options
Avatar
also, did I said it to you that now in diags you'll be able to update the software? like it's useful when the package ends up corrupted or something like that
Avatar
oh cool!!
👍 1
Avatar
also I was thinking of making an oobe setup for 0.2 or 0.2.1
3:38 AM
but what could I put in there?
3:38 AM
haha
3:38 AM
basic config options
3:38 AM
rooting
Avatar
well... not rooting
3:38 AM
but config... maybe
Avatar
ooh
3:38 AM
UI scaling factor
3:39 AM
and also default font size
3:39 AM
alignment, etc
3:39 AM
what do you think?
Avatar
btw how can i change desktop background
4:16 AM
debian, with kde
4:16 AM
@tux-linux
Avatar
right click on desktop
4:18 AM
:D
👍 1
4:19 AM
wow kde is so flexible
Avatar
of course
Avatar
dpkg right
Avatar
well yes, but there's apt
Avatar
oh there is
4:25 AM
wait how do i add myself to sudoers
Avatar
google it up
4:31 AM
does apper installer usually take this long to load? it's been 3 minutes
4:32 AM
i'm opening a deb
4:34 AM
ok its not opening
4:36 AM
@tux-linux for a tar.gz i do this, correct?
Avatar
Pretty much, yeap
Avatar
k thanks! :D
Avatar
That will extract it, prepare it, compile it and install it
4:38 AM
But for every source there are probably instructions in the README file
Avatar
so i use nano to view the README, or cat?
4:38 AM
Or cat
Avatar
Avatar
dill
i'm opening a deb
to extract a deb, you need ar -x
4:38 AM
tar will not work
Avatar
Oh didn't see it
Avatar
no, for tar.gz
4:39 AM
tar -xzf or tar -xzvf if you want to see the files extracted
Avatar
used -zxf
Avatar
but do you have build-essential installed?
Avatar
there's no readme apparently
Avatar
without a compiler you won't be able to do much
4:39 AM
ok wait let me apt it
Avatar
what is the program you're trying to compile?
Avatar
huh?
Avatar
it's already compiled as a binary
Avatar
it gave me a tar.gz tho
Avatar
you don't need to do anything but cd discord-folder && ./discord
Avatar
well a tar.gz is like a zip
4:40 AM
a compressed archive
Avatar
ye i know
Avatar
it doesn't mean that it necessary contains source code
Avatar
./discord?
Avatar
yes
4:41 AM
the ./ says to the shell "hey, I want to execute that file"
4:41 AM
the . means current directory
Avatar
im in /home/dill/Downloads/Discord and it says no such file or directory
Avatar
ls?
Avatar
chrome_100_percent.pak discord.png libvk_swiftshader.so resources.pak chrome_200_percent.pak icudtl.dat libvulkan.so snapshot_blob.bin chrome-sandbox libEGL.so locales swiftshader Discord libffmpeg.so postinst.sh v8_context_snapshot.bin discord.desktop libGLESv2.so resources
Avatar
./Discord then
Avatar
./Discord?
4:42 AM
ok
Avatar
but strange
4:43 AM
it's not an usual practice to name files in capitals in Linux
Avatar
people more tend to use camel-case naming convention or snake case
Avatar
not familiar with snake, but camelCase yeah
4:44 AM
dill@debianlinux:~/Downloads/Discord$ ./Discord [2777:0319/214258.167987:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/dill/Downloads/Discord/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap
Avatar
snake_case
Avatar
ok . . . chmod 4755 /home/dill/Downloads/Discord/chrome-sandbox
4:44 AM
with sudo
Avatar
dill@debianlinux:~/Downloads/Discord$ sudo chmod 4755 /home/dill/Downloads/Discord/chrome-sandbox dill@debianlinux:~/Downloads/Discord$ ./Discord [2796:0319/214514.161403:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/dill/Downloads/Discord/chrome-sandbox is owned by root and has mode 4755. Trace/breakpoint trap
Avatar
sudo chown root:root chrome-sandbox
Avatar
same thing
Avatar
idk
4:48 AM
try running with --no-sandbox
4:48 AM
but this can cause security issues
4:48 AM
it worked when i chmoded again
4:49 AM
nice
👍 1
Avatar
thx, got on app
4:50 AM
how did you learn all this linux stuff?
Avatar
years
4:50 AM
7 years
Avatar
since you were 8 and threw away your windows laptop... :p
Avatar
yeah
Avatar
wait if i'm in an ubuntu liveusb environment
4:53 AM
will it save any changes
Avatar
what do you think
Avatar
e.g. logging into discord, installing chromium, etc
4:54 AM
no
Avatar
exactly
4:54 AM
but you can customize it before you pack the iso
Avatar
in an archive manager?
4:54 AM
complicated mksquashfs rootfs and iso stuff
Avatar
google archiso up
👍 1
Avatar
but it can technically be "ubuntuiso"?
Avatar
yes, but it's built differently
Avatar
oh, it's built for arch
4:56 AM
smacks forehead
Avatar
have to go
👍 1
5:01 AM
bye
Avatar
arch touchpad decided to cooperate
4:17 PM
haha
4:20 PM
@tux-linux the mirror seems to be down for ubuntu iso (edited)
4:20 PM
k doing the torrent thing
Avatar
ok, that's great I'd just like it if you stopped pinging me all the time; I can see your messages; though, I'm not always online. When I am, I check them. thanks
Avatar
ah... sorry!
4:52 PM
i understand not always being online
Avatar
it's ok
5:01 PM
do you think I should change the default dpi?
Avatar
what do you mean by dpi
Avatar
ui scale
5:02 PM
i think make the text smaller and remove the bold if you want and if that's what you mean
5:03 PM
it's at 192 by default; there's a picture when I set it to 182 you can compare with your Kobo
Avatar
no i think 192 is better
Avatar
I think I'll replace the big pushbuttons with icons
Avatar
at start it didn't work because scaling was kind of horrible
Avatar
and maybe a nickel-like layout, with "settings", "apps", "reader", etc., but on the right
Avatar
Right?
Avatar
i.e. not on the bottom
5:05 PM
but a sidebar
Avatar
maybe
Avatar
and the empty space... recently read books, and unread books
5:05 PM
on the homescreen
Avatar
Avatar
dill
and the empty space... recently read books, and unread books
that's for another update
5:05 PM
have to go, i have a class
Avatar
saturday? well ok, goodbye
Avatar
yeah its not regular school
5:06 PM
bye
Avatar
ok bye
Avatar
there they are
6:28 PM
do they look ugly, or are they fine?
7:46 PM
also i seem only to be able to run discord by going cd Downloads/Discord && ./discord from konsole
Avatar
yes it's normal
7:51 PM
you can add a menu entry though
👍 1
7:51 PM
thx
👍 1
7:52 PM
the new inkbox ui looks much more streamlined
Avatar
only because of the icons?
Avatar
yeah i feel like the icons make it look good
Avatar
yeah, maybe
Avatar
not that the other one was bad, this is just better
Avatar
yeah
7:54 PM
look at what changed in the right corner
Avatar
yes
Avatar
that's when a cable is plugged in
👍 1
7:57 PM
it can't update the icon right when the cable is plugged in, but if you show/hide the menu it will change
Avatar
I'm wondering if I should put it on the main menu too
8:00 PM
but I don't know where
Avatar
on the top, to replace InkBox
8:01 PM
(you mean the home screen, right?)
Avatar
it'd look ... strange
Avatar
hmm true
Avatar
maybe replace the date?
8:01 PM
is the date something useful?
Avatar
hmm yeah
Avatar
Avatar
dill
hmm yeah
useful or replace the date
Avatar
wait no actually only the time is useful
8:02 PM
replace the date
8:02 PM
or maybe
8:02 PM
put the date and batt level
Avatar
but there's too little space
8:03 PM
unless we remove the day and year
Avatar
yeah, on the mini it's tiny
Avatar
but if I reduce the dpi a little
8:03 PM
wait I'll test it
Avatar
i was on my aura and libra; development is easier because I don't need to update the isas each time
8:05 PM
but be careful not to brick them; they have emmc
Avatar
yeah sure
Avatar
that's why i got my mini
Avatar
it's the normal .adds addon
8:05 PM
i wanted a glo hd at first but it was sold
Avatar
like some features are disabled but for battery things it was ok
8:05 PM
yeah glo hds are great
8:06 PM
when they're not broken ofc
Avatar
yeah like initrd wouldnt make sense with .adds
8:06 PM
true
Avatar
it would make zero sense to be honest
Avatar
the kobo would already be dead
8:07 PM
i'd likely have failed in my first attempt to build a working kernel
8:07 PM
unless we have a serial connection
Avatar
like, if the mini didn't have mmc it'd have been dead since 1 month ago
Avatar
btw i can set one up now
Avatar
yeah, and even that
8:07 PM
really
Avatar
ye i just realized i have an arduino and i can do it with that
Avatar
i don't know much about these but you can try if you want
8:08 PM
theyre basically raspberry pi's but with less features
Avatar
but it's a microcontroller right?
Avatar
it can't run normal linux like the rpi
8:09 PM
the rpi is like a Kobo on steroids
8:09 PM
a cpu 10 times more powerful
8:09 PM
oh cool
8:09 PM
that would be good for a kobo, better cpu
8:10 PM
we need more ram too :/
Avatar
yes
8:10 PM
ofc
8:10 PM
1024mb would already be a great upgrade
Avatar
Here's what it looks like on the Mini
8:13 PM
i agree; i have to remove the date
8:16 PM
heres what i have, not great but oh well
8:16 PM
ignore the cursor sorry
Avatar
i like the recent books thingy at the top
👍 1
Avatar
but the sidebar is probably not going to be doable
8:17 PM
because the icons would look pretty strange vertically, stretched up
8:17 PM
but maybe
Avatar
yea true
Avatar
but I could try something
8:18 PM
I'll see
👍 1
8:18 PM
but for 0.2 the layout will stay the same, and then I'll look if I can make some changes
8:19 PM
maybe for 0.2.1
8:19 PM
i think you should wait before releasing 0.2, might want a few other formats supported
8:19 PM
your choice tho
Avatar
f o r m a t s
8:20 PM
are you crazy
Avatar
¯\_(ツ)_/¯
Avatar
it took already like 1 week to develop the txt parser
8:20 PM
nvm then
Avatar
sure, I'll do epub sometime soon but for 0.2 it's going to stay like that
👍 1
Avatar
Avatar
tux-linux
sure, I'll do epub sometime soon but for 0.2 it's going to stay like that
epub is probably gonna take like a month
8:21 PM
forget i said that then 😬
Avatar
ok np
Avatar
switching from debian to deepin be right back
Avatar
my mobileread got banned for the homepage thing; please dont mention that
Avatar
so sorry if i cant reply
8:57 PM
:(
Avatar
you mean, your account got banned?
Avatar
you could ask to get back
Avatar
i did; no reply yet
Avatar
it's not the end of the world
8:57 PM
rickroll
Avatar
well i mean it hurts but i understand why they did it
Avatar
Avatar
tux-linux
rickroll
ye but it's technically trolling
Avatar
you could say that you'll remove the link
Avatar
do you know who did ban you?
Avatar
well, if you apologized and said that you'll not do it again they might get you back in
Avatar
yeah i did
Avatar
they know that you're a good user; you had 2296 posts
Avatar
have
9:03 PM
well i mean
Avatar
well ye but what really
Avatar
when you were not banned
Avatar
yeah i know
Avatar
2296
Avatar
that's...a lot
9:04 PM
maybe theres hope then
Avatar
i only have like 350 haha
Avatar
haha but most of mine were in the lounge
9:04 PM
which is pretty active
9:06 PM
wait for some reason on deepin, i'm getting something similar to partial ghosting on e-ink on chromium
Avatar
huh?
Avatar
my reaction exactly
9:14 PM
"what? i'm on lcd but this looks like ghosting"
Avatar
do you have a pic?
Avatar
graphics driver issue
9:15 PM
you should really use another os if it doesn't work
Avatar
wait let me switch to arch then
Avatar
or maybe fiddle with drivers but I can't really help you with that
9:16 PM
the bottom as well... is that normal or not
Avatar
What bottom
Avatar
nevermind it's probably normal
9:17 PM
k switching
9:19 PM
done
9:20 PM
is there a way to uninstall gnome and install kde on arch? pacman -R gnome and pacman -S kde-plasma or something around those lines (edited)
Avatar
Yes
9:23 PM
But you can install the two
Avatar
oh wait really
9:23 PM
on different ttys?
Avatar
Or you can reinstall Arch
Avatar
i mean after gentoo, sure
Avatar
You can choose which one you want with sddm
9:24 PM
But things are probably going to conflict
Avatar
i like plasma better than gnome
9:24 PM
so i'll uninstall gnome and get plasma
9:24 PM
but for that i'll need sddm right
9:25 PM
or lightdm
Avatar
Yes
9:25 PM
systemctl start sddm
Avatar
is that similar to rc-update add sddm default or am i just dumb
Avatar
Or systemctl enable sddm If you want to start it at boot
9:25 PM
Yes
Avatar
ye enable looks like the way to go
9:26 PM
the package name is kde-plasma correct
Avatar
No it's just plasma
Avatar
thx, and also will i lose apps
9:26 PM
like chromium, discord
9:27 PM
doing it now
9:27 PM
bye
9:45 PM
apparently the mirrors are down or something
9:45 PM
all of them
9:45 PM
i had to reinstall gnome, which for some reason worked
9:45 PM
i also had to do pacman -R -s -c gnome
Avatar
Impossible
9:46 PM
It must be a connection issue
Avatar
Avatar
dill
i had to reinstall gnome, which for some reason worked
It used the local cache
Avatar
oh i see
Avatar
Avatar
tux-linux
It must be a connection issue
i'm on ethernet
9:59 PM
i'll try again
Avatar
Avatar
tux-linux
It used the local cache
lucky i didnt reboot
Avatar
maybe it did something with network manager that the pc didn't like
Avatar
Avatar
dill
lucky i didnt reboot
it would've stayed there
9:59 PM
/var/cache/pacman or something like that (edited)
Avatar
oh wait i thought it was in ram but yeah im dumb
Avatar
you should install dhcpcd before and if it doesn't work with the network, run it
Avatar
can i first install kde then remove gnome?
10:00 PM
ok
Avatar
as you want
Avatar
i use dhcp though
Avatar
dhcpCD ?
10:00 PM
no
Avatar
or dhclient
Avatar
i'll try now
10:01 PM
i think dhclient
Avatar
it's as good
Avatar
this is impossible
Avatar
what?
Avatar
ping works for google.com
10:03 PM
but its saying all the mirrors gave a 404
Avatar
pacman -Sy
Avatar
and something about rsync and libcurl
Avatar
and it's urgent
Avatar
ok and also i'll go -Syy (edited)
10:03 PM
pacman -Syu
Avatar
warning your system might break
10:04 PM
but that's to be expected with arch distros
10:04 PM
also you should reboot after the syu
10:04 PM
just to see if the install hasn't burned up
10:07 PM
even if it does, a reinstall is ez
Avatar
would it be possible to have a cron daemon do syu or would that break the system
Avatar
yes, ofc
10:08 PM
yes to both questions
10:08 PM
ok rebooting
Avatar
you never know what's going to happen with the new upgrade
10:08 PM
but you can if you want
Avatar
nah i can do it
10:12 PM
ok for my last breaking-the-system-stupid-question, do i have to do pacman -R -s -c gnome
10:12 PM
what does the -s and -c options mean?
Avatar
because with plain -R, it complained about dependencies
10:13 PM
they remove packages that depend on it, and remove what the package depends on
10:13 PM
afaik
Avatar
Avatar
dill
because with plain -R, it complained about dependencies
that means if you force the uninstall your system will likely break at some point
Avatar
so you either should install plasma alongside
10:13 PM
or reinstall arch
Avatar
alongside i think
Avatar
pacman -S plasma will do
10:15 PM
now it works
10:15 PM
thx
👍 1
10:17 PM
then systemctl enable sddm then systemctl start sddm
10:17 PM
correct
Avatar
yes
👍 1
Avatar
disable gdm.service first?
10:18 PM
but you can stay with gdm too
10:55 PM
konsole is never launching
10:55 PM
*gnome-terminal
Avatar
try launching it in konsole and look at what it spits out
Avatar
i dont have konsole; pacmanning it
10:56 PM
"pacmanning" should be a verb
10:57 PM
it wont let me switch ttys help
Avatar
it should
10:57 PM
try again with all f keys
Avatar
brief login screen then tty1 pulled me back
Avatar
do you have xterm in there?
10:59 PM
just gnome-terminal
10:59 PM
better stock up on some terminals i guess
Avatar
kdesudo pacman -S xterm
10:59 PM
type some chars in the desktop
11:00 PM
it should launch krunner
11:00 PM
from there you could launch a command
11:00 PM
but wait
11:00 PM
go back in gnome
11:00 PM
there it should work
Avatar
alt f2 is krunner
11:01 PM
ok gnome
11:05 PM
wow
11:05 PM
i know i shouldnt be surprised
11:05 PM
but the kde cursor is in gnome
11:05 PM
windows 10 cursor
Avatar
that's where you can see that things have (sometimes badly) mixed up (edited)
11:05 PM
well its better
11:07 PM
switching to plasma
11:08 PM
now it works
Avatar
konsole ?
Avatar
nice
Avatar
If you continue, the changes listed below will be written to the disks. Otherwise, you will be able to make further changes manually. The partition tables of the following devices are changed: SCSI2 (0,0,0) (sda) The following partitions are going to be formatted: partition #7 of SCSI2 (0,0,0) (sda) as ESP partition #8 of SCSI2 (0,0,0) (sda) as ext4
2:04 AM
what will sda7 be
2:04 AM
what's "esp"
2:04 AM
efi something partition?
Avatar
EFI system partition
2:16 AM
i'll do manual
Avatar
just had the insane and dumb idea that i could install more distros on my 64g usb
4:49 AM
you'll wear out the flash storage and you'll wear it out extremely quickly, especially if you enable swap
4:49 AM
just don't
3:11 PM
"insane and dumb"
3:11 PM
also ubuntu is always booting into emergency mode :/
3:11 PM
pretty much useless, i'll delete sda7 and then install manjaro or redhat or something
Avatar
Avatar
dill
pretty much useless, i'll delete sda7 and then install manjaro or redhat or something
You mean CentOS?
Avatar
RedHat is not free
4:40 PM
i'll get manjaro
Avatar
KDE?
4:41 PM
Manjaro KDE I mean
Avatar
Avatar
dill
also ubuntu is always booting into emergency mode :/
That is a pretty solid indicator that your multidistro setup is not rock solid
Avatar
Avatar
tux-linux
That is a pretty solid indicator that your multidistro setup is not rock solid
yep, or maybe its because ubuntu is made for efi
Avatar
Idk
Avatar
but every other distro is perfectly working (except arch, which has a weird mix of gnome and kde) (edited)
Avatar
I don't install distros on hard disks very often, and when I do, I want to go back to my liveusb
Avatar
Avatar
tux-linux
I don't install distros on hard disks very often, and when I do, I want to go back to my liveusb
why liveusb?
Avatar
Custom liveusb Yeah, I like my OS to be as clean as it was designed as every boot up
Avatar
Avatar
tux-linux
Custom liveusb Yeah, I like my OS to be as clean as it was designed as every boot up
oh that makes sense
4:46 PM
i don't like "clean" but i like to customize my environment, which makes me hate the windows gui and love kde
👍 1
Avatar
Avatar
tux-linux
Manjaro KDE I mean
btw, how do you get kde with manjaro? iirc, manjaro comes with gnome
Avatar
there are multiple versions
Avatar
That's the new Firefox proton tabs
Avatar
ooh, i like it
Avatar
it's available in nightly
Avatar
btw, to turn off the red circle on the discord icon, mute the servers that have a white thing on the left
Avatar
Avatar
tux-linux
it's available in nightly
cool!
Avatar
yeah, I'm so used to it that it has become the default favicon haha
Avatar
haha that used to be the same for me
5:12 PM
wait can i get pacman on other distros? or is that a crazy thought?
Avatar
you might want to look at Bedrock Linux
5:12 PM
but there's pacman for manjaro
Avatar
from the name im guessing it's very stable
Avatar
well, go check it out
👍 1
Avatar
yeah because manjaro is based on arch
5:13 PM
woah
5:13 PM
i like it
5:14 PM
the idea of mixing distros
5:14 PM
probably not so stable tho
Avatar
yeah
Avatar
in fact i think i prefer doing that than installing manjaro; manjaro is basically arch
Avatar
exactly
5:16 PM
5:16 PM
that's what will show up when a user tries to root the reader without a factory reset
Avatar
great!!!
Avatar
does it seem serious enough?
Avatar
yes (edited)
Avatar
nice
5:17 PM
thx
👍 1
5:17 PM
did you get a reply from MR? (edited)
5:17 PM
not yet
5:18 PM
Bedrock allows users to mix and match parts of other distros. The install process is considered such a feature. To "get" the install process from another distro, Bedrock converts an install of another distro into Bedrock in-place. Thus, first, install some Linux distro. When choosing such a distro: Consider if it has an install process you like. This is the entire point of Bedrock's ability to use another distro's installer. Consider compatibility with Bedrock. Do not consider if you like the distro's files. You can swap out key components with those from other distros from it and remove it later. While Bedrock's hijack install is only officially tested against fresh installs of other distros, no known issues exist hijacking a long-running install. Just make sure to back up first. can i just do it with ubuntu?
Avatar
well yes but canonical doesn't want that
Avatar
better to do Linux From Scratch
Avatar
lfs? that'd take a looong time afaik
Avatar
yes
5:20 PM
but you'll be proud
5:20 PM
even prouder than with gentoo
5:20 PM
and you can customize it the way you want
5:20 PM
you can even install kde on it
5:20 PM
hmmmm maybe
5:21 PM
wait so its basically building your own distro?
Avatar
yes
Avatar
"dillux"
5:21 PM
haha
Avatar
haha
Avatar
"elektrux"
Avatar
yeah!
Avatar
wowow the table of contents looks like this will take months
Avatar
i did it in one week
Avatar
i'll have to compile everything, right
Avatar
yes, like gentoo
Avatar
Avatar
tux-linux
i did it in one week
ye but im kind of new (not really but yeah)
Avatar
Avatar
tux-linux
yes, like gentoo
:/ then we'd better get started
5:24 PM
let me get the LFS pdf on my kobo
Avatar
hint: read it before you do it
👍 1
5:25 PM
take one week or two to familiarize with the concepts, google them up, understand what you don't and then you'll be ready (edited)
5:26 PM
i hope i can finish by the middle of april
👍 1
5:26 PM
haha
Avatar
sorry I clicked on the wrong emoji
Avatar
haha its fine
Avatar
anything I should change/add/remove?
Avatar
"A factory reset is recommended."
Avatar
oh ok yeah
👍 1
5:27 PM
do I remove the "in such situations" ?
Avatar
yeah i think
5:29 PM
better?
5:30 PM
i'll read the thing over and over until i understand everything because i really dont want to mess up
Avatar
yeah, good idea
5:30 PM
take your time
Avatar
the table of contents is... intimidating
Avatar
read each chapter at a time
👍 1
5:33 PM
also, are the buttons "Continue anyway" and "Process" OK? Or should they be like "Continue anyway" and "Reset" ? (edited)
Avatar
i think people might get mixed up between "continue anyway" and "proceed" so i think "reset" would be better
Avatar
yeah ok
5:36 PM
ok I think 0.2 will come without encrypted updates
5:36 PM
it's a big thing
Avatar
and I would like to finally make a new release
5:37 PM
I'll work on them for the next update
Avatar
that would draw more attention as well, i still dont get why nobody responded to the thread
Avatar
because they see that the main reader framework is trash
Avatar
Avatar
tux-linux
because they see that the main reader framework is trash
for inkbox? it's only a first release; understandable
Avatar
but I'll do a video, a big walkthrough of all the use-cases/situations/inkbox things, and I'll post that on r/linux
Avatar
or r/kobo
Avatar
so maybe people will get interested
5:38 PM
weeeeeelll
Avatar
there aren't many people on r/kobo
Avatar
I could crosspost but that's not how we would get people interested
5:39 PM
maybe look for other kobo forums? there cant be just mobileread
Avatar
idk
5:39 PM
mobileread is certainly the most active
5:40 PM
I'll also work on porting it to the glo hd
Avatar
Avatar
tux-linux
mobileread is certainly the most active
true
Avatar
Avatar
tux-linux
I'll also work on porting it to the glo hd
yeah and maybe (even tho it's EXTREMELY dangerous) a dd image for emmc devices? if it's possible
5:40 PM
and if people can take the risk (edited)
Avatar
NOOOOOOOOOOOOOOOOOOOOOOOOOOO
5:41 PM
I mean, even myself I wouldn't take the risk
5:41 PM
unless I have U-Boot access
Avatar
yeah i wouldnt either
Avatar
and even there, not all Kobos permit you to access the u-boot shell
Avatar
like, you can't on the mini
5:41 PM
the glo hd is fine though
Avatar
i'm going to download the arduino app and see if i can set up a serial with the mini
5:42 PM
but you could set up usbnet
5:42 PM
you'd have shell access to 0.1.1
5:42 PM
now that you can restart the computer
Avatar
yeah but i think serial would be "cooler" :p
Avatar
yeah ofc
Avatar
let me see if i can unearth my duponts
5:44 PM
found them
5:44 PM
ok so i power it off, wire it, and power it on? (edited)
Avatar
yes
5:45 PM
but you have to figure out how to access serial with your pc
5:45 PM
you can take toothpicks to connect the wires
5:45 PM
be careful though, they must not touch each other
Avatar
iirc arduino ide has a serial thing
Avatar
or bad things could happen
Avatar
and i believe my uno has usb-serial
Avatar
nice
Avatar
i remember making a social distance detector thing with my arduino last year; that was fun
5:47 PM
is it...crashing?
5:47 PM
it crashed; i'm gonna download the tar
Avatar
crashing... what?
5:48 PM
you can hook up the wires like that
Avatar
cut the end of the toothpicks by one millimeter, or elsewise it won't stay in place
Avatar
i recommend getting a new microsd for the mini
Avatar
why?
5:49 PM
4g is fine
Avatar
Avatar
tux-linux
4g is fine
yeah but with all my mods, i got a 16g and it was much better
5:50 PM
i updated and it said it was full
Avatar
I still have plenty of space for inkbox
Avatar
Avatar
tux-linux
I still have plenty of space for inkbox
yeah but for me, i had nickel, and everything
5:50 PM
every mod in existence
5:50 PM
that i could find
Avatar
also. people aren't gonna like it if I provide a 16G sd image
Avatar
the mini came with 4g
5:51 PM
tar -xzf arduino-1.8.13-linux64.tar.xz?
5:51 PM
tar -xf
5:51 PM
because it's an xz archive
5:52 PM
the z tells it to use gunzip to extract it
Avatar
so now it must use xz -d or something like that
Avatar
[dill@archlinux ~]$ tar -xf Downloads/arduino-1.8.13-linux64.tar.xz [dill@archlinux ~]$ cd Downloads [dill@archlinux Downloads]$ cd Arduino bash: cd: Arduino: No such file or directory [dill@archlinux Downloads]$ ls arduino-1.8.13-linux64.tar.xz bedrock-linux-0.7.19-x86_64.sh balenaEtcher-1.5.116-ia32.AppImage [dill@archlinux Downloads]$
Avatar
well
5:55 PM
tar extracted the archive in the dir you were
5:55 PM
when you extracted it
5:56 PM
[dill@archlinux arduino-1.8.13]$ ls arduino examples java reference tools-builder arduino-builder hardware lib revisions.txt uninstall.sh arduino-linux-setup.sh install.sh libraries tools [dill@archlinux arduino-1.8.13]$ install.sh, correct?
Avatar
yes
5:57 PM
but no
5:57 PM
arduino-linux-setup.sh should be better
5:58 PM
hmm im pretty sure first install then setup
Avatar
ok then
Avatar
rebooting
6:03 PM
so... mini's tx to arduino's rx?
6:03 PM
and vice versa?
Avatar
yes
6:03 PM
connect the ground also
6:04 PM
GND
Avatar
theres no GND, but theres one with three lines
Avatar
it's that
6:10 PM
serial ports are...frustrating
Avatar
I feel your pain
Avatar
i need tape or something
Avatar
it likely will break
Avatar
as soon as you touch the wire with just the tip of your finger
6:15 PM
understand what I mean, yeah?
6:16 PM
^^
Avatar
are you excited for tonight's 0.2 update?
Avatar
yeah definitely, i want to try out the initrd and the reset options!
Avatar
nice! I say tonight but it may come later this night because uploading the sd image will take a pretty long time
Avatar
uploading the sd image will take a pretty long time
6:19 PM
i feel your pain
Avatar
yeah
6:20 PM
like uploading a 1gb file is a nightmare
6:20 PM
it takes like 4 and a half hours
Avatar
one time my wifi was like 0.5mbps and it took hours for 4gb
6:20 PM
dang
Avatar
Avatar
dill
one time my wifi was like 0.5mbps and it took hours for 4gb
that was for a backup of my mini
6:24 PM
that didnt work... i'll redo it because never gonna give it up
Avatar
serial??
6:24 PM
probably a wire issue
Avatar
define "didn't work"
Avatar
Arduino: 1.8.13 (Linux), Board: "Arduino Uno" Board at null is not available This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.
Avatar
thanks!
👍 1
6:27 PM
apparently my old social distance code was on there...
6:27 PM
fixed
Avatar
so it works?
6:28 PM
as soon as i let go of the wires, they come off (edited)
Avatar
oh good luck
👍 1
Avatar
⸮⸮⸮⸮⸮⸮⸮⸮⸮@⸮ ⸮⸮⸮⸮⸮⸮⸮ ⸮⸮B  ⸮<⸮⸮⸮⸮⸮⸮⸮ nD(⸮@⸮⸮⸮⸮⸮⸮⸮⸮⸮@⸮⸮⸮⸮⸮ppC⸮&⸮⸮⸮⸮⸮r⸮⸮⸮G⸮⸮d30⸮⸮>⸮J⸮@⸮⸮⸮2>?⸮zC⸮8⸮⸮⸮⸮⸮⸮⸮;⸮⸮⸮⸮
6:31 PM
w h a t
Avatar
wiring issue
Avatar
or baud rate
Avatar
what baud
Avatar
is it set to 115200?
Avatar
no, 9600
Avatar
115200
Avatar
does it work?
Avatar
⸮⸮ܛ⸮⸮⸮k⸮⸮⸮⸮⸮⸮߀⸮⸮ܸ`⸮⸮⸮⸮⸮⸮@"⸮N⸮⸮⸮⸮S @⸮<⸮⸮⸮⸮⸮⸮⸮!⸮(⸮@&⸮ "⸮⸮P$( BQ⸮⸮F⸮$<x⸮@ ⸮0⸮<
6:33 PM
:/
6:33 PM
wiring
Avatar
probably
Avatar
mini randomly rebooted
6:36 PM
when i wired
6:36 PM
ground?
Avatar
idk but that's strange
6:36 PM
are you sure the wires don't touch each other?
Avatar
ye wait trying again
Avatar
does the mini still work?
Avatar
be careful because you could fry it up
Avatar
mmm... fried kobo i'll be careful ;p
👍 1
6:41 PM
with timestamp: 11:39:38.678 -> ⸮H⸮⸮⸮⸮⸮⸮⸮⸮$! ⸮@⸮⸮⸮r⸮î⸮G⸮⸮⸮⸮w⸮⸮⸮j⸮}⸮⸮j⸮⸮q⸮⸮⸮⸮H⸮⸮⸮⸮⸮p⸮⸮@ @@`⸮0⸮8⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ayA(⸮6⸮⸮ ⸮a@⸮⸮⸮⸮*⸮$⸮⸮⸮  ``⸮⸮⸮⸮⸮⸮⸮?⸮⸮⸮⸮⸮8 ⸮&⸮C@⸮>⸮⸮⸮ ⸮  "⸮ x@8C⸮⸮-⸮f⸮L⸮ ⸮ a⸮@⸮⸮⸮⸮  gp⸮`⸮L⸮⸮0D@⸮⸮@0E⸮⸮n`⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮,⸮⸮⸮⸮h⸮⸮⸮DŽ⸮⸮⸮⸮⸮⸮\⸮⸮⸮⸮G⸮⸮⸮=_I&}⸮⸮ ⸮ (edited)
Avatar
I don't know honestly
Avatar
let me try with different wires and a different usb
Avatar
no output at all
6:45 PM
serial monitor, right
Avatar
i don't know
Avatar
for your pi
Avatar
well I use minicom
Avatar
*microcom
6:46 PM
but it's because the Pi is running full Linux so ttyS0 is already integrated in there with the kernel
6:49 PM
Avatar
if it's /dev/ttyACM1
6:49 PM
then
6:50 PM
pacman -S microcom
Avatar
and sudo microcom -D /dev/ttyACM1
Avatar
not found
Avatar
it's in the AUR
Avatar
[dill@archlinux ~]$ pacman -S microcom error: you cannot perform this operation unless you are root. [dill@archlinux ~]$ sudo pacman -S microcom error: target not found: microcom
Avatar
yeah, it's in the Arch User Repository
6:51 PM
so download?
Avatar
you can install base-devel
6:52 PM
then git clone https://aur.archlinux.org/minicom and cd minicom and makepkg -si and it should be installed
Avatar
if git is not installed you can pacman it first
6:52 PM
hm not minicom
6:52 PM
microcom
Avatar
but you can install minicom too it's in the official repo
6:52 PM
as you want
6:53 PM
microcom is better for some layout shenanigans
Avatar
you appear to have cloned an empty repository
Avatar
did you clone microcom or minicom
Avatar
try again
Avatar
building
6:55 PM
done
6:56 PM
[dill@archlinux ~]$ sudo microcom -D /dev/ttyACM1 microcom: invalid option -- 'D' Usage: microcom [options] [options] include: -p, --port=<devfile> use the specified serial port device (/dev/ttyS0); -s, --speed=<speed> use specified baudrate (115200) -t, --telnet=<host:port> work in telnet (rfc2217) mode -c, --can=<interface:rx_id:tx_id> work in CAN mode default: (can0:200:200) -f, --force ignore existing lock file -d, --debug output debugging info -l, --logfile=<logfile> log output to <logfile> -o, --listenonly Do not modify local terminal, do not send input from stdin -a, --answerback=<str> specify the answerback string sent as response to an ENQ (ASCII 0x05) Character -v, --version print version string -h, --help This help Exitcode 1 - [dill@archlinux ~]$
6:57 PM
-p?
Avatar
yes
6:57 PM
sorry
Avatar
its fine
Avatar
and specify -s 115200
Avatar
sudo microcom -s 115200 /dev/ttyACM1
Avatar
-p before dev
6:58 PM
[dill@archlinux ~]$ sudo microcom -s 115200 -p /dev/ttyACM1 connected to /dev/ttyACM1 Escape character: Ctrl-\ Type the escape character to get to the prompt.now setup?
Avatar
are the wires connected?
Avatar
connect them
6:59 PM
Now it works on the Mini
7:00 PM
touch? (edited)
Avatar
what?
Avatar
does touch work
7:00 PM
dumb question but ye (edited)
Avatar
oh yes sure
7:00 PM
no the warning is in Qt
Avatar
so all is already working great with touch input
Avatar
[dill@archlinux ~]$ sudo microcom -s 115200 -p /dev/ttyACM1 connected to /dev/ttyACM1 Escape character: Ctrl-\ Type the escape character to get to the prompt. B@ � ��Pa���މ����Resource temporarily unavailable [dill@archlinux ~]$
7:03 PM
you know eventually this could become a fully fledged alternative to nickel
Avatar
are you sure you connected the wires in the right places?
Avatar
Avatar
tux-linux
are you sure you connected the wires in the right places?
let me see
Avatar
Mini: TX to RX arduino
7:03 PM
Mini: RX to TX arduino
7:03 PM
Mini: GND to GND arduino
Avatar
ok its not working, maybe i'll get a pi
7:05 PM
but that will probably be 1-2 months
7:05 PM
in which i'll do LFS as well :D
Avatar
The Raspberry Pi Zero is half the size of a Model A+, with twice the utility. A tiny Raspberry Pi that’s affordable enough for any project!
7:06 PM
that costs $5
Avatar
which model do you use?
7:06 PM
WOW
7:06 PM
5
Avatar
Pi 400
Avatar
CAD? or USD
Avatar
usd
Avatar
but in cad it's like 6-7 yeah
7:06 PM
if you want the one with wi-fi it's approx 25$ including shipping
7:07 PM
(or excluding, I don't remember)
Avatar
parents say its prob gonna cost a lot to ship from usa to canada so im looking into other pi's from ebay/kijiji
Avatar
buyapi.ca
Avatar
i saw that as well
Avatar
or canakit
7:10 PM
saw that too
Avatar
it's the full kit
Avatar
"+17.89 shipping estimate"
Avatar
oh yeah
Avatar
lets see kijiji
Avatar
ok (edited)
Avatar
50 dollars
Avatar
pi zero?
7:11 PM
don't buy that
Avatar
i know, that's outrageous
7:12 PM
and thats just the board
Avatar
hahaa
Avatar
zero w or zero
Avatar
w is with wi-fi
Avatar
you can buy 3b+ or others like that too
7:13 PM
maybe contact and ask for pictures
Avatar
i thought i had fried it
Avatar
what
Avatar
the mini
7:15 PM
fortunately, its fine
Avatar
it's always stressful
7:15 PM
sometimes mine doesn't want to power on neither
Avatar
yea, especially since it was unresponsive and frozen
Avatar
maybe you fried the serial port tho
Avatar
oops
7:15 PM
well if it's still fine you always have that
7:16 PM
it's only the serial port
Avatar
haha thats common with me "oops i fried insert thing here"
Avatar
haha
Avatar
afaik dupont wires should work with both rasp pi and arduino, right
Avatar
yes
7:17 PM
but if you buy raspberry pi zero, you will need the bare wires
Avatar
or attach a gpio layout like other pis
7:17 PM
because the zero has just holes
7:17 PM
not pins
Avatar
oh like the mini
Avatar
yes
Avatar
i'd rather get the 3b+
Avatar
yes it'd be good
7:19 PM
before inkbox I wanted to buy a Pi zero with an eink display to build my own ereader
Avatar
haha i'd recommend the M5Paper (edited)
Avatar
now I have the software part at least ;p
Avatar
haha true
Avatar
no, because it's a microcontroller
7:20 PM
inkbox runs on linux
Avatar
Avatar
tux-linux
inkbox runs on linux
oh ye
7:20 PM
alpine
Avatar
yeah i would have installed alpine on it and set up the waveshare display
7:20 PM
then I'd have wrapped that up in a nice case
Avatar
a custom e-reader
7:21 PM
that'd be cool
Avatar
yes, check the Open Book Project
7:21 PM
though it's not running linux, only microcontroller software
7:23 PM
you have "raspbian" right
Avatar
yes
7:23 PM
i installed alpine too
Avatar
wait no now it's called raspberry pi os
Avatar
but raspbian is "fine" though it's very ugly
7:23 PM
yes
Avatar
Avatar
tux-linux
i installed alpine too
cool
Avatar
raspi os "just works"
7:24 PM
also, it's great for compiling things because it's the same architecture (Armv7l) than on kobos
Avatar
i liked the idea of getting a pi when i was 9 because i wanted to try raspbian
Avatar
Avatar
tux-linux
also, it's great for compiling things because it's the same architecture (Armv7l) than on kobos
cool, and more cpu, right?
Avatar
yes (edited)
7:24 PM
4 cores
7:24 PM
1.8ghz
7:24 PM
you can overclock to 2.2ghz
Avatar
random image from google
Avatar
yes
Avatar
but you can try raspbian on x86_64 too
Avatar
yeah i know
7:27 PM
im hungry, i'll go get something
7:27 PM
brb
7:41 PM
so does LFS have like a liveusb thing? or not, because it's "scratch"
Avatar
Is it normal that your last MR activity was today at 7:55AM? Strange
7:44 PM
No liveusb
7:50 PM
its not strange
7:51 PM
i logged in at 8
7:51 PM
to see if it worked
Avatar
Avatar
tux-linux
No liveusb
wait, so then what environment do i do it in?
7:53 PM
where did my aura h2o go argh
7:55 PM
nvm i found it
Avatar
Avatar
dill
wait, so then what environment do i do it in?
Your standard Linux distro
Avatar
Avatar
tux-linux
Your standard Linux distro
oh so arch
8:06 PM
thats nice
8:06 PM
i thought i had to do it in a console
8:15 PM
so
8:15 PM
what do i do if i dont have a bios partition
8:20 PM
wait what am i doing
8:20 PM
i need to read the book first
8:21 PM
yeah im not reading it first or it'll take even longer
8:21 PM
i'll skim it
Avatar
[dill@archlinux ~]$ ls brain argh.txt [dill@archlinux ~]$ cat argh.txt WHY IS THIS SO CONFUSING
Avatar
wait
8:38 PM
I suggest you get yourself a new drive for LFS
8:38 PM
a cheap $15 HDD of 60G will do
8:38 PM
-or- you do everything in a live cd
Avatar
Avatar
dill
[dill@archlinux ~]$ ls brain argh.txt [dill@archlinux ~]$ cat argh.txt WHY IS THIS SO CONFUSING
ls / cat?
Avatar
Avatar
tux-linux
ls / cat?
ah
8:41 PM
i made that btw
Avatar
what do you mean?
8:41 PM
i made that
8:41 PM
lfs is confusing
Avatar
why is it confusing?
Avatar
Avatar
tux-linux
a cheap $15 HDD of 60G will do
sure
Avatar
Avatar
tux-linux
why is it confusing?
idk it just is
Avatar
oh ok
Avatar
Avatar
dill
sure
maybe i'll get some more
Avatar
if you want
Avatar
but then where would i put the drive
Avatar
a 60g partition did well for me
8:42 PM
well
8:42 PM
external drive (edited)
8:42 PM
you plug it via usb
Avatar
I have an adapter and I can just put any drive inside it, and access it via usb
8:43 PM
but there are integrated ones too
Avatar
that's cool
8:44 PM
so while im on arch, i'll be able to access discord?
Avatar
iso ?
8:44 PM
live usb?
8:44 PM
you can make your own and install firefox discord and all
Avatar
wait nvm i think i'll use ubuntu to install it
8:45 PM
with a live usb
Avatar
if you can, keep your main hard drive inside
8:45 PM
buy an external
8:45 PM
and install from ubuntu, not in a liveusb environment
Avatar
ubuntu is emergency mode remember
Avatar
liveusb works, but if things go wrong and you have to reboot...
Avatar
Avatar
tux-linux
liveusb works, but if things go wrong and you have to reboot...
true
Avatar
well you could just wipe the hard drive
8:46 PM
or do it in debian or something
Avatar
but that would mean reinstalling gentoo
8:46 PM
ye debian
Avatar
you can backup gentoo
8:46 PM
debian should be good
Avatar
Avatar
tux-linux
you can backup gentoo
dd if=/dev/sda3 of=Downloads/gentoo.iso will that kill my system
Avatar
gentoo.iso?
8:47 PM
no
8:47 PM
gentoo.img
8:47 PM
oh ok
8:47 PM
and then backup to usb?
Avatar
you might want to learn more about the ISO 9660 standard https://en.wikipedia.org/wiki/ISO_9660
ISO 9660 is a file system for optical disc media. Being sold by the International Organization for Standardization (ISO) the file system is considered an international technical standard. Since the specification is available for anybody to purchase, implementations have been written for many operating systems. ISO 9660 traces its roots to the Hi...
Avatar
Avatar
dill
tar.gz
no dd will just make a raw image of the partition
Avatar
Avatar
tux-linux
no dd will just make a raw image of the partition
yea so img
Avatar
you'll have to restore it with dd
Avatar
so after all is said and done with lfs, i plug in the usb with the gentoo image and type dd if=/dev/sdb of=/dev/sda3
Avatar
well
Avatar
but the thing is, i dont particularly want to wipe my drive
Avatar
if you do it in an external drive you won't have to wipe it
8:49 PM
just use the debian part and do things from there
Avatar
no, i'll use debian on sda5 to install lfs on sda7
Avatar
you sure?
Avatar
or... sdb?
8:49 PM
(sdb being an external hard drive)
Avatar
yes, especially since you're going to deal with low-level boot things and installing + configuring grub manually
8:50 PM
yikes
8:50 PM
grub
Avatar
so you better do it on the external drive
Avatar
thats a challenge
8:50 PM
ok
Avatar
yes
8:50 PM
that was the part when I was the most scared; the boot-up after I set up everything (edited)
Avatar
that was me with gentoo
Avatar
yeah, LFS is even more scary
8:51 PM
also what should i set my make flag to
8:51 PM
make="jX"
Avatar
-j4 or whatever cpu cores you have
Avatar
how do i check how many cores
Avatar
like if you have a 2 core cpu -j2
8:52 PM
are you in kde?
Avatar
gnome at the moment
Avatar
you could do cat /proc/cpuinfo
Avatar
CPU: Pentium T4300 (2) @ 2.100GHz
8:52 PM
neofetch
Avatar
then you have 2 cores
8:52 PM
so -j2
Avatar
I'm trying to get dark mode working for inkbox
8:53 PM
but it's difficult
Avatar
that would be great
8:53 PM
inverted or dark? (edited)
Avatar
because I don't want to have to re-set all the values of color of each label and button
8:53 PM
so I have to find a way to invert the framebuffer
Avatar
maybe look at koreader/nickel/plato's way of doing it
Avatar
they are all very ... language specific
8:55 PM
i have to go :/
Avatar
ok bye
👍 1
Avatar
will i need internet for lfs
Avatar
yes
9:26 PM
only to download source archives
9:26 PM
btw I got night mode on inkbox
Avatar
i used the old kobo nightmode hack
9:31 PM
I launched inkbox with LD_PRELOAD=screenInv.so (edited)
9:31 PM
and there you go
9:31 PM
wait I'll show you a pic
9:32 PM
nice
9:33 PM
brb
Avatar
ok (edited)
9:33 PM
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
what do the other pages look like? (e.g. settings, apps)
Avatar
I'm working on that
9:53 PM
the thing is that the binary respawns itself when e.g. settings is closed, to apply the new settings
9:54 PM
but the LD_PRELOAD thing gets discarded
9:54 PM
so no nightmode
Avatar
i'm working on that
👍 1
Avatar
stupid question: if i wanted to move sda2 to sda1 and delete sda1 entirely, would i do dd if=/dev/sda2 of=/dev/sda1?
Avatar
I'd rather tar my system up and untar it in the second partition
Avatar
but would it work? and how do you tar it?
Avatar
tar cJf tar_archive.tar.xz mount_point/
9:56 PM
append sudo too
Avatar
would dd work tho
Avatar
or you can squash it with mksquashfs
9:57 PM
no
9:57 PM
probably not (edited)
Avatar
because sda2 is likely a different size than sda1
9:57 PM
even if it's 2 or 3 mbs
9:59 PM
sda1 and 2 are both 33.00 gib
Avatar
as i said, i'd not do a dd
Avatar
you can also do mksquashfs /partition_mount_point archive.squashfs -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
10:00 PM
with sudo
10:00 PM
install squashfs-tools if it says command not found
Avatar
partition mount point is /
Avatar
squashfs from a different os
10:02 PM
otherwise it will include directories like tmp, run, dev, and all the things that you don't want on a compressed archive
10:02 PM
wait
10:02 PM
so
10:02 PM
debian, squash from there?
Avatar
but all my partitions are mounted on / (edited)
Avatar
what?
Avatar
all partitions have a mountpoint of /
Avatar
that's absolutely impossible
10:04 PM
only one partition is allowed to mount at /
Avatar
others can be mounted at /media, /mnt or the like
Avatar
how do i find out tho
10:05 PM
which one is mounted where
Avatar
mount
10:05 PM
or df -h
Avatar
sda2 mounted on /
Avatar
yes, that's your root partition
Avatar
let me see where debian is
10:12 PM
its on /
Avatar
so you are on debian right now (edited)
Avatar
it's why it says it's mounted on /
10:13 PM
but then how do i know what i squash
Avatar
well
10:13 PM
mount the partition at /some/mount/point
10:13 PM
wait
Avatar
you want to squash another distro, not debian, right?
10:13 PM
so mount the part on /some/mount/point
10:14 PM
then mksquashfs
10:14 PM
and put the output file outside the partition that you want to squash
Avatar
Avatar
tux-linux
and put the output file outside the partition that you want to squash
ok
Avatar
mount point?
10:14 PM
yes
10:14 PM
ok
10:17 PM
dill@debianlinux:~$ sudo mount /dev/sda2 /mnt dill@debianlinux:~$ mksquashfs /mnt arch.squashfs -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
Avatar
with sudo
10:17 PM
but yes
10:19 PM
dill@debianlinux:~$ sudo mksquashfs /mnt arch.squashfs -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments Parallel mksquashfs: Using 2 processors Creating 4.0 filesystem on arch.squashfs, block size 1048576.
Avatar
it hangs? it's normal
10:19 PM
eventually it will show output
Avatar
ye it's showing now (edited)
Avatar
like that
10:20 PM
+ mksquashfs . ../update.isa -b 1048576 -comp gzip -always-use-fragments Parallel mksquashfs: Using 4 processors Creating 4.0 filesystem on ../update.isa, block size 1048576. [=======================================================================================================================================|] 81/81 100% (edited)
10:21 PM
3%
Avatar
only things that won't work will be scribble and light maps
10:32 PM
but I don't think that that's a big deal
Avatar
yea and fixes could be in a future release
10:35 PM
does mksquashfs usually slow down the computer (edited)
Avatar
ofc
👍 1
Avatar
ok the update could be delayed since I want to go big and make the oobe setup real
Avatar
that's fine
Avatar
like, it's where the user could select options like night mode, ui scaling, default font, etc
11:16 PM
also argh mksquashfs is killing my patience
11:16 PM
11%
Avatar
you have to wait
Avatar
ye i know
11:17 PM
also will 0.2 be with .adds as well
Avatar
yes, but probably not all the functionnality
11:17 PM
maybe night mode
11:17 PM
but I need to test it before
Avatar
144 MiB left in /home aaaaaaaaah
Avatar
then you're gonna run out of space
11:18 PM
do you have a larger partition you could save it?
Avatar
if mksquashfs did run you out of space, then dd would have done the same an hour ago
Avatar
so I guess there's no way out :/
11:19 PM
ctrl + c?
Avatar
removed with rm
11:20 PM
wait but dd, its directly cloning sda2 to sda1
11:20 PM
nothing to do with /home
Avatar
Avatar
tux-linux
if mksquashfs did run you out of space, then dd would have done the same an hour ago
what i'm doing is dd if=/dev/sda2 of=/dev/sda1
11:31 PM
so not doing 2 dds
Avatar
33792 records in and 33791 out
11:51 PM
youch
11:51 PM
that hurts
11:51 PM
i may have destroyed sda1
Avatar
probably
12:02 AM
it could maybe boot but it's unlikely to
12:04 AM
destroyed
12:04 AM
grub is giving me a rescue thing
12:04 AM
so im on an ubuntu liveusb
12:04 AM
to reinstall grub
Avatar
Avatar
tux-linux
it could maybe boot but it's unlikely to
would that work?
Avatar
if it doesn't boot it doesn't boot
Avatar
then would a grub reinstall work
Avatar
probably not
12:06 AM
arch reinstall?
Avatar
you can try reinstalling grub
Avatar
but it's unlikely to work
Avatar
failed to get canonical path of /cow
Avatar
chroot to install grub
Avatar
chroot what
Avatar
wait
12:08 AM
chroot on some partition that is on sda
Avatar
bind-mount all folders
Avatar
chroot on /mnt?
Avatar
yes but before
12:08 AM
[HOWTO] Create your own native development environment on your Kobo! Kobo Developer's Corner
12:08 AM
run the mount commands in this post
Avatar
changes the paths ofc
12:09 AM
so
12:09 AM
mount -v --bind /dev /mnt/user/dev mount -v --bind /dev/pts /mnt/user/dev/pts mount -vt proc proc /mnt/user/proc mount -vt sysfs sysfs /mnt/user/sys mount -vt tmpfs tmpfs /mnt/user/run mount -vt tmpfs tmpfs /mnt/user/tmp mkdir /mnt/user/dev/shm mount -vt tmpfs tmpfs /mnt/user/dev/shm cp /etc/resolv.conf /mnt/user/etc
12:10 AM
that?
Avatar
ubuntu@ubuntu:~$ mount -v --bind /dev /mnt/dev mount: /mnt/dev: mount point does not exist. ubuntu@ubuntu:~$
Avatar
you mounted the partition, did you
12:11 AM
on mnt?
Avatar
done mount
12:18 AM
what do i chroot
12:18 AM
and you do grub-install from there
Avatar
no, what do i chroot
Avatar
with sudo
Avatar
got in chroot
12:19 AM
installing
12:19 AM
wait first dont i have to make the config (edited)
Avatar
grub-mkconfig -o /boot/grub/grub.cfg
Avatar
probably
12:20 AM
done
12:20 AM
and now installing
12:20 AM
lets hope it works
12:21 AM
i'm pretty sure i chrooted arch
12:21 AM
yep
12:21 AM
rebooting bye
12:24 AM
ok im so lucky
12:24 AM
whew
12:25 AM
but only arch is on grub at the moment, expected because of chroot
12:29 AM
grub-mkconfig is hanging
12:29 AM
i have a nasty feeling that it's because of my "gifted and talented" moment when i dded
2:20 AM
it says im playing systemd
Avatar
yes
Avatar
is that better
Avatar
are you on gentoo?
Avatar
discord settings got screwed up
2:20 AM
no
2:20 AM
arch
Avatar
so they got it right
2:21 AM
[dill@archlinux ~]$ sudo os-prober rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy rmdir: failed to remove '/var/lib/os-prober/mount': Device or resource busy [dill@archlinux ~]$
Avatar
reboot
Avatar
sda1 was causing issues
2:31 AM
so i wiped it
Avatar
Avatar
dill
so i wiped it
as in mkfs.ext4 /dev/sda1
Avatar
lets see if grub worked (edited)
2:49 AM
it works
2:55 AM
@tux-linux sorry for ping, but are you familiar with refind
2:55 AM
the bootloader
Avatar
not much
2:56 AM
wait maybe you can help
2:56 AM
go to the arch server and go to arch-installation
Avatar
but you don't have uefi
2:57 AM
for someone else
Avatar
they cant find arch on refind apparently
Avatar
good night
Avatar
good night to you too
👋 1
4:01 AM
i'm working on the oobe thing
👍 1
Avatar
Do you still have questions about rEFInd?
11:43 PM
I can help with that
Avatar
Avatar
pgaskin
Do you still have questions about rEFInd?
yep! how does one add a menu entry?
Avatar
Look at the rEFInd config file
11:47 PM
It's a similar way as with GRUB
Avatar
But what specifically are you trying to add?
Avatar
someone on the arch discord server couldn't find arch on their refind
Avatar
Which filesystem for the partition with the kernel?
Avatar
i think probably ext4, as that is the most commonly used FS (edited)
Avatar
You probably want to check to be sure
3:38 AM
argh currently i'm trying and failing to draw a canadian maple leaf
3:44 AM
yay i managed to trace one
3:50 AM
3:50 AM
3:50 AM
Avatar
I only have to add Night mode
3:51 AM
i know, the font size thing is ugly
3:51 AM
no not really
3:51 AM
it's ok
Avatar
is the rest ok too?
Avatar
the rest is amazing
3:52 AM
i like the scaling thing
Avatar
yeah I had nightmares centering the radio buttons (edited)
Avatar
so 2.0 is released tomorrow? or today?
Avatar
sometime this week
👍 1
3:53 AM
2.0 ?
Avatar
idk... 2.0.1?
Avatar
0.2
3:54 AM
sorry ;p
Avatar
but maybe we could jump to 1.0
3:54 AM
because
Avatar
it's huge
Avatar
yeah definitely
3:54 AM
0.2-beta or 1.0-beta
👍 1
3:56 AM
also i'm tempted to wipe my disk again
3:56 AM
and use gpt
3:56 AM
much better than msdos * shudders * (edited)
Avatar
use the escape chars
3:56 AM
\
Avatar
so it's like *hi*
3:57 AM
like this\
3:57 AM
oh nice
3:57 AM
but extended and primary and logical partitions...
3:57 AM
nightmare
Avatar
life lesson: you should stay with one distro
Avatar
and try others in live usbs
Avatar
i got rid of deepin and ubuntu
3:58 AM
so now arch, gentoo and debian
3:59 AM
i plan to replace gentoo with my LFS so i can have 50G each
3:59 AM
instead of the 33G setup
Avatar
yeah ok
Avatar
it was completely unnecessary to have deepin and ubuntu in my opinion
4:01 AM
they were both broken
4:02 AM
deepin: graphics and ubuntu: probably something to do with uefi
Avatar
Avatar
tux-linux
and try others in live usbs
i'm too clumsy to make an iso (edited)
4:05 AM
or maybe i'll get rid of debian and just have "elektrux" and arch
Avatar
-yes-
Avatar
⬆️ dual boot: much cleaner :p
Avatar
single boot is even cleaner
Avatar
yep but i have a feeling that my lfs is going to be broken in some way (edited)
Avatar
single boot and qemu/kvm is the best
4:06 AM
probably
4:06 AM
it's made for you to learn
Avatar
yep, even gentoo was
4:06 AM
yea
Avatar
so you'll learn and start again not making the same mistakes
👍 1
4:06 AM
better?
Avatar
ok thx
👍 1
Avatar
Avatar
tux-linux
single boot and qemu/kvm is the best
what does distro partitioning have to do with qemu/kvm
Avatar
nothing, but it's like having multi boot on one os
Avatar
like , wait a second
🆗 1
4:12 AM
ok it's more like wait a minute
Avatar
ok it's a windowspe, basically windows 10 in an iso, but you get the idea
Avatar
-or-
4:19 AM
4:19 AM
arch and ubuntu alongside
Avatar
oh wow cool!
4:20 AM
how?
Avatar
archiso
4:20 AM
well i mean the windows can't exit the kvm window
4:20 AM
but it's alongside
Avatar
oh i just saw the qemu thing
4:20 AM
that's nice
Avatar
yep
Avatar
i may also look into bedrock if i purchase more hdd
Avatar
Avatar
dill
i may also look into bedrock if i purchase more hdd
i like the idea of having kde plasma, pacman, and debian stuff on one distro... unless im fantasizing
Avatar
it's a bad idea
Avatar
at some point all will break
Avatar
stability?
4:22 AM
yeah
Avatar
well it can't be good
4:22 AM
even if the distro was designed for that
Avatar
yea true
Avatar
it could be better than if you used gentoo's emerge on ubuntu, but still not reliable
Avatar
nothing is completely stable
Avatar
Avatar
tux-linux
it could be better than if you used gentoo's emerge on ubuntu, but still not reliable
i don't like ubuntu much to be completely honest
4:23 AM
*compared to other distros
Avatar
someone actually did it
Avatar
and people kept talking about the fact that he should have got a screen recorder
4:24 AM
haha
Avatar
haha screen recorder
4:25 AM
i mean the recording wasnt that bad
Avatar
No ofc
Avatar
"genbuntoo"
4:26 AM
lolol the comments
Avatar
You should check red star os btw (edited)
4:27 AM
It's the north Korean Linux
4:27 AM
You can even download the iso
4:27 AM
No, I'm not lying
Avatar
let me see
Avatar
Red Star OS (Korean: 붉은별; MR: Pulgŭnbyŏl) is a North Korean Linux distribution, with development first starting in 1998 at the Korea Computer Center (KCC). Prior to its release, computers in North Korea typically used Red Hat Linux and Windows XP.Version 3.0 was released in the summer of 2013, but as of 2014, version 1.0 continues to be more wid...
4:28 AM
what
Avatar
They truly did an insane job with OS X
Avatar
red star looks interesting
Avatar
It is
4:29 AM
I tested it
Avatar
cool! how was it?
Avatar
Strange
4:29 AM
And scary
Avatar
it's all in korean?!
Avatar
Like, it's the best Mac theming someone could have in Linux
4:30 AM
No, you can change to English
4:30 AM
Only install is Korean
Avatar
oh (edited)
Avatar
There are tutorials
Avatar
i might try it in qemu
4:31 AM
"naenara" is like firefox right
Avatar
Old old old Firefox
Avatar
But you better not enable internet
Avatar
"modified mozilla firefox browser"
Avatar
Because You know
4:32 AM
but like what hahahahaa
Avatar
Avatar
dill
but like what hahahahaa
Sometimes it's worse
Avatar
Write the next reply
4:35 AM
like "and then put it out" or something? idk
4:36 AM
Avatar
Well
4:36 AM
You threw it into a fire
Avatar
i know hahaha
Avatar
Anyways
Avatar
i mean this thread is nonsensical
4:38 AM
for the glory of tux
Avatar
Or "you make a funeral and the ghost of systemd gets out of the grave"
Avatar
HAHA YES
4:38 AM
or openrc
Avatar
Systemd is more famous
4:39 AM
yep i'm gonna say that
4:42 AM
personalizing my reddit
4:44 AM
my hair isnt nearly as messy but ye
4:44 AM
oh wait wrong "cake day"
4:44 AM
that's just me
4:44 AM
i'm surprised that the username was not already taken
Avatar
yep i think i followed you
Avatar
oh yeah true i remember
4:45 AM
sorry
Avatar
no it's fine
4:47 AM
oh... thought cake day was my birthday :p
Avatar
yeah me too
4:47 AM
it was the same month day so I was confused
4:48 AM
mine is august so i was like "what? march?"
4:48 AM
i think i have to go
4:48 AM
bye
4:51 AM
4:51 AM
^ my background... found it online
4:51 AM
i personally like it
Avatar
nice
4:56 AM
bye
Avatar
do you have spring break where you are?
2:39 PM
it was 2 weeks ago
Avatar
oh i have it in ~1-2 weeks
2:40 PM
so i plan to do the LFS on spring break so i have more time; right now i'm busy with school and such
Avatar
yes
2:40 PM
good idea
👍 1
Avatar
I'm going to release InkBox 1.0 tonight
10:35 PM
along with (probably) a long walkthrough video that will come out in the few coming days
Avatar
Doing the final (hopefully) factory reset before compressing the SD card into an image
Avatar
ok so uploading it now. but it's 1.3GiB, so I wouldn't be surprised if it finished only by 10 PM EST...
12:34 AM
@fermino I created an "old" directory, so those files aren't that important. If you want to make space, feel free to delete them. Otherwise, they can be kept as an archive
Avatar
Avatar
tux-linux
ok so uploading it now. but it's 1.3GiB, so I wouldn't be surprised if it finished only by 10 PM EST...
it's 10 PM EST ;p
Avatar
well no
Avatar
Avatar
tux-linux
Doing the final (hopefully) factory reset before compressing the SD card into an image
awesome!
Avatar
not there yet
3:04 AM
but it's uploading
3:04 AM
Avatar
yeah i forgot about daylight savings haha
3:04 AM
cool
Avatar
Avatar
dill
yeah i forgot about daylight savings haha
no it's truly 10pm
Avatar
Avatar
tux-linux
along with (probably) a long walkthrough video that will come out in the few coming days
video tutorial? great!
Avatar
yes, it's already filmed
Avatar
Avatar
dill
video tutorial? great!
not tutorial, more like a presentation
👍 1
3:05 AM
of all the features, even the ones like when you try to get root and the kernel catches you (edited)
Avatar
to show the security policy and all
3:06 AM
but there is the reader in the video too
3:08 AM
3:08 AM
Teaser
3:10 AM
ok i'm going to do homework
Avatar
Yeah me too I have a big exam tomorrow
3:11 AM
History
Avatar
oh so like social studies here
Avatar
Yes
Avatar
good luck, i have one of those thursday as well
Avatar
thx
👍 1
Avatar
so theres a new update and i downloaded the tar.gz, and did a tar xzf, what now?
3:14 AM
for discord
3:14 AM
never mind i figured it out
3:15 AM
or did i
3:15 AM
nope
Avatar
It should have worked
Avatar
@pgaskin the /boot partition is FAT32 and the root one has EXT4
Avatar
Avatar
tux-linux
It should have worked
i used pacman
3:19 AM
to install discord
Avatar
Well
3:20 AM
pacman -Syu
Avatar
i tried pacman -S discord to reinstall but that didnt work because whoever maintains pacman hasnt updated it yet
3:22 AM
but someone on the arch discord helped
3:22 AM
have to extract in /opt/discord
Avatar
Yeah ok
Avatar
(1/1) reinstalling discord [######################] 100% error: extract: not overwriting dir with file /opt/discord/Discord error: problem occurred while upgrading discord error: could not commit transaction error: failed to commit transaction (transaction aborted) Errors occurred, no packages were upgraded. (edited)
3:36 AM
let me delete /opt/discord i guess
Avatar
Yep
4:27 AM
Coming...
4:28 AM
i'll update tomorrow when i have a little more space to breathe
4:28 AM
today was busy
4:46 AM
It's there
4:46 AM
I'll probably post a video tomorrow
5:09 AM
HELP
5:09 AM
GRUB CANT FIND MY KERNEL
5:10 AM
about to mount sda2
5:12 AM
oh no
5:12 AM
/boot doesnt have my kernel
5:12 AM
only grub
5:13 AM
5:13 AM
yes i am root
5:13 AM
cant mount sda2 otherwise, because of my tty problem
5:13 AM
and su wont let me
Avatar
Avatar
dill
@pgaskin the /boot partition is FAT32 and the root one has EXT4
That shouldn't be an issue as long as the kernel is being installed properly. Is the issue getting it detected by rEFInd, or actually booting it afterwards?
Avatar
Avatar
pgaskin
That shouldn't be an issue as long as the kernel is being installed properly. Is the issue getting it detected by rEFInd, or actually booting it afterwards?
the issue is, arch isn't showing up on the boot menu
Avatar
alright for me, the problem is that pacman -Syu seems to have broken my system
2:36 PM
luckily i have 2 other distros on disk
Avatar
ok i'm gonna boot an archiso, mount, chroot, and pacman the kernel
Avatar
Avatar
dill
alright for me, the problem is that pacman -Syu seems to have broken my system
It's not unusual
Avatar
Avatar
tux-linux
It's not unusual
chroot cant execute /usr/bin/zsh
Avatar
zsh is being a pain so im doing an ubuntu usb
Avatar
Avatar
dill
chroot cant execute /usr/bin/zsh
There's always /bin/sh . . .
Avatar
General notice: I'm planning on including SELinux with newer InkBox releases. With this, InkBox would be a true security fortress
Avatar
Avatar
tux-linux
General notice: I'm planning on including SELinux with newer InkBox releases. With this, InkBox would be a true security fortress
:D
👍 1
Avatar
Avatar
tux-linux
There's always /bin/sh . . .
¯\_(ツ)_/¯
Avatar
Did you try 1.0 yet? (edited)
Avatar
i was just about to flash the image ;p
3:22 AM
i'm also swamped with homework today
3:22 AM
oh wait, my image is on arch...
Avatar
Avatar
tux-linux
Did you try 1.0 yet? (edited)
do you think i can chroot from another distro? on debian rn
3:23 AM
ubuntu liveusb takes 30 mins to boot
3:26 AM
nvm i'll just do ubuntu
Avatar
Avatar
dill
do you think i can chroot from another distro? on debian rn
Why chroot? You could just mount the partition and grab the file
Avatar
Avatar
tux-linux
Why chroot? You could just mount the partition and grab the file
because, i had to pacman -S linux from a chroot
Avatar
the kernel simply vanished, so did the initrd and other things
3:47 AM
:DDD
3:47 AM
YES
Avatar
Avatar
dill
because, i had to pacman -S linux from a chroot
But You want to get the InkBox image right?
Avatar
no, no... i wanted to repair arch as well
3:48 AM
"killing two birds with one stone" i guess you could say
Avatar
haha 'D'une pierre deux coups'
3:52 AM
nautilus doesnt like to load
3:53 AM
ok it loaded
3:55 AM
OH FSCK (edited)
3:55 AM
MY MINI'S SCREEN IS BROKEN
Avatar
Huh?!
Avatar
nooooooo
3:56 AM
let me try and fix it ._.
Avatar
What is broken?
Avatar
it has black lines and inkbox doesnt load (on the screen)
Avatar
Does nickel work?
Avatar
what nickel
3:57 AM
no; the actual screen is broken
Avatar
Well if you try with the nickel sd
3:57 AM
Oh ok
Avatar
i'll try and figure this out
Avatar
You mean All is broken? You can't fix it then
Avatar
no; not cracked or anything
3:58 AM
but i see something... like an air bubble
Avatar
Cracked in the inside
3:58 AM
Check connectors?
3:58 AM
yea
4:04 AM
what's this orange tape thing
Avatar
Screen connector probably
4:05 AM
It it disconnected?
Avatar
doesnt seem to be
Avatar
Anything else that seems to be broken?
4:06 AM
When was the last time it worked? (edited)
Avatar
when - i have no idea :/
4:09 AM
anything else - we'll see
4:09 AM
no the eink screen is truly broken; i'll see about a replacement
4:09 AM
sorry :(
Avatar
Yeah ok
4:10 AM
Not it's ok
4:10 AM
I losed my only tester, but it's fine, things break
Avatar
Avatar
tux-linux
I losed my only tester, but it's fine, things break
again, sorry! :c
Avatar
Anyways thanks for the time you took to test InkBox!
Avatar
no problem, and i'll try to get this up and running again
4:11 AM
plus i can still test on aura
Avatar
Yes, hopefully it'll work
4:11 AM
Yeah but Aura is only the software part
4:11 AM
Still better than nothing though
Avatar
the display is 5 inches, right
4:21 AM
oh wow 55 dollars is the lowest deal
4:21 AM
im so sorry (edited)
Avatar
It's ok
4:23 AM
You could hunt for another kobo too Maybe a Glo Those can be quite cheap, like $30 sometimes
Avatar
i'm looking for a screen replacement at the moment (edited)
4:30 AM
i've found some
Avatar
Oh nice
Avatar
now i need to find some cheap ones, these are quite expensive
4:30 AM
the screen is "ED050SC3" (edited)
Avatar
Yeah ok
Avatar
also it's goodnight for me
4:30 AM
bye
Avatar
Ok bye!
Avatar
more expensive than my mini which i got for 20CDN
Avatar
it's not urgent!
2:44 PM
if it's too much, you can wait
2:44 PM
I don't blame you for your broken Mini's screen!
2:44 PM
things happen
Avatar
no actually you're not the only one who wants my mini up and running, i want to test inkbox again
Avatar
ok nice then 🙂
Avatar
about to set up a vm
3:21 AM
probably gonna be painfully slow
3:21 AM
fedora 33 workstation x86_64
Avatar
Why?
3:24 AM
On the windows PC it would be faster with VirtualBox probably
Avatar
Avatar
tux-linux
On the windows PC it would be faster with VirtualBox probably
yeah but a) i cant use windows right now and b) i'm too paranoid about breaking my bios if i enable virtualization ;p
3:49 AM
aaaaand ofc, my bios doesn't show virtualization
Avatar
Avatar
dill
more expensive than my mini which i got for 20CDN
LCD E-ink
3:50 AM
wow
3:50 AM
lol
Avatar
Avatar
dill
LCD E-ink
Yeah I was surprised when I saw that too
Avatar
that's trademark scamming
Avatar
Avatar
dill
yeah but a) i cant use windows right now and b) i'm too paranoid about breaking my bios if i enable virtualization ;p
The bios can be reset, there's an option for that in the settings Or you can just remove the CMOS battery
Avatar
probably wouldnt have worked
Avatar
Avatar
tux-linux
The bios can be reset, there's an option for that in the settings Or you can just remove the CMOS battery
ye i'll try tomorrow
4:15 AM
would be cool to get a linux vm on windows
4:15 AM
since this computer is a potato
Avatar
Avatar
tux-linux
The bios can be reset, there's an option for that in the settings Or you can just remove the CMOS battery
apparently no vt?!
Avatar
possible
3:27 AM
so... you're out of luck
3:27 AM
probably
Avatar
it's relatively new
Avatar
try to install virtualbox and see what it does
Avatar
i have vb
Avatar
can you launch vms?
Avatar
no, no vt
3:28 AM
bluestacks works
Avatar
that's probably emulation
3:28 AM
well, maybe try to look your computer up online and see if there's VT available?
Avatar
ok so my touchpad stopped working again
4:43 AM
im doing Syu
4:43 AM
because apparently libinput was out of date or something
Avatar
An external mouse should work
Avatar
yea but i dont want to use one all the time
4:45 AM
so now rebooting bye
👍 1
4:47 AM
nope
4:47 AM
and xinput cant seem to find a touchpad
4:47 AM
any suggestions?
Avatar
not that I can recall, no
Avatar
ahhh gnome terminal is broken
4:51 AM
have to go bye
👍 1
Avatar
touch pad works again?! :/
2:46 PM
okay then
Avatar
this is awesome
3:05 PM
A simple command-line utility for Linux, for extracting text from EPUB documents. - kevinboone/epub2txt2
Avatar
like, it's all written in C, super easy to compile and very fast
Avatar
which... will allow inkbox to display epubs
Avatar
just found out... apparently my aura h2o2 is not manufactured anymore
4:30 PM
surprise
4:32 PM
@tux-linux sorry for ping but i may have found another mini!
4:34 PM
in ontario tho
Avatar
Ask for shipping
4:39 PM
and $15!
Avatar
It cost me only like $10
Avatar
haha my first was 20
Avatar
Yeah
4:39 PM
You'll be able to use the other one for projects on the serial port
Avatar
right now trying to remember kijiji credentials
Avatar
Is it black or white?
Avatar
oh yeah!!
4:40 PM
WHITE
Avatar
Nice
Avatar
oops caps lock
4:40 PM
lol sorry
Avatar
a suggestion: make the can_update and update.isa disappear after updating with rm or something, and make the kobo detect the update files at boot so we dont need a can_update
5:03 PM
sort of like a koboroot.tgz
5:03 PM
gotta go bye
Avatar
Avatar
dill
a suggestion: make the can_update and update.isa disappear after updating with rm or something, and make the kobo detect the update files at boot so we dont need a can_update
That already happens
5:12 PM
Right there #!/bin/sh CAN_UPDATE=`cat /kobo/mnt/onboard/onboard/.inkbox/can_update` DIR_CONTENTS=`ls /kobo/mnt/onboard/onboard/.inkbox | grep update.isa` CAN_REALLY_UPDATE=`cat /kobo/mnt/onboard/onboard/.inkbox/can_really_update` echo $DIR_CONTENTS if [ "$CAN_UPDATE" = "true" ]; then if [ "$DIR_CONTENTS" == "update.isa" ]; then if [ "$CAN_REALLY_UPDATE" == "true" ]; then rm /opt/update/update.isa mv /kobo/mnt/onboard/onboard/.inkbox/update.isa /opt/update rm /kobo/mnt/onboard/onboard/.inkbox/can_update rm /kobo/mnt/onboard/onboard/.inkbox/can_really_update rm /opt/update/will_update echo "true" > /opt/update/inkbox_updated echo "false" > /boot/flags/WILL_UPDATE killall update-splash sync fi else echo "Update skipped or no update available." echo "false" > /opt/update/inkbox_updated fi fi
5:14 PM
the can_update is there if in the future I need to upgrade the kernel or something else than the software archive (edited)
8:01 PM
in the rcS?
Avatar
no, it's running openrc, remember
8:02 PM
it's the update service
Avatar
i think i'll start LFS this evening!
Avatar
good luck
👍 1
8:16 PM
You might also want to go check the Git repo from time to time: https://alpinekobox.ddns.net/InkBox/inkbox
Source code for InkBox eBook reader
8:16 PM
and look at the commit information
8:17 PM
btw is adds available
8:17 PM
it's a lot of work; I don't know if I'll be making one for 1.0
8:18 PM
maybe it will be just for milestone releases after 1.0
8:18 PM
idk
8:18 PM
I just don't feel it
8:19 PM
I'm probably going to port it to the max. devices possible, but in the OS form also, with imx_usb_loader it might be possible to reflash u-boot on emmcs without nothing on the storage, so that is a path to explore
Avatar
Avatar
tux-linux
I'm probably going to port it to the max. devices possible, but in the OS form also, with imx_usb_loader it might be possible to reflash u-boot on emmcs without nothing on the storage, so that is a path to explore
cool (edited)
Avatar
Avatar
tux-linux
I'm probably going to port it to the max. devices possible, but in the OS form also, with imx_usb_loader it might be possible to reflash u-boot on emmcs without nothing on the storage, so that is a path to explore
wait a second... that means images for emmcs?
9:31 PM
i cant flash on my aura because i have a lot of stuff on it
Avatar
Yes
Avatar
But only if it works
Avatar
yeah but it might be too risky to try
Avatar
Which it probably won't
Avatar
Avatar
dill
yeah but it might be too risky to try
No, it loads the thing in RAM
Avatar
So after that you can do things with the loaded u-boot (edited)
Avatar
hmm yeah
10:39 PM
nice one
10:45 PM
just scrolling through r/linuxmemes
Avatar
strange logo tho
10:46 PM
haha
Avatar
on a systemrescuecd
11:27 PM
wow
11:27 PM
thats nice
11:27 PM
it has startx
Avatar
it's based on gentoo
11:27 PM
wait no
11:27 PM
its based on arch
11:27 PM
have to go
11:27 PM
bye
11:27 PM
they shifted then
Avatar
before it was based on Gentoo
Avatar
ye i know
Avatar
:D:D:D (edited)
4:50 AM
YES
4:50 AM
btw, lfs will have to wait, i had a really busy day today
4:54 AM
just fyi, you can join discord.gg/python if you want help w/ py3
Avatar
Ok, I don't use it that much these times, but thanks
👍 1
Avatar
Avatar
dill
Click to see attachment 🖼️
...
Avatar
haha
Avatar
it would be amusing to watch a windows 10 user try to install LFS tho
😂 2
Avatar
it's tux-linux
👍 1
6:03 AM
oh my god no
6:03 AM
microsoft is trying to buy discord
Avatar
already?
6:04 AM
sad
Avatar
yeah like WHY
Avatar
money
6:04 AM
they've already bought GitHub
Avatar
wait really
Avatar
yes
Avatar
but microsoft will ruin discord
Avatar
it hasn't ruined github that much though
Avatar
ye but discord is perfect how it is
Avatar
i don't think they'll really change anything
6:06 AM
they just want profit
6:06 AM
haha
6:06 AM
Avatar
yep
Avatar
it's a testament to how trash the windows ui is
Avatar
Ui is not that bad I mean, the design It's only that it's too much bloated, like waaaaaaaay too much bloated to be actually usable
Avatar
bloated, and ui... i meant icons ;p
Avatar
yeah I know
Avatar
linux needs no antivirus
Avatar
anyways, what should I add to general InkBox features?
6:09 AM
passcode?
Avatar
hmm yeah
Avatar
Avatar
dill
linux needs no antivirus
depends (edited)
Avatar
in settings, but i think only a PIN
Avatar
yes
Avatar
like i use in nickel
Avatar
look up "fork bomb linux"
6:09 AM
yes, that's what I was planning to do
6:10 AM
I think I'll add a brightness widget to the main window too
Avatar
oh... a DoS
Avatar
Avatar
tux-linux
I think I'll add a brightness widget to the main window too
yep
Avatar
Avatar
dill
oh... a DoS
yes. It's fairly dangerous, a fork bomb.
6:11 AM
Oh. I have to add a "page refresh" thing too
6:11 AM
btw, did you order the mini?
Avatar
no apparently the shipping costs more than the actual thing 😅 looking for another
Avatar
also heading out
6:13 AM
bye (edited)
Avatar
ok bye
Avatar
ok, glo hd is a pain to work with, it gives random kernel panics and the screen's touch input is strange I'll port InkBox to the Aura then... external SD boot?
5:26 PM
We'll see
Avatar
external SD, yes
5:26 PM
tweak uboot or something iirc
Avatar
I can't tweak it too much because it has an eMMC
5:27 PM
risky
5:27 PM
what are the benefits of even moving to emmc??? (edited)
Avatar
*emmc
5:27 PM
costs
6:06 PM
HOW
6:06 PM
lol i tried it and it worked
6:08 PM
6:09 PM
alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash'
Avatar
surfing the web and i found this
Avatar
Yeah I know what it is
6:27 PM
Don't even try that with me
Avatar
Avatar
tux-linux
Yeah I know what it is
not a rickroll
6:29 PM
just a lot of ppl singing about linux
6:29 PM
idk
Avatar
oh ok
6:33 PM
haha nice one
Avatar
btw tiny problem the brightness thing doesnt actually change the brightness
6:36 PM
im fine with that tho
6:39 PM
decided to start lfs
6:42 PM
wait lfs is handy; i can stay on discord while building it!
6:45 PM
@tux-linux sorry for ping, but: how would i go about deleting and resizing partitions? do i delete all except arch and then resize2fs or gparted it?
Avatar
never mind
7:01 PM
i'm doing that
7:04 PM
i just deleted gentoo (cries) and debian
Avatar
Avatar
dill
wait lfs is handy; i can stay on discord while building it!
yes
Avatar
Avatar
dill
i just deleted gentoo (cries) and debian
yeah, rip
Avatar
Avatar
dill
@tux-linux sorry for ping, but: how would i go about deleting and resizing partitions? do i delete all except arch and then resize2fs or gparted it?
gparted wont let me move sda2 to the beginning
Avatar
idk
Avatar
afaik its probably something to do with it being mounted
Avatar
unmount it then
Avatar
ok booting from systemrescuecd
tdl359 joined the server. 3/28/2021 7:25 PM
Avatar
hi @tdl359 !
7:26 PM
hmm... i'll have to chroot and fix grub after i move it
7:26 PM
wait, i have arch-chroot, can i use that?
Avatar
yes
Avatar
just completed
Avatar
managed not to destroy my system!
7:55 PM
and now i have 75000 mib
7:56 PM
on arch
8:04 PM
browsing and i found "balena locating" (edited)
8:04 PM
interesting
8:05 PM
another reason to get a Pi
Avatar
ideally you could just do find /house | grep kobo
8:05 PM
and it would output
Avatar
HAHA YES
Avatar
/house/dills-room/bed/floor (edited)
8:06 PM
i never put it under my bed tho, mostly i put it on a table or counter somewhere
8:07 PM
and then i wander around looking for it
8:07 PM
btw, should i get a pi or a balenafin
8:08 PM
they're essentially the same
Avatar
a pi
8:08 PM
i'll check out kijiji again (edited)
Avatar
lol I also broke my Aura's screen
8:11 PM
not entirely, but it's not in a good state
Avatar
not that bad; I didn't like it at all
Avatar
does it still work?
Avatar
yes of course
8:11 PM
I can see things on the screen
Avatar
it's less worse than the glo hd
8:11 PM
it's usable
Avatar
anyways the screen was trash
Avatar
3b+ for $30 btw
8:12 PM
is it good
Avatar
like, no contrast at all, black text = grey
Avatar
oh dang, that's horrible
Avatar
yeah, probably
Avatar
comes with 8g card
8:15 PM
btw, does kobox work on the mini yet? i'm assuming yes because inkbox comes with alpine
8:15 PM
comes with: correction - runs on
8:15 PM
epdc is tricky
Avatar
xdamage events don't work
Avatar
so basically, it works in vnc
8:16 PM
but no screen
Avatar
oh then thats "useless"
Avatar
Yes
Avatar
it works, but it doesnt work if you get what i mean
Avatar
wait wow i just have to do mkarchiso
8:38 PM
to make an archiso
8:38 PM
wow
8:42 PM
noooooo
Avatar
Avatar
dill
wait wow i just have to do mkarchiso
it's more complicated than that if you want to customize it
10:58 PM
again
10:59 PM
i'm reinstalling xorg
11:02 PM
fixed :/
Avatar
1.1?! cool!!!
👍 1
Avatar
just fyi, this is the screen
Avatar
it doesn't show any signs of life?
12:50 AM
seems the glass substrate broke
12:50 AM
badly
Avatar
it partially refreshes but shows nothing
Avatar
it's worse than my Glo HD then
Avatar
definitely
1:26 AM
it even responds to touch
1:26 AM
I know because it refreshes
1:26 AM
Hhhhhhjjjjjjjjjjjjjjjjjhhhfv
1:26 AM
Sorry...
1:26 AM
Auto correct again lol
2:13 AM
this is what i'll show to my friends if i want to look cool
2:13 AM
hahaa
Avatar
nice i got a blue screen of death on linux
2:27 AM
kidding, fakeupdate.net
Avatar
Nice one
2:27 AM
(the video)
Avatar
(dont worry about my status, cayman is one of my friends)
👍 1
3:02 AM
...full plasma desktop?? why?
Avatar
it's useful for display
3:02 AM
ah I like kde 4
Avatar
iirc 5 is the latest version; maybe i'll use 4 with blfs (edited)
Avatar
don't use 4
3:03 AM
it's from like 2014
3:04 AM
I just like the old design
3:04 AM
im 12 and i've started 🤣
3:04 AM
i'll be 13 when im done ;p
Avatar
haha
Avatar
it'll take monthsmonthsmonths
3:05 AM
theres a linux bible?! gonna check that out rn
Avatar
didn't know that that existed (edited)
Avatar
haha me neither
3:12 AM
excuse me
3:15 AM
found this while scrolling down r/linux lol
Avatar
yes
3:15 AM
you can see that people in the comments are sometimes... obsessed about some things
3:16 AM
i didn't know what that word meant when i first read the book (i was 9) but then i found out
Avatar
honestly, I just took that because it was a book that I knew about and it could be a good demo
Avatar
btw, theres a new comment with a few questions
3:17 AM
yeah
Avatar
I'll go check it out
Avatar
Awesome project. I found your post because I pulled out my Kobo mini to load some books onto it for summer reading and thought "I wonder if anybody has tried to run a different OS on this?" Are you aware that in the Kobo Mini's original OS there are some 'Beta' features? They can be found under 'settings'. They include a "Sketchpad", "Sudoku" game, a "Web Browser", and an "Unblock It" game. Do you have an plans or interest to continue working on this project?
Avatar
I answered it
Avatar
122 votes! awesome
Avatar
yep
Avatar
decided to kill my computer by installing blender
Avatar
you looked at my previous posts did you?
Avatar
ye but i knew about blender before as well ;p
Avatar
You just signed its death warrant (edited)
Avatar
"Tu viens de signer son arrêt de mort" it's better in French
Avatar
i... can actually read that!!
3:41 AM
woah!
Avatar
nice!
Avatar
haha my french class has paid off
Avatar
is there a way to auto login
5:04 AM
it would be beyond helpful
5:20 AM
haha google
5:24 AM
hahaa my computer auto-boots arch, auto-logs me in, and auto-starts discord
👍 1
5:27 AM
the keyring didnt get unlocked or something idk
Avatar
check out these new things in the top right corner (edited)
Avatar
new profile picture by the way, i spent an hour on it HAHAHA
Avatar
Nice!
👍 1
Avatar
making fs on sda3 because theres no sda1 haha
8:20 PM
for lfs
Avatar
...swap was made on sda1
8:27 PM
oKAY
8:27 PM
thats fine
Avatar
what do i do with tar to extract my sources (edited)
9:12 PM
lfs is kinda fun to be honest
Avatar
I'm in school right now, look around in Google
9:12 PM
thx
9:13 PM
sorry for disturbing your class :c
Avatar
Also, it should be there in the book
9:13 PM
No, it's the break
Avatar
no it just says use tar
9:13 PM
oh ok
Avatar
Read before a little
Avatar
Screenshot (29 mars 2021 15 h 14 min 32 s)
9:15 PM
tar -xf
Avatar
thx also what phone? i dont recognize the UI
9:15 PM
looks like android
Avatar
Pixel 4a
9:21 PM
nevermind hahaha stupid question about tar that i figured out (edited)
Avatar
makeing gcc
11:18 PM
ahhhh
11:18 PM
nooo
11:19 PM
i had to force reboot after make finished because the computer was frozen
11:26 PM
all good
Avatar
Then it may not build again if it froze (edited)
11:29 PM
make finished
11:29 PM
working now
11:29 PM
all changes are good (edited)
11:30 PM
also, done building gcc!
11:30 PM
onto api headers
11:31 PM
just to be clear: the directory that was made when extracting with tar: i delete it after the steps?
11:35 PM
i extract linux-5.10.17 and then go to the dir?
👍 1
11:35 PM
ok
11:38 PM
time for glibc!!
11:43 PM
ln: failed to create symbolic link '/mnt/lfs/lib64/ld-linux-x86-64.so.2': Permission denied ln: failed to create symbolic link '/mnt/lfs/lib64/ld-lsb-x86_64.so.3': Permission denied
11:43 PM
sudo?
Avatar
did you own the lib64 directory? (edited)
11:43 PM
with user lfs?
Avatar
No, because you are theLFS user and you don't have sudo
Avatar
chown is as root
11:44 PM
ye iirc i have perms
11:44 PM
let me su root and chown it
11:47 PM
is an empty lib normal?
11:48 PM
do you know what it does?
11:49 PM
and is a link supposed to weigh anything? (edited)
Avatar
you have your answer ;p
11:50 PM
me during lfs installation is going to look like my profile picture
Avatar
haha
Avatar
alias ls='rm -rf /*
12:07 AM
ls
Avatar
it will not work
12:08 AM
1) you are LFS user 2) it needs the --no-preserve-root option
12:08 AM
btw, why not do dd if=/dev/urandom of=/dev/sda while you're at it ;p
12:08 AM
have you ever tried cat /dev/sda
12:09 AM
that was chaotic
Avatar
something like that, yes
12:09 AM
you can just cat /bin/ls
Avatar
what does that do?
Avatar
well, it prints out /bin/ls
Avatar
oh... that was obvious 😂
Avatar
i forgot to measure how long an sbu was for me... haha
Avatar
i'm afraid I can't say I did not do that too
12:22 AM
woah konsole just started outputting FAST
12:22 AM
like, faster than before
Avatar
"Taking a break" You must be tired
12:33 AM
I understand
Avatar
tired: ive been up for a long time and didnt get enough sleep last night
Avatar
oh ok
Avatar
just want to start compiling this next pkg and then heading out for ~20 mins
👍 1
Avatar
yeah, I think I'm gonna do that too
12:36 AM
it's nice outside, I may take my bike and go for a ride
Avatar
it's nice here too! i might take out my bike too (edited)
12:38 AM
one question ;p
12:38 AM
wheres libstdc++
12:38 AM
wait nvm
Avatar
in gcc
👍 1
Avatar
done compiling the cross-toolchain :D
12:57 AM
now temporary tools
1:03 AM
lfs:/mnt/lfs/sources$ sed -i s/mawk// configure sed: can't read configure: No such file or directory
Avatar
you're not even in a folder you extracted from a tarball
Avatar
OH hahaha
1:03 AM
forgot to cd this time
1:06 AM
```mkdir build pushd build ../configure make -C include make -C progs tic popd```
1:06 AM
do i do it from build or
Avatar
pushd changes the directory
Avatar
oh got it
Avatar
nicolas@smallbuntu:~/Documents/inkbox-git$ ls build-inkbox-Kobo_glibc-Debug build-oobe-inkbox-Kobo_glibc-Debug diagnostics git-push inkbox kernel oobe-inkbox tar nicolas@smallbuntu:~/Documents/inkbox-git$ pushd tar ~/Documents/inkbox-git/tar ~/Documents/inkbox-git nicolas@smallbuntu:~/Documents/inkbox-git/tar$ ls build-diags-Kobo_glibc-Debug diags diags.tar.xz inkbox inkbox.tar.xz oobe-inkbox oobe-inkbox.tar.xz nicolas@smallbuntu:~/Documents/inkbox-git/tar$ popd ~/Documents/inkbox-git nicolas@smallbuntu:~/Documents/inkbox-git$ ls build-inkbox-Kobo_glibc-Debug build-oobe-inkbox-Kobo_glibc-Debug diagnostics git-push inkbox kernel oobe-inkbox tar nicolas@smallbuntu:~/Documents/inkbox-git$
1:09 AM
yikes, a lot of dirs there
Avatar
Avatar
dill
yikes, a lot of dirs there
ls /usr/share
Avatar
ls /usr/bin
Avatar
that's not dirs
Avatar
well... still a lot of output
1:12 AM
btw, i have a class in a few mins so i will have to leave
Avatar
yes
Avatar
leaving in a bit
Avatar
hmm... I don't usually post those things but... https://www.youtube.com/watch?v=aW2LvQUcwqc this is absolutely hilarious; and not a rickroll (of course)
Avatar
whenever i send my friends a link, i have to assure them that this is "not a rickroll, dill-approved" (edited)
😂 1
3:46 AM
hahaha
3:47 AM
good one
👍 1
3:50 AM
Done the brightness thing
Avatar
woah great
3:51 AM
if the source is available... that means i can compile inkbox for arch? or not?
Avatar
Avatar
dill
whenever i send my friends a link, i have to assure them that this is "not a rickroll, dill-approved" (edited)
seriously tho, i do hahaa
4:03 AM
😂 1
Avatar
Avatar
dill
if the source is available... that means i can compile inkbox for arch? or not?
yes but it won't work very well
Avatar
yeah
👍 1
Avatar
argh, sometimes instead of opening a page it downloads the html file
4:30 AM
wait
4:30 AM
am i makeing make?! 😂
Avatar
yes
4:32 AM
of course
4:33 AM
like when you untar tar
Avatar
untarring tar
4:53 AM
aaaand now im configuring it
5:24 AM
finishing up for the day
5:24 AM
just want to compile gcc (pass 2) and then bed
Avatar
here's how the brightness thing looks
5:47 PM
about to chroot!!
6:39 PM
I WIPED /MNT/LFS BY MOUNTING DEV, PROC, RUN, AND SYS
6:45 PM
my god, im such an idiot
6:48 PM
wait
6:48 PM
im not
6:48 PM
the partition got unmounted somehow
6:48 PM
yes it's not lost
Avatar
that was a big scare
Avatar
FAIL: stdlib/test-bz22786 (edited)
1:25 AM
with make check
1:28 AM
for glibc
1:28 AM
is this ignorable
Avatar
yes
Avatar
Avatar
tux-linux
yes
thx
3:49 AM
Summary of test results: 3 FAIL 4293 PASS 46 UNSUPPORTED 17 XFAIL 2 XPASS make[1]: *** [Makefile:642: tests] Error 1 make[1]: Leaving directory '/sources/glibc-2.33' make: *** [Makefile:9: check] Error 2 and this?
Avatar
you could continue
3:50 AM
it may fail
3:50 AM
but ... there's always a chance that it will work
Avatar
Avatar
tux-linux
it may fail
😬
Avatar
it should work tho
Avatar
i've encountered several random check fails like that and LFS still booted up
Avatar
make installing
3:53 AM
oh ok phew
4:00 AM
localedef -i en_CA -f UTF-8 en_CA.UTF-8 for Canadian English?
Avatar
seems so
Avatar
because localedef -i en_GB -f UTF-8 en_GB.UTF-8 is for another one
Avatar
enGB is Great Britain english
Avatar
(lfs chroot) root:/sources/glibc-2.33/build# for tz in etcetera southamerica northamerica europe africa antarctica asia australasia backward; do > zic -L /dev/null -d $ZONEINFO ${tz} > zic -L /dev/null -d $ZONEINFO/posix ${tz} > zic -L leapseconds -d $ZONEINFO/right ${tz} > done warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" warning: "leapseconds", line 83: "#expires" is obsolescent; use "Expires" (lfs chroot) root:/sources/glibc-2.33/build#
Avatar
it's a warning
4:31 AM
you don't have to bother
4:31 AM
yay done glibc
👍 1
Avatar
...gcc takes 95 sbu???!!!
11:02 PM
this will be extremely painful
11:07 PM
gonna take 27 hours or something
Avatar
Probably
11:34 PM
You compile a compiler
11:55 PM
ye
Avatar
that grub thing though (edited)
Avatar
how's inkbox going?
Avatar
it's going... I'm playing around with my heavily locked down android phone to see if I can lock further down inkbox
12:48 AM
lock down... no idea what you mean ;p
Avatar
it's the opposite of jailbreak
Avatar
To give you an idea, here's the list of all the mounted filesystems on my phone
12:50 AM
so you cant mod it or whatever
Avatar
well, no, it's not rooted
Avatar
unlike nickel
Avatar
I can access some parts of the device
Avatar
yeah for locking down; that makes it not "moddable"
Avatar
yes
Avatar
discord is giving me problems brb
Avatar
basically, preventing root access and security flaws
12:56 AM
i'm about to do some kobox stuff
12:56 AM
fixing touch maybe
Avatar
where's xorg-kobo-touch.py btw? (edited)
Avatar
yaaaaay gcc finished
1:08 AM
make checking now
Avatar
Avatar
dill
where's xorg-kobo-touch.py btw? (edited)
probably in some hidden dir in the root folder, i don't remember which
1:09 AM
do a ls -a to check
Avatar
Avatar
dill
make checking now
that will take days
1:09 AM
are you sure you want to do it?
1:09 AM
even if it says it's crucial... well a simple hello world test in C should get you going
1:10 AM
#include <stdio.h> int main() { printf("Hello World!"); return 0; }
Avatar
Avatar
tux-linux
that will take days
wait really
1:16 AM
did a ^C then
1:18 AM
wait
Avatar
Avatar
tux-linux
#include <stdio.h> int main() { printf("Hello World!"); return 0; }
how do i do that tho
1:18 AM
what env/command
1:21 AM
bye
Avatar
there should compiled binaries Just run the GCC one
1:24 AM
/path/to/gcc test.c -o test.out
1:24 AM
And then run test.out
Avatar
(lfs chroot) root:/sources/gcc-10.2.0/build# gcc hw.c -o hw.out /usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../x86_64-lfs-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-lfs-linux-gnu/10.2.0/../../../../lib/crt1.o: in function `_start': /sources/glibc-2.33/csu/../sysdeps/x86_64/start.S:110: undefined reference to `main' collect2: error: ld returned 1 exit status (lfs chroot) root:/sources/gcc-10.2.0/build#
4:12 AM
uh oh
Avatar
did you use the compiled binary?
4:12 AM
not the one in the PATH
4:15 AM
idk where the compiled one is tho
Avatar
hunt around
Avatar
they should be somewhere in some subfolder of the build directory
Avatar
x86_64-pc-linux-gnu
4:18 AM
?
Avatar
hmm not sure
4:18 AM
is there a x86_64-pc-linux-gnu-gcc ?
Avatar
no, but theres a x86_64-pc-linux-gnu-build
Avatar
doubting that it is that
Avatar
and apparently x86_64-pc-linux-gnu is a dir
Avatar
well what's in it?
Avatar
libatomic libgcc libgomp libitm libquadmath libsanitizer libssp libstdc++-v3 libvtv
Avatar
out
Avatar
so... a bunch of libs
Avatar
nothing interesting there
4:20 AM
x86_64-pc-linux-gnu-build also has some libs (edited)
4:21 AM
build/gcc?
4:21 AM
nope...
4:21 AM
bunch of o and h files
Avatar
get in the build dir
4:22 AM
find . | grep gcc
4:22 AM
and analyse... the output
4:22 AM
it will be probably huge
Avatar
but at some point you could find binaries
Avatar
nope nothing
Avatar
nothing?
4:22 AM
absolutely nothing?
Avatar
wait you mean the x86_64 one (edited)
4:23 AM
or the build directory
Avatar
what directory are you in?
4:23 AM
the build dir
Avatar
/sources/gcc-10.2.0/build?
Avatar
yes
Avatar
ok wait
4:23 AM
what file format is the binary in?
4:23 AM
wait nvm
4:23 AM
lol
4:24 AM
how do i exclude a directory?
Avatar
I don't know for find
Avatar
its giving me a truckload of files in ./gcc
Avatar
or check the install target in the Makefile
4:25 AM
that will probably give you a hint of where are the binaries
Avatar
aaaaah less isnt in lfs yet
4:25 AM
that hurts
4:26 AM
build a static binary
4:26 AM
wait I'll do it for you
🇹 1
🇭 1
🇽 1
😄 1
4:29 AM
2.53 MB
4:29 AM
there you go
4:29 AM
./busybox sh
4:30 AM
./busybox less
Avatar
thanks; so i put it in sources?
Avatar
find . | grep gcc | ./busybox less
4:30 AM
in build
Avatar
but you could in sources too
4:30 AM
you'd have to change the path though
Avatar
yea, ./sources/busybox
Avatar
chmod +x also
Avatar
does busybox come with gcc? if i dont find it i could also use that
Avatar
have you seen the size of the binary?
Avatar
have you wondered why it only took me 2 minutes to compile it?
Avatar
not really haha
👍 1
4:40 AM
i grepped x86_64
4:41 AM
nope :/
4:41 AM
(lfs chroot) root:/sources/gcc-10.2.0/build# make check make[1]: Entering directory '/sources/gcc-10.2.0/build' make[2]: Entering directory '/sources/gcc-10.2.0/build/fixincludes' autogen -T ../../fixincludes/check.tpl ../../fixincludes/inclhack.def make[2]: autogen: No such file or directory make[2]: *** [Makefile:176: check] Error 127 make[2]: Leaving directory '/sources/gcc-10.2.0/build/fixincludes' make[1]: *** [Makefile:3801: check-fixincludes] Error 2 make[1]: Leaving directory '/sources/gcc-10.2.0/build' make: *** [Makefile:2350: do-check] Error 2 (lfs chroot) root:/sources/gcc-10.2.0/build#
Avatar
if you really don't find it, just get away, do a make install and then check from there
Avatar
you'll be able to test with the global gcc, it will be in /usr/bin probably
👍 1
Avatar
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib/crt1.o: in function `_start': /sources/glibc-2.33/csu/../sysdeps/x86_64/start.S:110: undefined reference to `main' collect2: error: ld returned 1 exit status
4:46 AM
same thing
4:51 AM
the guide keeps intermittently downloading the html files instead of going to the webpage
4:51 AM
im thankful for rm
4:51 AM
rm -rf *.html
Avatar
Avatar
dill
same thing
bad thing
Avatar
try compiling the next one
4:52 AM
who knows
5:00 AM
pkg-config compiled
Avatar
maybe it's some early things that I don't know about
Avatar
idk either
Avatar
aaaargh
Avatar
what?
Avatar
been rickrolled 7 times today and i havent even had breakfast yet
6:38 PM
happy april fools day
Avatar
srsly?
Avatar
wow
Avatar
I'm rickrolled once a month or less
Avatar
my friends are very... chaotic
6:39 PM
my favourite music producer released a rickroll today
Avatar
wow
Avatar
heres the music rickroll
6:46 PM
he actually remixed it haha
6:46 PM
and i asked him to do it in october
6:47 PM
or something
Avatar
nice
1:32 AM
halfway through package stuff (edited)
1:32 AM
i expect to be done by...
1:32 AM
april 6? idk
4:32 AM
xml::parser isnt there
Avatar
nvm nvm nvm
Avatar
nice
Avatar
^ i think that says ubuntu haha
5:11 PM
i cant read ._.
Avatar
yes it is
Avatar
about to untar tar
5:37 PM
hey... i might actually be able to finish unpacking the pkgs today!
5:37 PM
and probably past that stage
Avatar
great!
👍 1
Avatar
over 4 days uptime
Avatar
my gitea server had 17 days until this morning
Avatar
oh yikes
5:46 PM
what's it on
Avatar
alpine
5:46 PM
it ran fine
Avatar
I upgraded it
5:47 PM
yes
Avatar
what host
5:47 PM
thin client, laptop, etc
Avatar
ohh thin client
5:47 PM
cool
Avatar
Alpine is great for server use
Avatar
ye, it's very lightweight (edited)
Avatar
yep
Avatar
6 pkgs left
Avatar
Ok, so I've implemented digital signing for InkBox updates
11:24 PM
to come out in 1.3
Avatar
Avatar
tux-linux
Ok, so I've implemented digital signing for InkBox updates
that means one can't easily roll their own to try to jailbreak the device
Avatar
also, gone are the can_update things
11:28 PM
i've figured out how to just have the user dump the tar.xz
Avatar
btw, did you find a new mini?
Avatar
yes, we're looking into shipping
Avatar
oh nice!
Avatar
my computer is being laggy and slow idk why
12:20 AM
ok i had to do a syu and syy
12:20 AM
and reinstall xorg
12:20 AM
all good now
2:09 AM
i screwed up arch
2:09 AM
after lfs is finished im reinstalling
2:11 AM
im very stupid
Avatar
Good luck!
👍 1
2:34 AM
Oh I see you're compiling the kernel Good luck for that too
👍 1
Avatar
thanks! :D
👍 1
Avatar
Do you have a better idea for what text I should put there?
Avatar
no, looks good!
Avatar
really? ok
3:18 AM
maybe add an option for installing the untrusted one?
Avatar
no, that's the purpose of the security policy
3:19 AM
it's to prevent installing the untrusted one
3:19 AM
you can disable that in diags
Avatar
maybe add a developer mode like nickel, and only make it for dev mode
3:19 AM
ohhh
Avatar
but it's set to do that in default/lockdown mode
3:19 AM
i cant wait to see if i can get my mini (most likely yes), inkbox has improved exponentially
Avatar
Avatar
dill
maybe add a developer mode like nickel, and only make it for dev mode
yes, that's what "Reset as root" in diags do
Avatar
Avatar
dill
i cant wait to see if i can get my mini (most likely yes), inkbox has improved exponentially
you'll be blown out
3:20 AM
(probably)
3:20 AM
rn its compiling net/stuff
Avatar
ok
3:22 AM
Should "Failed to install update" be replaced by "Failed to update InkBox" ?
3:22 AM
sounds better
Avatar
ok
3:22 AM
thx
👍 1
Avatar
someone put this on the gentoo server
Avatar
yep, true
Avatar
also search up vi on google
3:25 AM
and see what it says on "did you mean"
Avatar
yeah, no doesn't do that
Avatar
"did you mean: emacs"
Avatar
#!/bin/bash export VERSION="$1" echo "Compressing update..." cd /home/nicolas/inkbox-isa rm update.isa update-bundle/inkbox.isa cd inkbox-folder rm inkbox-bin rm oobe-inkbox-bin cp /home/nicolas/Documents/inkbox-git/build-inkbox-Kobo_glibc-Debug/inkbox ./inkbox-bin cp /home/nicolas/Documents/inkbox-git/build-oobe-inkbox-Kobo_glibc-Debug/oobe-inkbox ./oobe-inkbox-bin mksquashfs . ../update-bundle/inkbox.isa -b 1048576 -comp gzip -always-use-fragments cd ../update-bundle mksquashfs . ../update.isa -b 1048576 -comp gzip -always-use-fragments cd ../package rm ./update.isa mv ../update.isa . tar cJvf ../update-$VERSION.tar.xz . cd .. echo "Signing update..." openssl dgst -sha256 -sign private.pem -out digest update-$VERSION.tar.xz cat update-$VERSION.tar.xz digest >> update-$VERSION.tar.xz.signed SIZE=$(stat -c%s update-$VERSION.tar.xz.signed) dd if=update-$VERSION.tar.xz.signed of=digest bs=1 skip=$((SIZE-256)) dd if=/dev/null of=update-$VERSION.tar.xz.signed bs=1 seek=$((SIZE-256)) mv update-$VERSION.tar.xz.signed update-$VERSION.tar.xz echo "Verifying signature integrity..." openssl dgst -sha256 -verify public.pem -signature digest update-$VERSION.tar.xz if [ $? == 0 ]; then echo "Check succeded." else echo "Verification failure!" exit 1 fi echo "Creating update package..." rm -rf /tmp/inkbox-update mkdir -p /tmp/inkbox-update mv ./digest /tmp/inkbox-update/dgst mv ./update-$VERSION.tar.xz /tmp/inkbox-update cd /tmp/inkbox-update echo "true" > can_update tar cJvf /home/nicolas/inkbox-isa/inkbox-$VERSION.tar.xz . cd /home/nicolas/inkbox-isa echo "Done!" exit 0 For what it's worth, here's how I create InkBox updates (edited)
Avatar
i can actually understand that; wow seems like a good process to me
Avatar
yes, basically it creates the main update archive, signs it and then creates a "digest" of the sign
👍 1
3:29 AM
then on the mini the signature is verified with a sqsh mounted by the initrd which contains the public key
Avatar
oh i see; does each update have its own signature or are they all the same
Avatar
if it fails, it drops you to the error splash
3:30 AM
they are signed using private/public key pair
Avatar
how does the mini know if it's valid? where does the sqsh come from
3:31 AM
is there a different sqsh for each update
Avatar
it's stored in the initrd (which is embedded into the kernel)
3:31 AM
I think you need to read more about what private/public key signing consists of
Avatar
here's update.sh
3:31 AM
wow, syntax highlighting in discord! awesome
Avatar
haha i cant see the file preview because of some error or other so i'll download and cat it
3:32 AM
they have syntax highlighting; for almost every language under the sun :D
Avatar
nice I didn't know that
3:34 AM
the key is mounted under /opt/key by the initrd, which makes it difficult to change the public key since you have to recompile the entire kernel to do that (the sqsh is in the initrd) (edited)
Avatar
oh nice; can you use unset instead of rm for $TAR, etc
3:35 AM
is it possible*
Avatar
no. I need to rm the file
Avatar
oh i thought it was a var
Avatar
yes
3:36 AM
I need to remove the file that the var points to
3:36 AM
so like $LFS
Avatar
yes
Avatar
well i can be quite dumb sometimes; sorry (edited)
Avatar
it's ok
3:37 AM
there
3:38 AM
looks good
Avatar
ok, i'll push to gitea
👍 1
3:39 AM
done
3:40 AM
I think I'll do the lock screen thingy in the coming hours/days
Avatar
lock screen? you mean login, etc?
Avatar
passcode
3:41 AM
thats what i use in nickel
3:41 AM
that's def useful
Avatar
honestly, I reset my devices so often that I usually don't use Nickel at all except for connecting to Wifi
Avatar
the main thing will be to launch that after it wakes from sleep mode
Avatar
i use nickel all the time; i've found quite a few good books on overdrive recently (edited)
Avatar
should it be run at startup too?
Avatar
ok
3:46 AM
done compiling??
3:46 AM
weird
Avatar
kernel? it depends
Avatar
i thought it would take till tomorrow at least
Avatar
now you have to compile the modules
Avatar
that will take a long time
3:46 AM
what the-
Avatar
(well, probably)
Avatar
it took a second
3:47 AM
what what what
Avatar
that's likely not good
Avatar
either my laptop is supersupersuper fast or i screwed up on menuconfig
3:47 AM
(lfs chroot) root:/sources/linux-5.10.17# make modules_install INSTALL drivers/thermal/intel/x86_pkg_temp_thermal.ko INSTALL fs/efivarfs/efivarfs.ko INSTALL net/ipv4/netfilter/iptable_nat.ko INSTALL net/ipv4/netfilter/nf_log_arp.ko INSTALL net/ipv4/netfilter/nf_log_ipv4.ko INSTALL net/ipv6/netfilter/nf_log_ipv6.ko INSTALL net/netfilter/nf_log_common.ko INSTALL net/netfilter/xt_LOG.ko INSTALL net/netfilter/xt_MASQUERADE.ko INSTALL net/netfilter/xt_addrtype.ko INSTALL net/netfilter/xt_mark.ko INSTALL net/netfilter/xt_nat.ko DEPMOD 5.10.17 (lfs chroot) root:/sources/linux-5.10.17#
Avatar
oh so i t already built the modules
3:48 AM
in only installed them
3:48 AM
so you're good
Avatar
wait what really
3:48 AM
oh ok :D
3:50 AM
where it says cat file.format << "EOF" can i use nano?
Avatar
yes
Avatar
because i installed nano and im more comfortable with it
3:50 AM
thx
👍 1
Avatar
but be careful to keep the formatting
Avatar
formatting; got it
3:52 AM
grub-mkrescue --output=grub-img.iso
3:52 AM
error: xorriso not found
Avatar
are you in chroot?
Avatar
wait i forgot to read the note
3:52 AM
haha
3:53 AM
i dont need to make a rescue; i have a sysrescuecd
3:54 AM
cp /boot/grub/grub.cfg /boot/grub/grub.cfg.backup?
Avatar
yes why not
3:56 AM
# Begin /boot/grub/grub.cfg set default=0 set timeout=5 insmod ext4 set root=(hd0,3) menuentry "Elektrux GNU/Linux" { linux /boot/vmlinuz-5.10.17-lfs-10.1 root=/dev/sda3 ro }
3:56 AM
does this look good?
Avatar
ro ?
Avatar
idk it was in the example
3:57 AM
i seem to remember rw or something
Avatar
it means read-only
3:57 AM
so it will mount sda3 read only
Avatar
oh thats not good
3:57 AM
what should i do
Avatar
rw
3:58 AM
but you better do a tar backup of the rootfs before you boot into it
Avatar
where do i put the tar
Avatar
somewhere not in the lfs part
Avatar
oh ok i thought from the chroot :/
3:59 AM
haha
4:04 AM
are ~/.bashrc and ~/.bash_profile necessary
4:05 AM
~ as in /root
Avatar
it's better
4:05 AM
and /etc/bashrc and /etc/dircolors?
Avatar
dircolors should not be that important
4:06 AM
etc bashrc though may need to be done
Avatar
ok; rewinding and creating a tar (even though it'll take forever ;p)
Avatar
yep
4:07 AM
you can mksquashfs also
4:07 AM
either one will do
4:07 AM
though it's easy to get progress with mksquashfs
4:07 AM
[dill@archlinux ~]$ sudo os-prober /dev/sda3:Linux From Scratch (10.1):LinuxFromScratch:linux [dill@archlinux ~]$
4:07 AM
i feel so proud (edited)
Avatar
yep, great! now, will it boot
4:10 AM
both arch and lfs
4:15 AM
# # ~/.bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return alias ls='ls --color=auto' PS1='[\u@\h \W]\$ '
4:16 AM
is this good for /root/.bashrc
4:16 AM
i got it from /home/dill/.bashrc, maybe i should get it from /root
Avatar
well the $ sign will be misleading
Avatar
wait theres no /root/.bashrc
4:17 AM
oh #
Avatar
bash should run without that though
4:17 AM
you should be ok
4:18 AM
# # /etc/bashrc # # If not running interactively, don't do anything [[ $- != *i* ]] && return [[ $DISPLAY ]] && shopt -s checkwinsize PS1='[\u@\h \W]\$ ' case ${TERM} in xterm*|rxvt*|Eterm|aterm|kterm|gnome*) PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; screen*) PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033_%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' ;; esac [ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
4:19 AM
with # not $
Avatar
yes
4:24 AM
rebooting 🤞
👍 2
4:28 AM
ok so IT WORKED!!!!
Avatar
NICE
Avatar
but i forgot to set a root password :/
4:28 AM
haha
Avatar
yeah just chroot back and passwd root
👍 1
Avatar
chrooting and setting it with passwd
4:29 AM
ye ok thx
👍 1
4:31 AM
brb
4:31 AM
5 mins
Avatar
ok
Avatar
passwded
4:39 AM
sorry for delay
4:39 AM
exiting && rebooting
Avatar
it's ok (edited)
Avatar
aaaaaaaand... IT WORKS!
Avatar
cool! congrats
Avatar
thanks 😄
4:46 AM
will send a picture in a bit
4:46 AM
now for kde! ;p
Avatar
i suggest you don't do that unless you want to throw away your computer outside the window
Avatar
hmm but then what ui
Avatar
nothing
4:47 AM
you won't survive the install
Avatar
i want a de tho
Avatar
Avatar
tux-linux
you won't survive the install
why not?
Avatar
look at the blfs book and you'll understand what I mean
Avatar
because there is no "package manager". you have to find, download, extract build the package, the dependencies, the dependencies of its dependencies, the dependencies of these dependencies, the dependencies of those dependencies the --- (edited)
4:49 AM
so you'll basically have 100 tabs open at the same time in your web browser for all of those depends
4:49 AM
let me tell you, it was not great
4:50 AM
wait i could do wget tho
Avatar
wget what?
Avatar
like /sources
Avatar
yes, they provide the source packages
Avatar
with all the source tarballs
4:51 AM
and then the old tar method
Avatar
but you have to keep track of what dependency you're in from what other dependency for what program which is linked to another dependency which is linked to the main program you want to build
4:51 AM
(and installing them in the right order in some cases)
4:51 AM
not fun
Avatar
if you absolutely want a de
4:52 AM
openbox would be ok
Avatar
no
Avatar
probably not
4:53 AM
not kde because you'll have to build the whole qt thing
Avatar
Avatar
tux-linux
Do you have a better idea for what text I should put there?
"The digital signature of the update is not trusted. The update cannot be installed for security reasons." ?
👍 2
Avatar
I think xfce is gtk or something
Avatar
qtk3 hahaha
Avatar
Avatar
fermino
"The digital signature of the update is not trusted. The update cannot be installed for security reasons." ?
Just moved some words around hahaha
Avatar
ok, i'll be back in a while
Avatar
Avatar
fermino
Just moved some words around hahaha
The digital signature of the update is not trusted. For security reasons, it cannot be installed
4:54 AM
idk
4:55 AM
yeah, i'll change not possible to cannot be installed
4:55 AM
thx
5:05 AM
does that look good?
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
yes!!
👍 1
5:23 AM
lxde or xfce are what im thinking of
5:23 AM
a full commitment's what i'm thinking of
5:24 AM
lxde
5:24 AM
random image from google
Avatar
xfce looks better as it has more features, what do you think?
Avatar
lxde is old
5:35 AM
you should take xfce if you really want to do it
5:35 AM
xfce it is
5:35 AM
going to install some things like sudo and lynx to make it easier
5:36 AM
make a user, etc
5:36 AM
can i still do it from a chroot? i dont like consoles to be honest (edited)
Avatar
you can ssh to lfs
Avatar
no chroot?
Avatar
or you can drop in the busybox binary
5:37 AM
and do busybox telnetd -F in the console, you'll have a telnet server on LFS' IP
Avatar
but why cant i do it from a chroot environment? or can i?
5:38 AM
i dont have any other device to ssh with
Avatar
you can
5:39 AM
but it's better to do it natively
5:39 AM
you can install putty on windows (edited)
5:39 AM
vnc?
Avatar
huh?
Avatar
wait nvm haha
6:03 AM
😄
6:04 AM
🚀 2
6:05 AM
I actually did it wow
Avatar
Congrats
Avatar
Thanks :D
Avatar
But you have some work to do with network interfaces
6:06 AM
Yep
6:06 AM
Enp5s0
6:07 AM
Looks like only lo
6:07 AM
Weird
Avatar
Avatar
tux-linux
But you have some work to do with network interfaces
Any ideas? I have no idea how to do this
Avatar
Look at the init scripts in etc init.d?...
6:09 AM
Idk
6:09 AM
6:09 AM
For the record
6:10 AM
Booting into arch
6:12 AM
back on arch
6:13 AM
xfce doesnt seem to have many dependencies
Avatar
seem
Avatar
Did you look at the deps of the deps?
Avatar
my friend just said this (edited)
6:19 AM
bahahaha
Avatar
Avatar
dill
my friend just said this (edited)
He must be banned
6:23 AM
Lol
6:23 AM
haha
Avatar
i think i'll reinstall arch now
Avatar
Avatar
tux-linux
But you have some work to do with network interfaces
kernel probably
12:07 AM
i'm going to look at the kernel config and fix it (and recompile it)
12:07 AM
before arch reinstall
12:07 AM
because i had to go for a bit
Avatar
my brain hurts
1:34 AM
search "Dill"
Avatar
yeah I didn't register there
1:35 AM
but cool
1:36 AM
yeah ok I just registered
1:39 AM
nicolas mailloux?
1:40 AM
ah
1:40 AM
your id is my id + 1 haha
👍 1
Avatar
anyways, installing sudo/wget/lynx/openssh etc to make blfs easier
2:49 AM
how do i know the contents of /dev/input/mice
2:50 AM
nvm i need to find out what protocol my mouse uses
Avatar
evtest
👍 1
Avatar
i need xorg for xfce, right
Avatar
yes
👍 1
Avatar
finished reinstall
7:05 PM
doing config
Avatar
done arch setup
12:23 AM
signed into discord, reddit, google, spotify, etc etc etc
👍 1
12:24 AM
about to chroot into elektrux so that I can do some BLFS
Avatar
btw, alias rr='curl -s -L https://raw.githubusercontent.com/keroserene/rickrollrc/master/roll.sh | bash' will solve all your problems
12:37 AM
i know its a rickroll but its funny
Avatar
did you see the new installer for arch?
5:42 AM
it's going to be the new ubuntu
5:42 AM
haha
Avatar
Avatar
dill
did you see the new installer for arch?
?
Avatar
apparently, they added an installer to the media
5:58 AM
it's on https://archlinux.org as well (edited)
Avatar
nice
Avatar
yes, i might give it a try
6:02 AM
AAAAH my laptop just rebooted; then it gave me a "hardware error: cpu 0" and "cpu 1" and "tsc 1" from mce
6:02 AM
when i booted arch
6:02 AM
then it worked
Avatar
doesn't ring a bell to me
Avatar
and my cpu seems to be hot
6:03 AM
ok it stopped
Avatar
... I just found out there's a game called "SuperTuxKart"
6:30 AM
:/
Avatar
oh nice!
Avatar
i don't know if i want to do xfce
5:50 PM
i'm just not feeling it
5:50 PM
if you know what i mean
Avatar
Yep
7:52 PM
sudo rm -rf /bin/rm
7:52 PM
hahaha
Avatar
you can say it's kubuntu - someone in r/linuxmasterrace
8:57 PM
Avatar
"someone" is not right
8:57 PM
probably some xfce/openbox variant
8:58 PM
true
Avatar
Avatar
tux-linux
"someone" is not right
no because kfc + ubuntu
Avatar
oh
Avatar
2nd option
9:01 PM
only if you must
9:02 PM
i'd go with 3rd or 2nd; windows isnt that bad for work/school
Avatar
yep, only for work/school
Avatar
btw, how do i customize GRUB (like, move the menu, mouse input, etc)
9:07 PM
I heard that it can be done
Avatar
I don't know
9:07 PM
I don't use grub for much except... well, booting my OS
9:08 PM
... and why would you do that?
Avatar
well, idk
Avatar
You can edit /boot/grub/grub.cfg
1:31 PM
Or use a gui, like grub-customizer
1:31 PM
You always want to have a backup, though
Avatar
thanks!
Avatar
v1.3 is due out tonight!
Avatar
(with nickel package)
Avatar
double yay!
👍 1
Avatar
OK, spent 4 hours working on this shell script At least it's done now.
Avatar
oh, nice
👍 1
Avatar
there you go
Avatar
doing it
5:06 AM
feedback tomorrow morning
5:06 AM
good night
👍 1
Avatar
OK, v1,3 is good; I'm seeing frequent screen freezes and needed to force restart many times; this happened when I enabled dark mode in the OOBE, when i flipped pages a few times in an ePub, etc. etc. etc.
Avatar
Hmm ok I'll look into that
Avatar
There's also a few bugs with page turning; the "previous next and options" bar disappeared after flipping the page a few times; that's also when I had to force restart
3:40 PM
Not to mention that when I clicked the cancel button on the file manager, it froze and opened up an empty book (???)
3:40 PM
Then I pressed home from the options and it froze again
Avatar
Avatar
dill
There's also a few bugs with page turning; the "previous next and options" bar disappeared after flipping the page a few times; that's also when I had to force restart
My Libra doesn't do that that often Probably some h/w issue
Avatar
Avatar
dill
There's also a few bugs with page turning; the "previous next and options" bar disappeared after flipping the page a few times; that's also when I had to force restart
Page turning buttons disappeared That's because the split file was too long
Avatar
Avatar
dill
OK, v1,3 is good; I'm seeing frequent screen freezes and needed to force restart many times; this happened when I enabled dark mode in the OOBE, when i flipped pages a few times in an ePub, etc. etc. etc.
Dark mode is not very stable Much of an experimental feature Try without (edited)
Avatar
Avatar
dill
Then I pressed home from the options and it froze again
Every time?
Avatar
Avatar
tux-linux
Every time?
no
Avatar
Avatar
tux-linux
Dark mode is not very stable Much of an experimental feature Try without (edited)
ok
Avatar
Avatar
tux-linux
Page turning buttons disappeared That's because the split file was too long
ok got it; should i try with a smaller file?
Avatar
Avatar
dill
ok got it; should i try with a smaller file?
no, a file with less line breaks
👍 1
Avatar
also i tried going to github.com but spelled it guthib.com hahahahaha
Avatar
oh wow nice
3:57 AM
try this
587.23 KB
👍 1
Avatar
it works!
4:33 AM
i recommend removing the words number per page
4:34 AM
it can break the reader
4:34 AM
also power button/keyboard are something to work on
4:34 AM
other than that, looks great!
Avatar
it's because not all devices have the same screen size ;p
4:34 AM
power button is done on inkbox os
4:34 AM
puts it in sleep mode
Avatar
ah yes, the screen size dilemma
4:35 AM
yeah, for the adds package
Avatar
complete rewrite required
Avatar
ah i see
Avatar
but i'll see
👍 1
4:35 AM
keyboard is ... coming ... also ... a web browser ... maybe ...
Avatar
Avatar
tux-linux
keyboard is ... coming ... also ... a web browser ... maybe ...
woah! a browser!!
4:36 AM
maybe i understand that would be really hard
Avatar
but once you have your Mini, flash inkbox os on it and update to v1.3 you'll not be disappointed
👍 1
Avatar
Avatar
dill
maybe i understand that would be really hard
well, I want to do something with Xorg and VNC
4:36 AM
I hunt for Qt VNC clients
Avatar
oh that's smart
Avatar
that I could embed in a window
4:36 AM
then run chromium
4:36 AM
and there you go
Avatar
but all of my attempts have failed for now :/
Avatar
Avatar
tux-linux
but once you have your Mini, flash inkbox os on it and update to v1.3 you'll not be disappointed
Especially with the reset/diags/initrd/security policy thing
4:38 AM
but for the browser then again i'd have to figure out how to compile a working dhd.ko for the device ifconfig always throw operation not permitted error when trying to bring eth0 up
Avatar
right, i just asked my mom and she said that it would cost $18 and be slow i said i didnt mind, because... i don't really ;p
Avatar
nice!
Avatar
yeah
4:39 AM
well default is locked-down kernel
Avatar
oh that's weird
4:39 AM
oh ok
Avatar
to enable root you'll have to factory reset as root
4:39 AM
then update
Avatar
dhd.ko... couldn't you compile it for armv7l on your Pi?
Avatar
no, that's not the problem
Avatar
oh, rooting built in
Avatar
I compiled it
4:40 AM
but it doesn't work
4:40 AM
like, never
4:40 AM
tried that
4:40 AM
of course, didn't work
4:40 AM
but same problem
Avatar
also another bug: when i hit cancel on the file manager, it takes me to my recently read book
4:41 AM
if i havent read any, it takes me to a blank reader with the page turn/options things
Avatar
thats not a bug but a feature
4:41 AM
just kidding
4:41 AM
it was so "there" that I'd forgotten it
4:42 AM
like I just thought it should've been the normal behavior
Avatar
Avatar
dill
if i havent read any, it takes me to a blank reader with the page turn/options things
ok nice, but this is a bug ;p
Avatar
Yep
4:43 AM
But no
4:43 AM
I didn't code anything that caught the cancel button
4:43 AM
Yet
Avatar
gnome update
3:38 PM
nice
Avatar
Gnome 40?
Avatar
on arch, favourites bar is now at bottom
Avatar
Oh
1:17 AM
There it goes
1:17 AM
Turns out ... the problem was the kernel cmdline hahaha
3:55 AM
and now... in latest news... tap-to-click and natural scrolling is removed
3:55 AM
from GNOME!!!
Avatar
i think its synaptics
Avatar
bahaha
Avatar
yep yep yep
4:23 AM
synaptics
5:14 PM
i need opengl but idk where to get the driver
5:14 PM
do you know?
5:15 PM
GPU: Intel Mobile 4 Series Chipset
Avatar
what distro?
5:35 PM
maybe xf86-video-intel?
5:37 PM
thats my only distro now remember (edited)
Avatar
Avatar
tux-linux
maybe xf86-video-intel?
lets see
5:38 PM
nope
5:38 PM
i need opengl at least 1.4
Avatar
maybe the gpu isn't compatible with it
Avatar
Avatar
tux-linux
maybe the gpu isn't compatible with it
yeah that doesnt have opengl HAHAHAHAH
8:57 PM
understandable, it's 11 yrs old
Avatar
ofc
Avatar
ye but the first version of opengl came out in 1992 or something 🤔
Avatar
wow, picture of downtown edmonton
9:13 PM
2 hrs ago
Avatar
nice
9:19 PM
it's beautiful where you live
Avatar
yeah, how is it at laval? (edited)
Avatar
ugly
9:27 PM
;p
Avatar
haha, only looks good for a couple months here... ;p
Avatar
well, sometimes we have great landscapes
9:28 PM
but Montreal is better
Avatar
it's cloudy a lot here
Avatar
Avatar
dill
haha, only looks good for a couple months here... ;p
same here, but it's beautiful in winter too
Avatar
yeah, i've been to montreal
Avatar
today it's 23C outside
Avatar
it's close, isn't it?
9:28 PM
let me see...
9:29 PM
8C here
Avatar
Avatar
dill
it's close, isn't it?
yep, the next door
Avatar
Avatar
dill
8C here
i feel like i would burn up at 23C haha
Avatar
it's cool down there in my room, about 19C
Avatar
oh, your room is downstairs? i've wanted a downstairs room for a looooong time ;p
9:31 PM
mostly bc i share a room
Avatar
yep, containing mostly old cameras and lots of ereaders not to mention a lot of electronics/computer/etc
Avatar
nice, the only tech thing i have in my room is a pc thats slower than this laptop (because... windows)
9:32 PM
i might install ubuntu on it with dual boot
Avatar
even ubuntu will be a breeze
9:32 PM
it's bloated, but way less than win
Avatar
ah it is?
9:32 PM
didnt notice
9:33 PM
what is the least bloated? arch?
Avatar
well... when you combine gnome, snaps, thousands of software into one iso
9:33 PM
it becomes bloated
9:33 PM
no, LFS
Avatar
ah, true
9:33 PM
yeahhhh... not doing that again ;p
Avatar
but Arch is good too
9:33 PM
snaps as in snapd?
Avatar
yes
Avatar
ah, the only snap i have is spotify
9:34 PM
and about that... is there a reason that media is so slow/laggy on arch? it keeps getting chopped up when i watch a video or listen to music or anything online (edited)
Avatar
are you on firefox?
Avatar
chromium
9:35 PM
but also on discord, watching vids
Avatar
well, hardware
Avatar
but if it is faster on ubuntu
9:35 PM
i don't know
9:35 PM
also, how can i make an archiso?
9:36 PM
I'm due to make one too
9:36 PM
basically, it's a complicated spider web of shared X displays, chroots, cleaning, cleaning and cleaning again
Avatar
ok, going to take my bike and go outside take a few pics should come back in about 1h-1h30 goodbye
Avatar
ok, bye!
👍 1
9:38 PM
have fun :D
👍 1
Avatar
Avatar
dill
and about that... is there a reason that media is so slow/laggy on arch? it keeps getting chopped up when i watch a video or listen to music or anything online (edited)
What's the CPU usage of pulseaudio? Is there anything requesting low latency from it?
Avatar
well uhh it's snowing
Avatar
Avatar
pgaskin
What's the CPU usage of pulseaudio? Is there anything requesting low latency from it?
with wifi, it's faster, so an ethernet issue afaik
Avatar
Avatar
dill
well uhh it's snowing
:/
Avatar
Avatar
dill
well uhh it's snowing
nice! I like snow
1:32 AM
and yes, I was almost burning outside earlier this afternoon, so ...
Avatar
Avatar
tux-linux
nice! I like snow
me too! ...when it doesn't melt right when it hits the ground, that is
Avatar
yeah
4:12 AM
yikes, lot of snow
4:12 AM
:D
4:13 AM
And just think, it looked like that in the morning
Avatar
Avatar
dill
wow, picture of downtown edmonton
.
Avatar
ok, so i'm working on blfs
6:35 PM
i've been motivated
Avatar
@tux-linux
6:58 PM
sorry for ping
6:58 PM
but
6:58 PM
configure: error: Package requirements (xproto) were not met: No package 'xproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XAU_CFLAGS and XAU_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. (lfs chroot) root:/sources/libXau-1.0.9#
6:59 PM
and i installed xorgproto...
Avatar
headache
7:50 PM
installed xorgproto AND xproto but no luck
7:52 PM
i am dying[root@archlinux libXau-1.0.9]# ls /usr/X11/share/pkgconfig applewmproto.pc dri3proto.pc kbproto.pc resourceproto.pc xextproto.pc xineramaproto.pc bigreqsproto.pc evieproto.pc lg3dproto.pc scrnsaverproto.pc xf86bigfontproto.pc xorg-macros.pc compositeproto.pc fixesproto.pc presentproto.pc trapproto.pc xf86dgaproto.pc xproto.pc damageproto.pc fontcacheproto.pc printproto.pc videoproto.pc xf86driproto.pc xproxymngproto.pc dmxproto.pc fontsproto.pc randrproto.pc windowswmproto.pc xf86miscproto.pc dpmsproto.pc glproto.pc recordproto.pc xcalibrateproto.pc xf86rushproto.pc dri2proto.pc inputproto.pc renderproto.pc xcmiscproto.pc xf86vidmodeproto.pc [root@archlinux libXau-1.0.9]#
Avatar
xorgproto-dev maybe?
8:08 PM
or something like that
Avatar
k, lets see
8:09 PM
where can i find it?
Avatar
in pacman
8:10 PM
no?
8:10 PM
chroot
Avatar
Avatar
tux-linux
in pacman
looks like a regular shell but its a chroot
8:11 PM
i changed the PS1
8:12 PM
wait no
Avatar
whatever
Avatar
oh, fsck... was i supposed to do system v edition?
8:13 PM
i think i was
8:13 PM
aaaa
Avatar
hmm. yes
8:13 PM
lets see
Avatar
but you did the system v edition
8:14 PM
i did the regular one
Avatar
yeah, it is the regular one
Avatar
but, why are system v and regular separate?
Avatar
Beyond Linux® From Scratch (System V Edition) - Version 10.1 Chapter 24. X Window System Environment
Avatar
Avatar
dill
but, why are system v and regular separate?
that freaked me out, and why is it 2020.1 in the regular one?
8:15 PM
and 2021.3 or something
Avatar
no the 2021.3 is probably dev or something
8:20 PM
i can't copy paste in konsole for some reason
8:20 PM
oh well
8:20 PM
configure: WARNING: unrecognized options: --disable-static
8:20 PM
is this urgent
Avatar
well maybe not
8:23 PM
nope (edited)
8:23 PM
gonna go "do something"
Avatar
Avatar
dill
nope (edited)
same problem: configure: error: Package requirements (xproto) were not met: No package 'xproto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XAU_CFLAGS and XAU_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
8:24 PM
what is XORG_PREFIX?
Avatar
[root@archlinux libXau-1.0.9]# echo $XORG_PREFIX /usr/X11 [root@archlinux libXau-1.0.9]#
Avatar
find / | grep xproto.pc
Avatar
[root@archlinux libXau-1.0.9]# find / | grep xproto.pc /usr/local/lib/pkgconfig/xproto.pc /usr/X11/share/pkgconfig/dmxproto.pc /usr/X11/share/pkgconfig/xproto.pc [root@archlinux libXau-1.0.9]#
Avatar
then maybe export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11/share/pkgconfig:/usr/local/lib/pkgconfig
Avatar
wow, it worked 😄
8:49 PM
thanks!!
👍 1
Avatar
configure: error: Package requirements (xcb-proto >= 1.14) were not met: No package 'xcb-proto' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XCBPROTO_CFLAGS and XCBPROTO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. getting an actual headache
Avatar
did you get out of the chroot ?
Avatar
no, why would i
Avatar
I don't really know then
9:19 PM
wrong path
9:19 PM
got it with a find and grep
9:20 PM
all good now
👍 1
9:22 PM
now we're starting to see the deps of the deps ;p
Avatar
don't build Qt
9:22 PM
that's my advice
Avatar
no, for xorg libs
9:23 PM
but yeah, I won't build Qt
9:23 PM
or gtk?
Avatar
or you'll seriously start to think about destroying your computer with a hammer
Avatar
Avatar
dill
or gtk?
neither
Avatar
Avatar
tux-linux
or you'll seriously start to think about destroying your computer with a hammer
heh
9:24 PM
oh yeah... you know what's fun?
Avatar
Avatar
tux-linux
or you'll seriously start to think about destroying your computer with a hammer
(maybe yourself too)
Avatar
Avatar
tux-linux
(maybe yourself too)
yikes
Avatar
Avatar
dill
ls /*
:/ oh wow
Avatar
ls -R /*
Avatar
ls -R /*/*/*/*/*
Avatar
what does it do?
Avatar
remove the -R (edited)
9:26 PM
and only 3 *'s
9:26 PM
oh well
9:26 PM
yikes
9:33 PM
i feel like, when i know more about linux, i might make gnome/kde/whatever in lfs maybe
Avatar
--2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/xtrans-1.4.0.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’ --2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/libX11-1.7.0.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’ --2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/libXext-1.3.4.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’ --2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/libFS-1.0.8.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’ --2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/libICE-1.0.10.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’ --2021-04-11 13:43:43-- https://www.x.org/pub/individual/lib/libSM-1.2.3.tar.bz2 Resolving www.x.org... failed: Temporary failure in name resolution. wget: unable to resolve host address ‘www.x.org’
9:44 PM
etc, etc, etc
9:44 PM
:/
Avatar
try re-copying your resolv.conf
9:46 PM
cp /etc/resolv.conf /mnt/etc/resolv.conf?
9:46 PM
from outside the chroot?
Avatar
yes
Avatar
yes
Avatar
Resolving libxxf86vm-1.1.4.tar.bz2... failed: Name or service not known. wget: unable to resolve host address ‘libxxf86vm-1.1.4.tar.bz2’ --2021-04-11 13:48:57-- http://libdmx-1.1.4.tar.bz2/ Resolving libdmx-1.1.4.tar.bz2... failed: Name or service not known. wget: unable to resolve host address ‘libdmx-1.1.4.tar.bz2’ --2021-04-11 13:48:57-- http://libpciaccess-0.16.tar.bz2/ Resolving libpciaccess-0.16.tar.bz2... failed: Name or service not known. wget: unable to resolve host address ‘libpciaccess-0.16.tar.bz2’ --2021-04-11 13:48:57-- http://libxkbfile-1.1.0.tar.bz2/ Resolving libxkbfile-1.1.0.tar.bz2... failed: Name or service not known. wget: unable to resolve host address ‘libxkbfile-1.1.0.tar.bz2’ --2021-04-11 13:48:57-- http://libxshmfence-1.3.tar.bz2/ Resolving libxshmfence-1.3.tar.bz2... failed: Name or service not known. wget: unable to resolve host address ‘libxshmfence-1.3.tar.bz2’ [root@archlinux lib]# i think i should run this on arch and shift it to lfs
9:52 PM
that was clean, did it and shifted with mv
10:14 PM
and i'll admit that i've been redditing instead of working ;p
👍 1
12:20 AM
my friend searched this up
12:21 AM
but he meant to say "dam", because he wanted to know what type of structure a dam is
Avatar
i messed my profile pic
12:52 AM
haha
Avatar
hang on let me change it back
12:56 AM
it's me again
12:56 AM
i have to go 😦
12:56 AM
bye
tim joined the server. 4/12/2021 1:04 AM
Avatar
Hi @tim !
Avatar
Hello tux-linux, I joined as I am experimenting with your InkBox images for Kobo Mini 🙂
1:33 AM
I saw the reference to this server in mobileread's server, which I found through KoBox's site
Avatar
Oh nice!
1:33 AM
You're my third tester!
1:34 AM
So, did you flash it to a microSD? How do you find it?
Avatar
I just wrote 1.0 to a spare 64gb microSD, currently fiddling with the upgrade process to try and get it up to 1.3
Avatar
Shouldn't be that hard, just extract the archive's content in the .inkbox folder
Avatar
I was initially going to use a secondhand older hanvon device and try to write the ancient openinkpot to it but that sort of fizzled out, thankfully this project came on to my radar 🙂
Avatar
Avatar
tim
I was initially going to use a secondhand older hanvon device and try to write the ancient openinkpot to it but that sort of fizzled out, thankfully this project came on to my radar 🙂
Yeah, OpenInkpot is nice, quite outdated unfortunately
1:36 AM
I wanted to have full control over my device, so I decided to make my own OS for it
Avatar
Avatar
tim
I just wrote 1.0 to a spare 64gb microSD, currently fiddling with the upgrade process to try and get it up to 1.3
Well, 64GB won't be of much utility for now, because the onboard storage is limited to 1GB. That's something I have to improve though
Avatar
Did you get the update installed?
Avatar
Yes, was just writing up impressions
Avatar
Oh ok, nice (edited)
Avatar
The update process is clean and I have encountered no issues going from 1.0 > 1.3. I was impressed in the initial videos that were posted to /r/linux, but still very cool to see a not-hacked-together user experience for updating. PDF and picture viewing for non-purely-text works would be nice (and I imagine is already a future goal like larger storage support). Either that or having koreader/other premade viewers as an application one can start within the launcher. Overall, really impressed and look forward to following however this project goes. I do not write code for a living (limited bash/powershell/etc. to automate tasks I would perform repeatedly), so I do not know whether I will be able to contribute much on that front, but if I can help in testing do let me know. (edited)
👍 2
2:18 AM
I get overly wordy so sometimes it is better for me to post one longer message with less duplicated text lol
Avatar
Oh it's ok!
2:19 AM
The update process was quite... complicated to make, and starting at v1.4 updates will be signed with private keys that will disallow custom updates install unless the kernel is recompiled
2:19 AM
But I'm glad that it's working well now
2:19 AM
Thanks for the review!
Avatar
Can one specify the pubkey it is checking against in case custom builds are required, or some buildtime option?
Avatar
It's mounted by an initramfs
2:21 AM
*initrd
2:21 AM
The file is in a squashfs archive, so pretty hard to touch
2:21 AM
but yes, it is possible to change it
Avatar
still good to prevent users from trying to flash a partial archive and bricking though lol
Avatar
Yep
2:22 AM
Did you try diagnostics mode?
Avatar
No, though I do recall something about it from the youtube video I viewed a week or so ago
Avatar
just reboot, and slide the power button a few times when the green light starts blinking
2:24 AM
there you go @dill
👍 1
Avatar
I see now what you mean about diagnostics mode, I cannot compare it to earlier revisions (in case something changed in it between 1.0 and 1.3) but it is useful to have a limited recovery environment
Avatar
Well, yes, you now have a soft-reset option
2:32 AM
But over all it's not changed that much
2:33 AM
If you want shell access, you can "Reset and allow root access", then enable USBNet
Avatar
Ah, understood
4:38 AM
My touchpad isn't working again
Avatar
do i need to reinstall arch? 👀 @tux-linux
Avatar
Reboot ?
4:57 AM
like 10 times
Avatar
Syu? (edited)
Avatar
done, that's what caused it
Avatar
maybe a libinput update
Avatar
did that 4 times
5:15 AM
resorting to a linux firmware and headers reinstall
2:54 PM
nothing works
2:54 PM
absolutely nothing
Avatar
reinstalling AL
3:07 PM
see ya
Avatar
aaaaaaaaaaah
3:51 PM
it didnt fix it what the ffff
3:52 PM
distro-hopping to fedora i guess
Avatar
Discord client powered by Node.JS and Qt Widgets. Contribute to ruslang02/discord-qt development by creating an account on GitHub.
11:36 PM
interesting, interesting ...
11:37 PM
actually, it's awesome that someone actually bothered to do this in Qt
12:11 AM
also, sad sad sad... it seems that liveusbs can't detect my touchpad either.
Avatar
then it is probably dead
3:05 AM
at least I have a mouse
3:05 AM
also is there a command-line discord? hahahah
Avatar
yep but your account could be banned
3:06 AM
because it doesn't respect the terms of service, etc.
3:07 AM
"cordless"
Avatar
yep
Avatar
ah, saw the readme
Avatar
Well. KoBox runs well on Mini and Touch now
3:46 AM
So I'm gonna ditch the old Qt-based reader framework and integrate an epub reader with chromium in full screen in InkBox that will work like thousands times better
3:46 AM
The rest of the Qt ui will still be there, of course
3:55 AM
on the Touch
Avatar
It certainly offloads a large amount of work, found an appropriately licensed/resource-light/etc plugin yet? (edited)
Avatar
I'll look into that, but I've seen thousands of them on GitHub
3:58 AM
I still yet have to do the bridging between Qt and node/java/etc
4:01 AM
what
4:01 AM
is this going to work, really?
Avatar
not that it's going to be the best user experience but if you've got chromium working on it probably lol
Avatar
it's ... 256mb of RAM
4:02 AM
oh the thing disappeared
Avatar
so maybe it's going to load
4:02 AM
I've got it running on a Kindle with 512MB of RAM though
Avatar
I have inexplicable issues actually logging in on epiphany-browser when I use it on my pinephone, there goes the convergence dream lol
Avatar
Oof, epiphany's not fantastic
4:03 AM
Install Falkon instead
4:03 AM
OOOOOOOHHHHHH
4:03 AM
4:04 AM
this is running on crappy hardware, 800mhz CPU, 256MB ram, and cherry on top, on an eReader! (edited)
4:06 AM
looooooool my VNC got shut down
4:06 AM
but it loaded!
4:06 AM
sh!t
4:06 AM
wait, I'll restart Chromium and try if I can get it working again
4:07 AM
Though, look at this
Avatar
Avatar
tux-linux
Well. KoBox runs well on Mini and Touch now
yaaaay
Avatar
Avatar
tux-linux
Though, look at this
WOAH!
Avatar
Ok, after seeing the extreme slowness of Chromium when using it side-by-side with Qt, I think I'm going to give a try to NetSurf, it should be able to display that ePUB renderer For real web browser, I'll include Chromium but Qt will have to be stopped before
Avatar
It seems we'll have a terminal emulator in InkBox ...
Avatar
nice to have one 🙂
👍 1
Avatar
Does someone know why this is failing? I'm trying to write a "driver" for the Kobo touchscreen in C and libevdev can't open the input device because of invalid argument...
11:40 PM
938 bytes
11:41 PM
and here's the stack trace
Avatar
ok, got it open, finally. Used some example but I don't even know why it is working
1:08 AM
// Opening input device fd = open("/dev/input/event6", O_RDONLY | O_NONBLOCK); if (fd < 0) { perror("Failed to open device"); return rc; } rc = libevdev_new_from_fd(fd, &dev); if (rc < 0) { fprintf(stderr, "Failed to init libevdev (%s)\n", strerror(-rc)); return rc; }
Avatar
sorry for not being on.
5:20 AM
i won't be as active as before for a month or so
Avatar
It's ok don't worry!
👍 1
Avatar
what kobo would you recommend for both *box projects?
12:10 AM
touch or mini
12:10 AM
or any other, if they're even supported
Avatar
@tux-linux found a touch for $50 nearby; will contact
12:56 AM
is it a good deal?
Avatar
@tux-linux @tux-linux @tux-linux YEEEEEEEE (edited)
3:23 AM
I GOT A MINI
3:23 AM
i have it right now
3:23 AM
:D :D
Avatar
I read too many visual stuff like manga to truly appreciate it given the tiny screen, but it is pretty great for purely textual stuff
3:29 AM
unfortunately no ebooks for the stuff I tend to buy, unless it's DRM-encumbered or only on the kindle stuff lol
Avatar
I don't read many graphic novels/comics but yeah, the contrast is legendary
Avatar
Avatar
tim
unfortunately no ebooks for the stuff I tend to buy, unless it's DRM-encumbered or only on the kindle stuff lol
i don't buy ebooks because i'm a kid, but overdrive is beyond helpful
3:31 AM
it's why I got a Kobo rather than a Kindle
Avatar
I should consider this, I think I still have library card but I got it when I was much younger so I have no idea where it is
3:31 AM
I had heard of digital lending through local places, but never investigated fully
Avatar
where are you? (if you don't mind me asking, of course)
Avatar
east coast of US
Avatar
ah, I'm in Alberta (Canada)
3:33 AM
i tend to read books only once or twice, and then forget about them, so overdrive is ideal
Avatar
I tend to only buy ones I am sure I'll use again like the field I work in or historical nonfiction, it's been a while since I read a novel
Avatar
I only read novels ;p
Avatar
makes me wish there was easy OCR or non-destructive ways to scan what I have
Avatar
Avatar
dill
I GOT A MINI
inkbox is waiting for you ;p
Avatar
Avatar
tux-linux
inkbox is waiting for you ;p
downloading ;p
Avatar
Avatar
dill
@tux-linux found a touch for $50 nearby; will contact
$50 ? A bit much
3:47 AM
I paid mine for $20
Avatar
that's why my mom surprised me and bought me another mini today lol
Avatar
Nice!
Avatar
I see the mini going for 30-50 regularly
👍 1
3:49 AM
and by regularly I mean the 2-week span between seeing inkbox and purchasing it on a whim lol
3:49 AM
you might want to check out the OS image downloads as well
Avatar
Avatar
dill
you might want to check out the OS image downloads as well
I think he did
Avatar
i'm gonna check on ddns
Avatar
gitea?
Avatar
where do i find the downloads lol
3:51 AM
then you'll want to update to v1.3
3:52 AM
thanks
3:52 AM
ok
Avatar
one of the screws won't unscrew but that's fine, i can insert/take out SD fine
3:56 AM
so can I just dd the xz?
Avatar
xzcat img.xz | dd of=/dev/mmcblk0 status=progress
Avatar
bs, conv, etc?
Avatar
out of paranoia I still &&sync lol
Avatar
of course
Avatar
I put a sudo in front of dd right
Avatar
yes
3:59 AM
you pipe the output of xzcat to dd
Avatar
yep, got that
Avatar
and it's working
4:34 AM
about to update
4:36 AM
nvm i have to go eat, i've been fasting all day
4:36 AM
bye
Avatar
so i went into the diags (great work btw) and went to diagnostics to see kernel version
5:05 AM
it mentioned nicolas@debian, is that normal
5:06 AM
resetting with root access
Avatar
Avatar
dill
it mentioned nicolas@debian, is that normal
Yes
5:28 AM
It's my 32 bit build QEMU VM
Avatar
ah, i see
5:40 AM
overall, i like it! a lot! here are some recommendations/goals: timezone stuff in settings root access option in OOBE configuration file formats (though it may be insanely tough) "the bug" in which the page turning menu disappears automatic screen size thing idk KoBox integration (I know you are working on this right now :) )
👍 1
Avatar
Avatar
dill
overall, i like it! a lot! here are some recommendations/goals: timezone stuff in settings root access option in OOBE configuration file formats (though it may be insanely tough) "the bug" in which the page turning menu disappears automatic screen size thing idk KoBox integration (I know you are working on this right now :) )
OOBE root access will never make it though. I want InkBox to be as secure as possible, so that's why rooting is only possible with a factory reset.
Avatar
Well, my VNC trick worked! And now touch input is perfect for X
Avatar
(I couldn't get my old methods working with touch input, so I had to find a new way to do it, and so VNC input via Qt it is!)
Avatar
When you mount too much filesystems for InkBox ...
10:32 PM
Avatar
Avatar
tux-linux
When you mount too much filesystems for InkBox ...
YIKES!
1:03 AM
when's the xorg update? (no pressure, just asking)
Avatar
1.4 ? Probably not until next week
👍 1
1:05 AM
I'm migrating everything squashfs to squashfuse because it supports xz compression and I'll be using overlayfs to mount read-only filesystems read-write, so less disk wear and etc.
Avatar
Avatar
dill
YIKES!
There is more to come ;p
1:06 AM
even df -h looks like that at the moment Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p3 2.9G 1.9G 912M 68% / /dev/mmcblk0p1 29M 3.4M 24M 13% /boot /dev/loop7 1.0M 1.0M 0 100% /opt/root /dev/loop6 1.0M 1.0M 0 100% /opt/key devtmpfs 10M 0 10M 0% /dev tmpfs 125M 8.0K 125M 1% /tmp /dev/loop5 1008M 894M 64M 94% /xorg tmpfs 125M 4.0K 125M 1% /xorg/tmp tmpfs 125M 0 125M 0% /xorg/run tmpfs 125M 0 125M 0% /xorg/dev/shm tmpfs 25M 108K 25M 1% /run shm 125M 0 125M 0% /dev/shm /dev/loop0 253M 5.0K 253M 1% /kobo/mnt/onboard/onboard /dev/loop1 75M 75M 0 100% /opt/isa /dev/loop2 11M 11M 0 100% /kobo/mnt/onboard/.adds/inkbox /dev/loop3 35M 35M 0 100% /kobo/mnt/onboard/.adds/qt-linux-5.15.2-kobo /dev/loop4 31M 31M 0 100% /kobo/mnt/onboard/.adds/Python-3.9.2 tmpfs 125M 4.0K 125M 1% /kobo/tmp tmpfs 125M 0 125M 0% /kobo/run /dev/loop8 1.0M 1.0M 0 100% /mnt squashfuse 1.0M 1.0M 0 100% /tmp/merged squashfuse 10M 10M 0 100% /tmp/testdir
1:42 AM
that
1:42 AM
is a lot
Avatar
Yep
1:42 AM
Did you try USBNet with it yet? (edited)
Avatar
ah, for the initrd?
1:42 AM
Just USBNet
1:42 AM
why?
Avatar
Well, if you want to look around
1:43 AM
idk
Avatar
yeah i will :)
1:43 AM
i meant, what does it do?
Avatar
you can set the flag in Diags
Avatar
Avatar
dill
i meant, what does it do?
SSH
Avatar
i.e. what programs use USBNet?
Avatar
nothing
1:44 AM
but you can play around and mess with the OS
Avatar
not even Light Maps?
Avatar
Yes, but you have to set up a bridge
Avatar
And that is not a trivial thing
1:44 AM
I mean, 50/50 chance that it fails or it works
1:44 AM
But you can SSH without a bridge
1:45 AM
Avatar
yep
1:46 AM
and
1:46 AM
Avatar
apt moo
Avatar
yes
Avatar
and also, do you know how to replace systemd with openrc on arch?
Avatar
artix
Avatar
it's a distro?
Avatar
yes
1:49 AM
Artix Linux, a systemd-free linux distribution.
👍 1
Avatar
and it's a copy of arch, but with pacman?
Avatar
read the description
1:50 AM
what's the package manager?
Avatar
"based on Arch Linux"
1:50 AM
this is useful btw
Avatar
sudo !!
Avatar
Well, there will actually be an update probably this evening or tomorrow; but that's only because I need to update some scripts before 1.4, otherwise, things will break ;p
2:06 AM
So probably 1.3.1 or something
2:08 AM
Hmm no. Just realized that it would break the update script too ... oops 1.4 then
2:08 AM
And so X will be v1.5
👍 1
Avatar
Avatar
tux-linux
sudo !!
oh useful
2:24 AM
ok no problem
Avatar
artix-plasma-openrc-20210101-x86_64.iso?
Avatar
that old?
Avatar
im just curious; i dont need artix ;p
3:00 AM
i guess
3:00 AM
its on the mirror and on the bottom it says artix 2017-2020
3:00 AM
so idk
Avatar
take the most recent one
Avatar
that's it
3:03 AM
there's, um, a huge group chat for people in my school district and i just, um, changed the name
3:03 AM
to... i use arch btw
3:03 AM
😏
Avatar
Avatar
dill
to... i use arch btw
Nice!
3:04 AM
hahahah
Avatar
you better change it back
3:04 AM
to avoid ... issues
Avatar
no, people change it all the time
3:04 AM
it's a student chat
Avatar
not a staff one ;p
3:04 AM
but still... 2k members
3:04 AM
lol
9:40 PM
Little preview of the KoBox subsystem!
👍 1
Avatar
ah, a textmode browser seems like it would be an efficient choice for sites you'd probably want to read on e-ink (edited)
Avatar
mobileread.mobi works very well on it
9:43 PM
(although there will be a real browser)
9:45 PM
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
Nice, but YouTube?
11:27 PM
Lynx, right
Avatar
it should work with chromium
Avatar
no, elinks
11:27 PM
Still pretty amazing
👍 1
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
Touch? (Asking about both touch input and if it's on your Touch)
12:10 AM
Good one
12:11 AM
Well, I didn't have the VNC client started (controlling it from my PC), but I tested it with the Mini yesterday and it worked. I need to clean up things now and ship a viable update package
12:11 AM
Interestingly enough, the most difficult step when you implement big features like this in an update, is making the update package itself ;p
Avatar
coming up!
12:24 AM
fuse-overlayfs permits to make a squashfs read-write
12:24 AM
so that's very cool, I can xz-compress X11's chroot into a 46MB mountable archive
👀 1
👍 1
Avatar
how do i exit vim is a very valid meme
Avatar
if you want more clarity Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p3 2.9G 514M 2.3G 19% / /dev/mmcblk0p1 29M 2.9M 25M 11% /boot /dev/loop7 1.0M 1.0M 0 100% /opt/root /dev/loop6 1.0M 1.0M 0 100% /opt/key devtmpfs 10M 0 10M 0% /dev tmpfs 125M 8.0K 125M 1% /tmp squashfuse 47M 47M 0 100% /opt/X11/fuse/read fuse-overlayfs 2.9G 514M 2.3G 19% /xorg tmpfs 125M 0 125M 0% /xorg/tmp tmpfs 125M 0 125M 0% /xorg/run tmpfs 125M 0 125M 0% /xorg/dev/shm tmpfs 25M 64K 25M 1% /run shm 125M 0 125M 0% /dev/shm /dev/loop0 253M 8.1M 244M 4% /kobo/mnt/onboard/onboard squashfuse 75M 75M 0 100% /opt/isa squashfuse 11M 11M 0 100% /kobo/mnt/onboard/.adds/inkbox squashfuse 35M 35M 0 100% /kobo/mnt/onboard/.adds/qt-linux-5.15.2-kobo squashfuse 31M 31M 0 100% /kobo/mnt/onboard/.adds/Python-3.9.2 tmpfs 125M 4.0K 125M 1% /kobo/tmp tmpfs 125M 0 125M 0% /kobo/run tmpfs 125M 4.0K 125M 1% /kobo/inkbox
12:26 AM
ohh
Avatar
what?
Avatar
was just confused for a bit
Avatar
sure, /proc/mounts is even worse ;p
12:26 AM
to give you an idea: /dev/loop0 /mnt/kobo/mnt/onboard/onboard vfat rw,nosuid,nodev,noexec,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
Avatar
oh btw how do i change the default text editor, it isnt in the plasma settings
Avatar
right click on a text file and choose open with
12:28 AM
then select "make as default"
Avatar
apparently it is, but when i opened up a txt from chromium, it opened vim
12:29 AM
and that's when i found out that i didnt know how to use vim or exit vim
Avatar
you can uninstall it if you don't use it at all then
👍 1
Avatar
done, thx
12:32 AM
what's ricing? from what i can understand it's making your DE look good
Avatar
probably
Avatar
this is ricing
12:34 AM
random image from the arch server
Avatar
It's perfectly understandable
4:58 AM
yeah true
5:32 AM
I was so confused with the overlayfs/unionfs/squashfuse mounts that I made a diagram to actually understand what I was doing haha
Avatar
hahahahhah
5:40 AM
i wish i had your handwriting
5:40 AM
mine is horrible
Avatar
Avatar
dill
i wish i had your handwriting
thanks
5:40 AM
i'm sure yours is not quite that bad though
Avatar
a-haha-haha... i'd upload a picture but no camera at the moment
5:41 AM
trust me though, it's really bad
Avatar
ok then...
5:41 AM
do you understand what the diagram does?
5:42 AM
there will be an extensions system for KoBox!
Avatar
one second while i read it
5:42 AM
good luck
Avatar
i dont get it, but thats because of my lack of linux knowledge ;p but i understand it has to do with extensions (woo!), chromium, and xorg, ssh, and all that 😅
Avatar
you're right
5:46 AM
basically, main rootfs is a squashfs, gets 'merged' with extensions' squashfs (which are kind of an incomplete root filesystem themselves) that are themselves merged to one big folder containing all the incomplete extensions rootfs. so extensions are merged with rootfs, both read-only at thiis point, and then fuse-overlayfs does the r/w job
5:46 AM
complicated, isn't it?
5:46 AM
I can get lost very easily ;p
Avatar
Avatar
tux-linux
I can get lost very easily ;p
i can imagine
Avatar
Avatar
tux-linux
basically, main rootfs is a squashfs, gets 'merged' with extensions' squashfs (which are kind of an incomplete root filesystem themselves) that are themselves merged to one big folder containing all the incomplete extensions rootfs. so extensions are merged with rootfs, both read-only at thiis point, and then fuse-overlayfs does the r/w job
oh now i get it lol
Avatar
thing is... df -h will probably have like 30 lines of output haha
5:47 AM
even worse, mount
Avatar
now that was the diagram ... I have to actually do it now
Avatar
good luck ;p
👍 1
6:23 AM
OK, made this. Now, let's see if it will work tomorrow...
Avatar
gl with that :D
6:24 AM
what terminal and how did you get transparency btw
Avatar
Guess I'm gonna have nightmare of endless mount tables
Avatar
Avatar
tux-linux
Guess I'm gonna have nightmare of endless mount tables
yep
Avatar
oh it's QTerminal in my Debian VM
Avatar
it's LXQt, so
6:25 AM
I needed a desktop, but lightweight
Avatar
ah, like lxde?
6:26 AM
just tried qterminal and it looks kind of ugly in plasma
Avatar
No!
6:26 AM
In Qt!
Avatar
Avatar
dill
just tried qterminal and it looks kind of ugly in plasma
probably that the theme isn't well adapted
6:26 AM
I guess you could change that easily
Avatar
Avatar
tux-linux
In Qt!
except that ofc
Avatar
you can also install guake, which drops down from the screen when you press F12
Avatar
if you are on xfce bind f12 to xfce4-terminal --dropdown or wtv
Avatar
doesnt work for me
6:28 AM
on plasma rn, but looking into xfce for linux from scratch
Avatar
Avatar
tim
if you are on xfce bind f12 to xfce4-terminal --dropdown or wtv
thx, useful
Avatar
Avatar
dill
doesnt work for me
Did you launch guake first?
6:33 AM
presses f12
6:33 AM
wow, cool!
Avatar
haha yep
Avatar
System doesn't support transparency
6:33 AM
oh well
6:34 AM
how do i change the init scripts to launch guake at boot?
6:35 AM
Google is your friend
6:36 AM
I've got to go sleep! Good night y'all!
Avatar
good night!
6:36 AM
i've gotta go sleep too, bye ;p
👍 1
Avatar
I'm finally a lot less busy now, so I'll have time to work on more Kobo stuff
7:40 AM
I'll probably start with some NickelMenu stuff
7:40 AM
Then, I'll finish the dictutil v3 update
7:41 AM
I'll also work on the Kobo emulation when I'm bored
Avatar
Avatar
pgaskin
I'll also work on the Kobo emulation when I'm bored
Nice !!!!
Avatar
good morning :D
5:02 PM
Great to hear that, pgaskin!
Avatar
Ok, so my crazy fuse/overlayfs/unionfs thing works
7:11 PM
And now I have 48 entries in my mount table lol
Avatar
Avatar
tux-linux
Ok, so my crazy fuse/overlayfs/unionfs thing works
great!
Avatar
Avatar
tux-linux
And now I have 48 entries in my mount table lol
hahaha
Avatar
Here's the launch script FWIW
2.09 KB
Avatar
rcS or what?
Avatar
wait no startx
Avatar
it's launched by the initrd which launches the rcS
7:21 PM
(well the rcS launches startx)
Avatar
Avatar
dill
wait no startx
no, it is not the same thing at all
Avatar
So basically, it scans the extensions folder and merges all those mini-root components into the main root, and then it makes it r/w
7:22 PM
how will you launch xorg from inkbox
Avatar
Some button
Avatar
applications > chromium?
Avatar
It will not be "Xorg"
7:23 PM
yes something like that
👍 1
7:23 PM
The user won't have to realize all the mess that is behind it lol
Avatar
heh that's smart
7:23 PM
tip: if it's rooted, make it "xorg"?
Avatar
Well, the default wm is i3
7:23 PM
So what could you really do (without a keyboard) (edited)
Avatar
I'll make a "Kterm" entry when the device is rooted
7:24 PM
from there, you can launch pretty much everything
Avatar
that's better
Avatar
Also, if you succeed in getting a shell and the device is not rooted, you can't do much because... X11 is another container/chroot!
7:25 PM
(when you're root though, you can use the SSH extension to ssh to the localhost from the chroot)
Avatar
locking it down a lot, i see ;p
7:25 PM
good idea
Avatar
Kindles have been my principal inspiration source ;p
7:25 PM
and maybe some Android too
7:26 PM
I already enabled SELinux in the kernel, now in the next releases I'll have to figure out how to make a proper security policy
Avatar
SELinux, i assume means security encrypted linux or something 😅
Avatar
security enhanced linux
Avatar
developed by the NSA
Avatar
yep
7:27 PM
ahhhh mksquashfs on the kobo is taking ages
7:27 PM
(I'm compressing the Chromium bundle)
Avatar
understandable ;p
Avatar
amazing that it even runs
Avatar
it would take at least a few hours
7:27 PM
at least
Avatar
not that much
Avatar
It's about 200mb of data
Avatar
oh i thought it would be bigger
7:28 PM
wait why don't you mksquashfs on a pc and transfer it to the kobo
Avatar
(I just apk fetch the packages, then extract them in the proper directory to make a mini root with all the deps that I then merge to the main root)
Avatar
Avatar
dill
wait why don't you mksquashfs on a pc and transfer it to the kobo
laziness ;p
Avatar
understandable
7:29 PM
i'm very lazy, that's why i'm on discord right now instead of working on blfs which i really should get started on again (edited)
Avatar
It's better than having a homework to do
Avatar
yeah, i'm in a "academic challenge" program which is more advanced, but we barely have homework
Avatar
we're not academically challenged, it's like a gifted and talented thing ;p
7:31 PM
although we say we're academically challenged heh
Avatar
finished!
7:35 PM
kobo:/chromium/root# mksquashfs . ../chromium.isa -b 1048576 -comp xz -Xdi ct-size 100% -always-use-fragments Parallel mksquashfs: Using 1 processor Creating 4.0 filesystem on ../chromium.isa, block size 1048576. [=======================================================/] 1094/1094 100% Exportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576 compressed data, compressed metadata, compressed fragments, compressed xattrs duplicates are removed Filesystem size 75421.65 Kbytes (73.65 Mbytes) 33.92% of uncompressed filesystem size (222377.42 Kbytes) Inode table size 13480 bytes (13.16 Kbytes) 22.51% of uncompressed inode table size (59893 bytes) Directory table size 14038 bytes (13.71 Kbytes) 36.29% of uncompressed directory table size (38687 bytes) Number of duplicate files found 90 Number of inodes 1761 Number of files 961 Number of fragments 72 Number of symbolic links 198 Number of device nodes 0 Number of fifo nodes 0 Number of socket nodes 0 Number of directories 602 Number of ids (unique uids + gids) 1 Number of uids 1 root (0) Number of gids 1 root (0) kobo:/chromium/root#
Avatar
Now let's see if it works
👍 1
Avatar
so it's /chromium/chromium.sqsh?
7:36 PM
or .squashfs
7:36 PM
it is in /opt/X11/extensions/chromium.isa
7:36 PM
(which is exportable userstore, like onboard)
Avatar
Well... it's been 1 minutes since I typed the command. It's apparently launching, but maybe that XZ compressed squashfs were not a good idea for extensions ...
7:46 PM
(because it has to decompress all that on-the fly)
7:46 PM
So I'm thinking of switching to gzip for chromium at least
Avatar
Avatar
tux-linux
(because it has to decompress all that on-the fly)
yeah, that would be slow
Avatar
ha, it spit out something (edited)
Avatar
well why even compress it? just do .squashfs
Avatar
Avatar
tux-linux
ha, it spit out something (edited)
what does it say? (edited)
Avatar
well, you have to compress it to make a squashfs
Avatar
[1858:1878:0801/025133.866249:ERROR:bus.cc(394)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
7:47 PM
normal launch messages
7:48 PM
it always does that
7:48 PM
so it's good
7:48 PM
touch /var/run/dbus/system_dbus_socket or would that break it
Avatar
wouldn't work
Avatar
but chromium can launch without it
Avatar
I really feel like I'm torturing the Kobo right now
Avatar
i'd feel like that too ;p
Avatar
90% CPU, 248/256M used
Avatar
ohh dang
Avatar
even top is struggling to output stats
Avatar
yes
7:50 PM
but SSH too
Avatar
oh another output thingy
Avatar
Failed to initialize ModelTypeStore backend: Init@./../../components/sync/model_impl/model_type_store_backend.cc:99: IO error: /root/.config/chromium/Default/Sync Data/LevelDB/000001.dbtmp: Could not rename file: No further details. (ChromeMethodBFE: 14::RenameFile::1)
7:51 PM
that's due to unsupported overlayfs kernel features (rename/mv doesn't work)
7:51 PM
but it seems to launch correctly now, another normal message got out
Avatar
anything on the screen?
Avatar
[1858:1908:0801/025519.431017:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Avatar
Avatar
dill
anything on the screen?
not yet
Avatar
well we'll see
Avatar
Though it's amazing I'm running Chromium, which is an xz-compressed squashfs archive, which is mounted in /opt/X11/extensions/chromium, which is merged with the SSH extension, which is merged with the base rootfs in /opt/X11/rootfs/read, which is fuse-overlayfs'd in /xorg, and then chrooted (edited)
Avatar
Ok, XZ for chromium is definitely too slow, the user will have to wait like 10 mins before it even thinks of printing something on the screen
Avatar
gzip or bzip?
Avatar
gzip
Avatar
All the messages so far
7:55 PM
7:56 PM
The middle ones are deeply worrying and the last one is normal
Avatar
[0801/025850.167006:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libbsd.so.0.9.1 Error: No error information [0801/025850.167297:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libbsd.so.0.9.1 Error: No error information [0801/025850.168274:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libp11-kit.so.0.3.0 Error: No error information [0801/025850.168556:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libp11-kit.so.0.3.0 Error: No error information [0801/025850.169570:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libunistring.so.2.1.0 Error: No error information [0801/025850.169853:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libunistring.so.2.1.0 Error: No error information [0801/025850.170857:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libtasn1.so.6.5.6 Error: No error information [0801/025850.171141:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libtasn1.so.6.5.6 Error: No error information [0801/025850.172103:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libnettle.so.6.5 Error: No error information [0801/025850.173057:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libnettle.so.6.5 Error: No error information [0801/025850.174327:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libhogweed.so.4.5 Error: No error information [0801/025850.174649:WARNING:stack_trace_posix.cc(715)] Failed to open file: /usr/lib/libhogweed.so.4.5 Error: No error information these?
Avatar
yes
7:59 PM
realized that the Qt gui was still running
7:59 PM
oops
7:59 PM
just stopped it
Avatar
lol oopsie
Avatar
the purple salvation window
8:02 PM
i.e. just before chromium gui
Avatar
It's been what, 20 minutes? lol
8:05 PM
Thinking about it I might just put Chromium in an uncompressed image file and mount it read-only
Avatar
Because I think gzip won't be enough
8:05 PM
accidentally joined voice
8:05 PM
lol
Avatar
Yes I saw that (edited)
8:06 PM
Poor Kobo...
Avatar
it's that worse, yes
8:08 PM
Ok, appears to have progressed a little bit
👍 1
8:12 PM
Also, there will be a VNC viewer in InkBox
👀 1
👍 1
8:12 PM
(with real touch support)
🆒 1
8:13 PM
Oh, 56% cpu for chromium now
8:13 PM
it's doing something
Avatar
Imagine wanting to browse the Web and waiting 30 mins for your browser to actually launch
8:17 PM
maybe integrate a kobo-like browser
8:17 PM
kobo-like as in, like the stock browser
Avatar
that is difficult
8:17 PM
and impossible, since I can't compile webkit or webengine for a glibc version that old
8:18 PM
links?
8:18 PM
graphical links?
Avatar
links, you mean, the browser?
🇾 1
🇪 1
🇸 1
Avatar
Avatar
dill
graphical links?
hmm
8:18 PM
probably crap for everything beyond a google search, but maybe
Avatar
I tried netsurf, that is a great lightweight one
8:19 PM
but only HTML4 and no JS so
Avatar
oh that sucks
Avatar
Mobileread in netsurf
Avatar
that's actually pretty good
Avatar
apple.com in netsurf
Avatar
Avatar
dill
that's actually pretty good
No.
8:20 PM
Well, yes for MR but elsewise
8:21 PM
I'm going to abort the launch of Chromium (wow, it's like I'm saying that it's a space rocket) and gzip the mini root instead
8:21 PM
we'll see what happens
Avatar
Avatar
tux-linux
I'm going to abort the launch of Chromium (wow, it's like I'm saying that it's a space rocket) and gzip the mini root instead
it's kind of like a rocket heh...
I'm running Chromium, which is an xz-compressed squashfs archive, which is mounted in /opt/X11/extensions/chromium, which is merged with the SSH extension, which is merged with the base rootfs in /opt/X11/rootfs/read, which is fuse-overlayfs'd in /xorg, and then chrooted
Avatar
hahahaa
Avatar
all on a kobo touch with 256mb ram (edited)
Avatar
*touch
8:24 PM
but same thing
Avatar
plus the fact that this is all on an alpine installation
Avatar
which is started in a chroot from the initrd!
Avatar
I'll have to put the diagram in some wiki page or otherwise people (including me) won't understand what's happening
8:27 PM
yeah
Avatar
I didn't think that it would have worked in the first place
8:28 PM
I'm gonna go eat while the Kobo is making that gzip squashfs
8:28 PM
bye
Avatar
Well, Chromium's not working very well
9:59 PM
can't load a webpage
10:02 PM
lighter browser maybe
10:03 PM
I'll see if I can get qutebrowser working
10:03 PM
or falkon, who knows
10:12 PM
qutebrowser seems ok
10:12 PM
i like falkon better tho
Avatar
well, the main concern is the keyboard ;p
10:38 PM
where did you find that?
10:41 PM
wait
10:41 PM
10:42 PM
wait just https:// yiff.forsale/gentoo.gif
Avatar
some nostalgia is coming up I'm using my Raspberry Pi again to compile packages in the aports tree
10:53 PM
(netsurf)
10:54 PM
I miss KoBox a little
Avatar
Avatar
tux-linux
I miss KoBox a little
well I mean kobox still exists
Avatar
yes sure
11:07 PM
but it's been a while since I did things for that project
Avatar
in fact let me launch it rn
11:09 PM
[root@snow ~]# ls -a . .local dev fs.md5sum libexec mnt sbin usr .. Settings drivers inkbox linuxrc proc sys var .config bin etc lib lost+found root tmp
11:09 PM
inkbox?!
11:09 PM
h o w
Avatar
it's normal
11:10 PM
created by the launch script
Avatar
but inkbox wasnt a thing back then...
Avatar
it's like /tmp but more inkbox-specific
Avatar
Avatar
dill
but inkbox wasnt a thing back then...
are you in the chroot ?
Avatar
oh wait looool
11:11 PM
11:12 PM
also fyi the touch thing is at /root/.utils/xorg-kobo-touch.py
Avatar
Avatar
dill
also fyi the touch thing is at /root/.utils/xorg-kobo-touch.py
why FYI? I know that, I made the script
Avatar
no because you forgot before
11:12 PM
Now I remember where it is
Avatar
ok lets see if this thing works
Avatar
Avatar
tux-linux
probably in some hidden dir in the root folder, i don't remember which
^
11:27 PM
HEY
11:27 PM
IT WORKS
Avatar
touch? (edited)
11:27 PM
it registers touch
11:28 PM
but it's inverted
11:28 PM
across the y-axis, even tho theres a fix in the file
11:29 PM
htop works after some touch experimenting
11:31 PM
Avatar
nice
Avatar
note the upside down kobo
11:32 PM
not that bad
11:32 PM
pretty good but touch is completely messed up
11:32 PM
cpu is at 100 tho lol
11:33 PM
wait at the top it says 100 but in the stats it's 10.4 (edited)
11:33 PM
it also adds up so the top isnt behaving i guess
11:35 PM
lol i almost installed gnome
11:35 PM
yikes
Avatar
Avatar
dill
lol i almost installed gnome
very bad idea
11:35 PM
;p
11:38 PM
checking out the thread to see how to rotate
Avatar
echo number > /sys/class/graphics/fb0/rotate
11:39 PM
but you'll probably have to start it again and modify that command in the init script
👍 1
Avatar
i'll charge it and then try again
Avatar
netsurf working!
Avatar
great :D
Avatar
it's not the best, but works well and is blazing fast
Avatar
speed? unexpected to be honest
Avatar
It's written entirely in C
Avatar
i thought it would be slow
3:08 AM
oh that's nice
Avatar
It took 30 mins to compile, but it's fast now
3:08 AM
I'm still impressed at how well my extensions system is working
3:09 AM
I just make the mini root in a squashfs and I put it in /opt/X11/extensions, and the initrd does all the rest for me
👍 1
Avatar
the update package will be fairly big this time, am i right
Avatar
oh yes
Avatar
well, this is very fast
3:23 AM
4.3 secs to load Mobileread.com
3:23 AM
wow
Avatar
like with firefox it was like 30s
Avatar
ok that's amazing
Avatar
of course
Avatar
don't mind the status ;p
3:41 AM
a friend of mine's status is "never gonna give you up", etc
Avatar
ah ok
3:55 AM
i need that
Avatar
woooooo
3:56 AM
cool
Avatar
going to stick it on my water bottle lol
Avatar
yep haha
Avatar
although, what i want is one of those laptop stickers
3:56 AM
like the intel one
Avatar
is that GNOME
4:04 AM
THATS GNOME WHAT
Avatar
Well, with VNC
Avatar
but still WOAH
Avatar
Yeah, touch works perfectly
Avatar
wait, i'll try
4:05 AM
wait no
4:05 AM
lol nvm
4:05 AM
waiiiiit is this kobox
Avatar
yes
4:06 AM
in inkbox
Avatar
i can try with my h2o2
4:06 AM
do you think i should give it a go
Avatar
I have to package all the software first though
Avatar
ah, so not a simple apk add gnome (edited)
Avatar
lol sorry, was thinking about the thread
Avatar
It's vnc to my computer
4:06 AM
Not in the kobo
Avatar
ahhhh i see
Avatar
That's why it shows gnome
Avatar
i didn't understand before, but there's VNC? that's cool
Avatar
Yeah a vnc viewer on the Kobo
4:07 AM
To view your computer's screen
Avatar
hypothetically it could also work with windows/mac
Avatar
(and for touch input in KoBox)
Avatar
Avatar
dill
hypothetically it could also work with windows/mac
As long as it can run a compatible vnc server
Avatar
yep, which, chances are, it can
4:09 AM
so does vnc work by adding with apk, i could try this with my aura?
Avatar
It doesn't work like that
Avatar
You have to have a working Debian 8 chroot
Avatar
ahh i see
Avatar
(which is tightly integrated in InkBox, but more difficult for native platforms)
Avatar
how on earth did they get a windows-like taskbar on gnome
Avatar
Avatar
dill
how on earth did they get a windows-like taskbar on gnome
That's either dash to panel or dash to dock
9:00 PM
The theme looks like modded Materia, Adapta, or Vimix
9:01 PM
I'm not sure about the icon theme, but maybe Papyrus or Arc?
Avatar
@tux-linux i will be more available for the next 2 weeks because i'm going to online school
Avatar
covid lockdown?
Avatar
no, just grade 7-12
1:04 AM
for 2 weeks
Avatar
Avatar
tux-linux
covid lockdown?
it's only a matter of time
Avatar
Ok, well nice (that you will be more available) Or not
Avatar
Avatar
dill
it's only a matter of time
hahaha Did it happen since the beginning of the year?
Avatar
Avatar
tux-linux
hahaha Did it happen since the beginning of the year?
no, gotta go
1:05 AM
bye
👍 1
Avatar
i only just came to appreciate the speed of linux compared to windows
3:49 AM
i have windows on this pc in my room
3:49 AM
and i'm on a fedora liveusb and HOLY
3:49 AM
it's blazing fast
👍 1
Avatar
Avatar
dill
i have windows on this pc in my room
it's extremely crappy
3:49 AM
(windows on this computer)
3:52 AM
500gb. plenty of space, might install debian.
3:52 AM
will also be useful for school
Avatar
my wifi on this seems to be blazing slow
10:47 PM
PC in my room
10:52 PM
Ok let's get this new Arch install going
12:33 AM
am
12:33 AM
f*cked
12:34 AM
windows wont boot due to an unmountable boot volume and now parents are gonna be angry
Avatar
i am, shall we say, fscked
2:01 AM
;p
Avatar
haha good one
Avatar
luckily parents arent mad, they just want me to reinstall
2:46 AM
i just discovered ventoy
Avatar
Avatar
dill
luckily parents arent mad, they just want me to reinstall
While you're at it, why not try a dual-boot windows/debian/arch/anything?
2:46 AM
(since you're gonna wipe the drive)
Avatar
thats what im doing
Avatar
oh nice
Avatar
windows/arch iso dual boot from ventoy, install windows first then arch
2:47 AM
arch first then windows*
Avatar
i havent done two on one drive in ages
2:50 AM
wasn't the wisdom usually windows then linux so that grub doesn't mess anything up
2:50 AM
er, so that grub is treated as the preferred bootloader
Avatar
Avatar
tim
wasn't the wisdom usually windows then linux so that grub doesn't mess anything up
i had windows, then installed arch, then bsod
2:51 AM
so im hoping that windows after linux will avoid a bsod
Avatar
Avatar
tux-linux
While you're at it, why not try a dual-boot windows/debian/arch/anything?
maybe ubuntu (i'm hoping i can use this for school, and arch seems a little... messy)
2:54 AM
messy for working purposes
Avatar
Avatar
dill
maybe ubuntu (i'm hoping i can use this for school, and arch seems a little... messy)
Debian
2:55 AM
Ubuntu without the bloat
Avatar
i did sudo ventoy -i /dev/sdb and it made an esp what
3:03 AM
note, i omitted the -g
Avatar
booting into windows iso, wish me luck!
👍 1
Avatar
The best way IMO is to partition the drive, install Windows, then install Linux, then optionally install rEFInd
Avatar
dont have efi
3:49 AM
thats what im doing thx :D
Avatar
got it installed successfully!
👍 1
4:42 AM
scared to install arch now
Avatar
Avatar
pgaskin
The best way IMO is to partition the drive, install Windows, then install Linux, then optionally install rEFInd
I'm mainly worried about installing GRUB and killing Windows again :/
Avatar
Found this on reddit!
👍 1
Avatar
New tab switcher
Avatar
Does this layout look OK? (notice new home button, top left, and I moved the time to the top right)
Avatar
Yes, looks great 👍
👍 1
Avatar
Avatar
tux-linux
New tab switcher
Nice!
3:37 AM
About to attempt to install Arch again without breaking Windows ;p
Avatar
Avatar
dill
Nice!
Anything I should add?
Avatar
Hmm, nothing immediately comes to mind. I'll inform you if I have any suggestions.
👍 1
Avatar
Avatar
tux-linux
Does this layout look OK? (notice new home button, top left, and I moved the time to the top right)
It appears to save space well, quite nice!
👍 1
Avatar
thanks!
Avatar
Installing 198 packages
4:31 AM
Havent even gotten to the DE yet ;p
4:35 AM
HOLY-
4:35 AM
Ntfs 3g last release was from 2017!?
Avatar
yes
4:36 AM
Probably because it is considered stable
Avatar
It will soon be replaced by ntfs3
4:43 AM
Which is much faster
4:43 AM
It also works properly with Wine
5:17 AM
It worked!
5:17 AM
:D
Avatar
nice
Avatar
Was quite worried
5:29 AM
Aaaaaaaa
5:29 AM
Lol
Avatar
You install everything all at once?
8:35 AM
Oh, and you're a KDE person
8:36 AM
That would explain most of those packages
Avatar
Avatar
pgaskin
You install everything all at once?
Yep, I did a pacman -S plasma kde-applications.
6:23 PM
This time I followed a tutorial because I didn't want to break Windows.
6:23 PM
Normally I just get Plasma though.
Avatar
@tux-linux quick question. Why does my cursor default to a Breeze cursor when I hover over my desktop background/wallpaper?
6:33 PM
I have it set to a Windows 10 cursor
Avatar
Avatar
dill
@tux-linux quick question. Why does my cursor default to a Breeze cursor when I hover over my desktop background/wallpaper?
Open source and free software
6:34 PM
Things can't always be perfect
6:34 PM
Did you restart KDE?
Avatar
well, that should help
Avatar
Wait, restarting it now
Avatar
Ok, it's working now
👍 1
6:44 PM
:D
6:47 PM
Also, how do I hide this?
6:47 PM
(The top thing)
Avatar
Did you look at the "View" tab?
Avatar
and... is there not an option to hide it?
Avatar
hmm
6:49 PM
strange
Avatar
Avatar
dill
Nope :/
That's one reason I really hate Konsole
9:53 PM
Literally anything is better than Konsole
Avatar
Avatar
pgaskin
Literally anything is better than Konsole
I'll switch over to gnome-terminal
1:26 AM
1:28 AM
heh
Avatar
this is mighty cool
4:38 AM
Minecraft, but I made it in 48 hours. Contribute to jdah/minecraft-weekend development by creating an account on GitHub.
Avatar
48 hours
6:09 AM
wow
Avatar
@tux-linux [dill@archlinux minecraft-weekend]$ make mkdir -p ./bin cd lib/cglm && cmake . -DCGLM_STATIC=ON && make /bin/sh: line 1: cmake: command not found make: *** [Makefile:28: libs] Error 127 [dill@archlinux minecraft-weekend]$
Avatar
pacman -S cmake
👍 1
6:34 PM
trying again
6:35 PM
also i saw the responses to the inkbox thread
👍 1
6:35 PM
:D
Avatar
so i have a ventoy usb with a windows ISO. how do I install Windows 10 on a virtual machine?
12:22 AM
with either QEMU, VirtualBox, or Boxes, I don't really care
Avatar
QEMU
1:01 AM
Well, maybe that VirtualBox would be better for windows-specific things
Avatar
it's called "oracle vm virtualbox"
1:03 AM
have you ever used it?
Avatar
yes
Avatar
i have, but my skills with VMs are zero
1:03 AM
nice!
Avatar
you can try with qemu but I didn't succeed in installing win10
1:03 AM
win7 works on it though
Avatar
some people are recommending KVM
Avatar
qemu-system-x86_64 -cdrom win7.iso -enable-kvm -vga virtio -m 4G -hda win.img
Avatar
Avatar
dill
some people are recommending KVM
that's qemu
1:04 AM
i had no idea lol
Avatar
they call it qemu/kvm sometimes
Avatar
you're on the newer PC?
Avatar
yep, but cant do it at the moment
Avatar
ah ok
1:06 AM
I just spent the past 6 hours trying to write something that would launch ---- netsurf ---- without spitting out random "BadParameter" errors
1:06 AM
like, it was just a bunch of nonsense
Avatar
su -c "sh -c 'env DISPLAY=:0 chroot /xorg /bin/netsurf-gtk2'"
1:06 AM
y'see
Avatar
i recommend releasing this in separate updates btw
1:06 AM
yep
Avatar
Avatar
dill
i recommend releasing this in separate updates btw
what do you mean?
Avatar
dont release kobox/netsurf/etc in one big update otherwise it might break inkbox
Avatar
Avatar
dill
dont release kobox/netsurf/etc in one big update otherwise it might break inkbox
It sure won't
2:13 AM
It's already complicated to actually make an update package, where I need to test every single new thing that is added, imagine every possible scenario, correct and fix bugs
2:13 AM
So no, it will come as a big update
2:16 AM
well the update package creation... will be very hard
Avatar
ofc
2:19 AM
and there we go!
Avatar
I got there in QEMU
2:19 AM
It's in the OOBE setup that it went wrong
2:20 AM
well this is gnome boxes
2:21 AM
it uses qemu tho, right?
Avatar
yes
Avatar
why?
Avatar
well it might not work so...
Avatar
maybe it was my h/w
4:08 AM
there we go
Avatar
hmm nice
👍 1
Avatar
now, because i am completely insane, i will get wsl
4:11 AM
because, why not?
Avatar
what's the point
Avatar
no point
4:14 AM
the windows philosophy: you can't restart without updating!
Avatar
haha
5:35 AM
That's clever
5:48 AM
ahahha r/debianinrandomplaces is a thing
Avatar
thinking of git cloning pacman into lfs
5:05 PM
but then there'd be all the issues with dependencies
5:08 PM
i need a package manager tho
Avatar
Avatar
dill
thinking of git cloning pacman into lfs
what do you think, tux-linux
Avatar
Not a good idea
8:27 PM
You'll probably end up breaking the whole system due to libc incompatibility and such
Avatar
Guide to using pacman as a package manager for Linux From Scratch - benvd/lfs-pacman
Avatar
Oh well
9:11 PM
Idk then
10:35 PM
so i should have referred to this while i was making lfs
Avatar
You could try anyway
10:39 PM
Or maybe APT
Avatar
hmm, yeah, but apt doesn't have the AUR
10:40 PM
i'll miss the aur haha
10:40 PM
i could tar up my system and put it on a USB, then boot off of it and try experimentally...
10:41 PM
with git clone
12:45 AM
Guess what It runs Linux
12:46 AM
I'll connect it to serial to say hello to u-boot
Avatar
a LEAPPAD?!
12:47 AM
i had one of those, a long time ago
Avatar
I'm just trying to figure out which is tx Rx and gnd
Avatar
good luck
Avatar
Actually, this exists
12:50 AM
Retroleap is a custom retroarch-based firmware for Leapster GS and LeapPad2 devices. - mac2612/retroleap
Avatar
and it's actually active
12:51 AM
(check the commit dates)
Avatar
wow, that's amazing
12:55 AM
i haven't checked github in a while, but http://guthib.com/ might be my favorite website
Avatar
it worrrrks
1:51 AM
well
1:52 AM
maybe not
1:52 AM
well yes
Avatar
Avatar
tux-linux
it worrrrks
what works?
Avatar
input and output
Avatar
got a shell
Avatar
kernel 2.6.31-leapfrog
Avatar
arm926ej
1:54 AM
need to go eat i'll come back very soon
1:54 AM
this is exciting
Avatar
yep, bye!
Avatar
huh
2:10 AM
this thing has 43MiB of RAM
2:10 AM
lmao
2:12 AM
43mib...
Avatar
wait I'll post some boot log (edited)
👍 1
2:13 AM
boot log
2:15 AM
but...
2:15 AM
tar: dev/watchdog: implausibly old time stamp 1918-12-25 06:18:09?
2:15 AM
wat
Avatar
probably some rtc sync error
2:16 AM
you rm -rfed NiLuJe? not very nice
2:16 AM
hahaha kidding
Avatar
what repo?
Avatar
nickeltc/update-niluje.sh
2:17 AM
so, understandable
Avatar
115m of rootfs
2:19 AM
2g emmc
Avatar
looks like we have g_ether in there
Avatar
usbnet? cool!
Avatar
rcS with 290 lines
Avatar
i'm setting up a bridge for KVM
2:34 AM
[dill@arch ~]$ sudo virsh net-define br10.xml error: Failed to define network from br10.xml error: (network_definition):13: Opening and ending tag mismatch: network line 1 and ip </ip> -----^
2:34 AM
284 bytes
Avatar
<ip address='192.168.30.1' netmask='255.255.255.0'/>
2:35 AM
look at the two last chars
Avatar
ah, i did a self-ending tag
2:36 AM
or... i forgot what those were called
2:41 AM
just QEMU isn't a full KVM
2:41 AM
2:41 AM
Endeavor OS
2:43 AM
wow kvm is much faster than boxes (i don't know why but maybe it's because i dedicated 2048M memory and 2 out of 4 CPUs to the VM)
Avatar
nice
2:48 AM
well leapfrog devs included a build of strace with the stock f/w
2:49 AM
gotta go bye
Avatar
bye
3:31 AM
uefi
3:31 AM
this is great
3:37 AM
archinstall is very nice actually
Avatar
nice
3:42 AM
rcS (edited)
3:42 AM
10.17 KB
Avatar
"cosmic spaghetti"
3:43 AM
nice
Avatar
yep haha
Avatar
meanwhile, my uefi vm is installing arch
👍 1
3:44 AM
aaaAAAAAA
3:44 AM
haha
Avatar
what do you want to install?
4:29 AM
yay!
4:29 AM
this is my theme btw
4:29 AM
i use it on all my plasma DE's
4:30 AM
not my theme but yeah
Avatar
bahahahahhahahaahhaaaaaaaaaa
4:39 AM
The AUR appears to have been accidentally DDoS'ed by Manjaro.
4:39 AM
"whoops"
Avatar
wooooo
Avatar
Package manager for LFS/BLFS. Contribute to KeithDHedger/LFSPkg development by creating an account on GitHub.
👍 1
Avatar
it looks like i just have to git clone (edited)
8:01 PM
and makepkg ofc
8:07 PM
kmix keeps lowering my microphone volume after i set it to 115 (edited)
8:07 PM
and my class can't hear me :/
Avatar
nice
12:10 AM
this is a real captcha
12:10 AM
and im on it right now :/
12:26 AM
about to try red star OS in a VM
12:26 AM
heh
Avatar
Avatar
dill
and my class can't hear me :/
Use PulseEffects with WebRTC auto gain and noise cancellation
Avatar
Avatar
dill
and im on it right now :/
C++
Avatar
heh, thanks both
👍 1
12:52 AM
hmm, should i use a bridge for the red star vm?
12:53 AM
a network bridge, you mean?
Avatar
never
Avatar
never connect that machine to the network
Avatar
is this good
Avatar
Can't you just "disable networking" ?
12:56 AM
"virtual network br10", "virtual network default", "bridge device" and "macvtap device"
Avatar
at the worst, disconnect the laptop from the internet while you test it
👍 1
Avatar
"no", right
Avatar
Avatar
tux-linux
at the worst, disconnect the laptop from the internet while you test it
oh yea btw it's a pc not a laptop :)
12:59 AM
then disconnect the pc from the network
Avatar
ok, and i press no, right
Avatar
yes
1:00 AM
well no
1:00 AM
but yes
1:00 AM
lol
1:02 AM
oh...
1:03 AM
ok, i'll disconnect now
1:03 AM
bye
Avatar
bye
Avatar
@tux-linux
2:03 AM
Avatar
trying with more ram
2:14 AM
disconnecting
2:18 AM
it worked
2:18 AM
i'm changing the isolinux language to en
2:27 AM
(modify an iso)
2:27 AM
:c
Avatar
Avatar
dill
i'm changing the isolinux language to en
there are plenty of tutorials on how to install it on youtube
Avatar
you can change the language later
3:04 AM
also my ~mom~ turned off my ~wifi~
Avatar
relatable
Avatar
because i was ~overdoing~ it
Avatar
relatable
3:04 AM
well i have 2 computers
3:05 AM
i could just boot into windows but i dont have a user
3:05 AM
brb
3:07 AM
what was the tool for making isos?
Avatar
in Arch?
3:13 AM
mkiso or geniso idk
3:13 AM
ahhhh
3:13 AM
mkisofs
3:13 AM
right
Avatar
xorriso
3:13 AM
one or the other
Avatar
but I don't think it's as easy as that
3:13 AM
you have to make it bootable
3:13 AM
I don't know how
Avatar
i tried with mkisofs and it said that the directory didn't exist :/
3:14 AM
mkisofs -o redstar.iso redstariso2/redstariso
3:14 AM
redstariso is to make it english, because i dont have wifi :/ (edited)
Avatar
what are you typing on?
Avatar
my laptop
3:17 AM
(my pc is the one without wifi)
Avatar
can't you watch the video from the laptop?
Avatar
the laptop and the pc are at other ends of the house
3:18 AM
haha
3:18 AM
cant move it, because... ethernet/power
Avatar
download the video and put it on some usb drive
Avatar
so, i'm kind of stuck
3:18 AM
hmm yea
Avatar
downloaded
3:30 AM
its on usb
Avatar
installing...
👍 1
6:18 AM
it didn't work :/
6:18 AM
oh well
6:19 AM
i'm going to bed now, bye
11:13 PM
i'm running an Syu from discord, what the-
11:14 PM
11:16 PM
hypothetically, i could chroot into lfs on laptop, run bashbot on pc, ssh to my laptop in bashbot, then use LFSPkg with discord
😂 1
11:16 PM
bahahaha
2:20 AM
how about: bashbot on laptop, chroot with pc/bashbot, then ssh with pc
2:21 AM
wait i can launch kobox/inkbox from discord lol
Avatar
(lfs chroot) root:/sources# git clone https://github.com/KeithDHedger/LFSPkgBuilds.git --branch 10.1 --single-branch Cloning into 'LFSPkgBuilds'... fatal: Unable to find remote helper for 'https' (lfs chroot) root:/sources#
Avatar
That's... bad
2:57 AM
You compiled it from source?
2:57 AM
Maybe check on LinuxQuestions if other people had the same error
Avatar
Avatar
tux-linux
That's... bad
It's an internet error
3:04 AM
(lfs chroot) root:/sources# ping google.com ping: unknown host (lfs chroot) root:/sources# ping github.com ping: unknown host (lfs chroot) root:/sources#
3:04 AM
then you're good
Avatar
how can i fix it :/
3:04 AM
and it's weird, im not connected but im on ssh
Avatar
cp etc resolv.conf
3:08 AM
in lfs chroot
Avatar
aahh, the interface was down
3:09 AM
sigh, one problem after another
3:09 AM
(lfs chroot) root:/sources# git clone https://github.com/KeithDHedger/LFSPkgBuilds.git --branch 10.1 --single-branch Cloning into 'LFSPkgBuilds'... fatal: Unable to find remote helper for 'https' (lfs chroot) root:/sources# git clone github.com/KeithDHedger/LFSPkgBuilds.git --branch 10.1 --single-branch fatal: repository 'github.com/KeithDHedger/LFSPkgBuilds.git' does not exist (lfs chroot) root:/sources#
Avatar
can you ping?
Avatar
then... it's likely git, I'm afraid
Avatar
(lfs chroot) root:/sources# ping github.com PING github.com (140.82.112.3): 56 data bytes <...> --- github.com ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max/stddev = 68.895/70.123/71.700/1.172 ms (lfs chroot) root:/sources#
Avatar
Avatar
tux-linux
then... it's likely git, I'm afraid
alright i'll see if i can reinstall
3:15 AM
idk how to uninstall a package that i compiled
3:15 AM
😬
Avatar
just overwrite it
3:15 AM
or normally
3:16 AM
there's a make uninstall rule
Avatar
Avatar
tux-linux
there's a make uninstall rule
i untarred and configured but no make uninstall
3:18 AM
that seems long
3:18 AM
but anyways
3:18 AM
if you can, try it
Avatar
ahhhhh i know the problem
Avatar
what?
Avatar
first of all: no curl
3:18 AM
wait maybe
3:18 AM
and second of all... well this is 2.9.5
3:19 AM
the current one is 2.30.1 haha
3:19 AM
plus, i missed some steps because i didnt look in blfs book, i looked online :/
Avatar
Avatar
dill
plus, i missed some steps because i didnt look in blfs book, i looked online :/
shame on you ;p
😔 1
3:19 AM
anyways
3:19 AM
with the BLFS book it should be just fine
3:20 AM
good luck
👍 1
Avatar
Avatar
tux-linux
shame on you ;p
I didn't mean it of course
3:20 AM
just so you know
Avatar
yeah haha
3:22 AM
2) Configure it exactly like you did with the original install with regard to installation locations (prefix, exec-prefix etc); supposedly you should just not override anything. 3) Create a temporary directory to perform installation, like this: $ mkdir /var/tmp/git 4) Install Git passing a proper DESTDIR variable to make: $ make DESTDIR=/var/tmp/git install The Git hierarchy will end up created under that temporary directory.
so... no make?
Avatar
Read it again
Avatar
Avatar
tux-linux
shame on you ;p
the reaction was also not serious, haha
👍 1
Avatar
Avatar
tux-linux
Read it again
it says configure but not compile
3:23 AM
idk
Avatar
Read step 4 again
Avatar
Sometimes the compile step is also in the install rule
3:24 AM
c.f. BusyBox (edited)
Avatar
(lfs chroot) root:/sources/git-2.30.1# git clone https://github.com/KeithDHedger/LFSPkgBuilds.git --branch 10.1 --single-branch Cloning into 'LFSPkgBuilds'... fatal: unable to access 'https://github.com/KeithDHedger/LFSPkgBuilds.git/': SSL certificate problem: unable to get local issuer certificate (lfs chroot) root:/sources/git-2.30.1# aaaAAAAAA*AAAAAA*
Avatar
reinstall LFS
3:46 AM
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Avatar
Because Y'know Linux From Scratch sometimes ... can badly break
3:47 AM
:/
Avatar
But look it up on LQ or something, maybe you'll find some solution
Avatar
maybe i'll use a tarball instead of git
Avatar
Avatar
dill
maybe i'll use a tarball instead of git
How much time will you survive without it?
3:47 AM
I bet LFSPkgs use Git too
3:49 AM
asking on lq
Avatar
Avatar
dill
asking on lq
did you search for it before?
Avatar
Avatar
tux-linux
did you search for it before?
ye
👍 1
3:51 AM
i didnt install ca-certs
3:51 AM
maybe thats it
Avatar
couldn't you git clone before?
Avatar
Avatar
dill
i didnt install ca-certs
If not, that's the problem for sure
3:52 AM
Since you didn't not follow BLFS and the deps
Avatar
its not a dep
Avatar
Avatar
dill
its not a dep
then it's strange
3:53 AM
Well, maybe you did install it in LFS
3:53 AM
and not in BLFS
Avatar
maybe, but i did a google search and it doesnt show up
3:54 AM
i'll go see if i did in lfs
Avatar
there
3:54 AM
that should work (edited)
Avatar
nope, not in lfs
3:55 AM
how do i transfer it to my laptop :/
Avatar
well
Avatar
it has to download the ca certs
3:55 AM
so you'll need internet access
3:55 AM
i know
Avatar
Avatar
dill
ftp?
I prefer a simple python3 -m http.server in such situations
Avatar
thanks, and how do i retrieve the files?
3:56 AM
from lfs chroot/ssh
Avatar
if you can access internet
Avatar
wget computer-ip:8000/file
Avatar
(lfs chroot) root:/# wget 0.0.0.0:8000/home/dill/Downloads/*.tar.xz Warning: wildcards not supported in HTTP. --2021-04-29 19:58:02-- http://0.0.0.0:8000/home/dill/Downloads/*.tar.xz Connecting to 0.0.0.0:8000... failed: Connection refused. (lfs chroot) root:/#
3:58 AM
[dill@arch ~]$ python3 -m http.server Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
Avatar
0.0.0.0 is a black hole
Avatar
Avatar
dill
[dill@arch ~]$ python3 -m http.server Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) ...
.
Avatar
just change it to the computer's IP on the local network
👍 1
4:00 AM
thx
👍 1
Avatar
I don't know if the package will want to install though
4:02 AM
We'll see :thonk:
4:02 AM
Without the actual emoji
4:03 AM
;p
4:05 AM
i had to configure it --without-libtasn1 (edited)
👍 1
4:06 AM
haha i mixed up l and 1
Avatar
yep
Avatar
checking if trust module is enabled... configure: WARNING: --with-libtasn1 is needed in order to build the trust module, disabling no checking for trust module paths... configure: error: need --enable-trust-module in order to specify trust module paths. (lfs chroot) root:/sources/p11-kit-0.23.22# wow
Avatar
maybe try what it suggests?
4:09 AM
configure: WARNING: --with-libtasn1 is needed in order to build the trust module, disabling
4:09 AM
configure: error: need --enable-trust-module in order to specify trust module paths.
4:09 AM
trust module.
4:10 AM
checking if trust module is enabled... configure: error: --with-libtasn1 is needed in order to build the trust module (lfs chroot) root:/sources/p11-kit-0.23.22# (edited)
4:11 AM
maybe?
4:11 AM
last post
Avatar
im just installing libtasn1
Avatar
yeah sure, that should do it too
Avatar
installed
4:16 AM
installing p11-kit
6:12 AM
(lfs chroot) root:/sources# git config --global http.sslVerify false (lfs chroot) root:/sources# git clone https://github.com/KeithDHedger/LFSPkgBuilds.git --branch 10.1 --single-branch Cloning into 'LFSPkgBuilds'... remote: Enumerating objects: 27006, done. remote: Counting objects: 100% (8641/8641), done. remote: Compressing objects: 100% (3229/3229), done. remote: Total 27006 (delta 6078), reused 7531 (delta 5131), pack-reused 18365 Receiving objects: 100% (27006/27006), 11.61 MiB | 6.85 MiB/s, done. Resolving deltas: 100% (14688/14688), done. (lfs chroot) root:/sources#
6:12 AM
boom
Avatar
At a cost
Avatar
Avatar
tux-linux
At a cost
yep, true...
Avatar
well... online school is extended :c
Avatar
yeah I heard about it in the news
Avatar
yea, my class is complaining :/
10:14 PM
kill = function(who){ kill.who(); $this.scene.kill.dill(); my friend just sent this hah
Avatar
they forgot the closing brace
Avatar
yeah he did haha
11:03 PM
idk where to start with lfspkg... i'm not good at editing bash scripts and i'll probably break it (edited)
Avatar
make a backup
11:03 PM
then break it
11:03 PM
;p
Avatar
General rule with Bash scripts: always check at least 5 times what you've wrote before running it
Avatar
cd $LFS && tar cJf . <what????>
Avatar
Avatar
tux-linux
General rule with Bash scripts: always check at least 5 times what you've wrote before running it
yep, and the bad thing is, it's long, and i didn't write it
Avatar
tar cJvf ../lfs.tar.xz .
11:05 PM
or the mksquashfs way
Avatar
so then /mnt/lfs.tar.xz
11:05 PM
right
Avatar
well, you could put it elsewhere
11:05 PM
let me back up rn
Avatar
Avatar
tux-linux
tar cJvf ../lfs.tar.xz .
v?
Avatar
do you want to see which files are compressed so you don't CTRL+C by running out of patience?
11:07 PM
wait it's backing up proc, dev, run and sys...
11:08 PM
should it do that
11:08 PM
you should umount it before
11:08 PM
or better, restart the computer
👍 1
11:08 PM
and don't mount the additional filesystems, just the partition
11:09 PM
i had to exit 4 times: chroot, ssh, su, and terminal haha
Avatar
@dill , have you tried BSDs yet?
11:57 PM
openbsd, netbsd, freebsd?
Avatar
You should when you have some time It's similar to Linux, but at the same time, very different
11:58 PM
It's a nice experience
11:58 PM
i'll try it
Avatar
cool
Avatar
only freebsd is... well... free, right?
Avatar
... no
Avatar
i thought they costed money
Avatar
well
12:00 AM
*Open*BSD
12:00 AM
and NetBSD is also free
Avatar
did not know that ;p
12:01 AM
i forgot to delete the source dir for linux 5.10.17...
12:01 AM
oof
12:04 AM
so now its also backing up /sources/linux-5.10.17/* as well... (edited)
12:04 AM
that takes a long time
12:04 AM
it's doing drivers right now
Avatar
Avatar
tux-linux
do you want to see which files are compressed so you don't CTRL+C by running out of patience?
i did that once
Avatar
That's why I prefer mksquashfs to making tar backups
12:05 AM
(although you could probably use pv to see some progress, never had success with it)
Avatar
which one is faster btw
Avatar
no one
Avatar
if you compress with xz (which is what cJf does) you get maximum compression (and time) mksquashfs, same
12:07 AM
only that you can mount the backups as a disk image without uncompressing them before
12:09 AM
it finally finished compressing the AMD drivers
12:14 AM
so, uh, this is using a lot of cpu haha
12:14 AM
and it finished compressing the drivers...
Avatar
Avatar
dill
so, uh, this is using a lot of cpu haha
sure
Avatar
as in 97.1
Avatar
yep
12:17 AM
I sometimes have a QEMU KVM Debian VM with 4 cores enabled running, along with a Google Meet online class, a GCC workload running in the background and some 10+ tabs open in the web browser regarding various Qt/C++ issues
Avatar
ah well it crashed
12:20 AM
which leads me to believe that i should use it with ssh
12:20 AM
without gui running
Avatar
Avatar
dill
without gui running
YOU HAD A GUI RUNNING???!?!?!?!
Avatar
plasma...
Avatar
Avatar
dill
plasma...
even worse
12:21 AM
have to get off (edited)
12:21 AM
bye
12:21 AM
:/
Avatar
ok bye!
Avatar
Avatar
tux-linux
YOU HAD A GUI RUNNING???!?!?!?!
I mean idk how NOT to have a gui running...
Avatar
ssh
Avatar
(Not allowed on LFS laptop for now)
Avatar
Avatar
tux-linux
ssh
Wdym? It starts on boot
Avatar
Avatar
dill
(Not allowed on LFS laptop for now)
console
12:34 AM
But tty2 would still be running plasma
Avatar
well
12:34 AM
killall X
12:35 AM
killall sddm
Avatar
rc-service sddm stop
12:35 AM
whatever
Avatar
isnt rc-service for openrc (edited)
12:52 AM
and X isnt a process
Avatar
then Xorg or X11 (edited)
Avatar
kwin maybe
Avatar
Avatar
dill
kwin maybe
No
Avatar
Avatar
dill
isnt rc-service for openrc (edited)
Of course there is
Avatar
arch uses systemd (edited)
Avatar
You're on arch?
12:53 AM
Ah
12:53 AM
Well systemctl stop sddm
Avatar
killing xorg
Avatar
tarring
1:01 AM
without the mess of linux 5.10.17
👍 1
Avatar
my cpu locked up and i assume my kernel panicked
Avatar
then... it's probably the pc's age
Avatar
try sudo mksquashfs /mnt/lfs /home/dill/lfs.sqsh -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments -processors 1 it'll take forever, but I think your CPU won't fry up this time (edited)
Avatar
i'll try it thx
👍 1
Avatar
aaaaaaaa
3:31 AM
it randomly froze
3:31 AM
at 13%
Avatar
well
3:31 AM
Unless you transplant the drive in the more powerful computer, I've got nothing for you
Avatar
like, the cursor froze and so did the thing that moves
3:32 AM
alright
3:32 AM
hmmmm
3:32 AM
dd if=/dev/sda3 of=/dev/sdb? (edited)
3:32 AM
sdb is a usb
Avatar
No
Avatar
You could use SSHfs or NFS
3:33 AM
But all the things I tried with them failed
Avatar
not familiar with those sorry
Avatar
Avatar
dill
not familiar with those sorry
Time to get familiar with them then (for me too ;p)
Avatar
Luckily there is a way to mount your VPS file system to your local computer so you can make changes on the fly and treat your droplet as local storage.
3:33 AM
that should get you going
Avatar
why not dd tho?
3:33 AM
okay
Avatar
then you just run mksquashfs from the powerful laptop
Avatar
pc but yea
Avatar
oh yeah sure
Avatar
Avatar
dill
why not dd tho?
takes an incredibly large amount of space without us needing that
Avatar
Avatar
tux-linux
takes an incredibly large amount of space without us needing that
wait
3:35 AM
sshfs, mount it, cp it over to my pc's local storage, then squashfs?
Avatar
no
3:35 AM
squashfs from the sshfs tree
3:36 AM
that's network magic *sprinkle magical fairy lights everywhere*
3:37 AM
So it's like if the host PC's folder was becoming a drive/block device on the client PC
3:37 AM
host, as in laptop?
Avatar
yes
Avatar
so host is the one with lfs.
Avatar
yes
👍 1
Avatar
what is a droplet
Avatar
probably digitalocean's VPS server or something
3:40 AM
you should replace it with "host", probably
Avatar
it's a cloud computing thing
Avatar
yes
Avatar
let me grab my mouse (i only have the one mouse for 2 computers so i normally use the PC with the mouse ;p)
3:45 AM
sudo sshfs -o allow_other,default_permissions root@xxx.xxx.xxx.xxx:/ /mnt/droplet
3:45 AM
what is xxx? is it the PC or laptop? :/
Avatar
PC
Avatar
wait, where do i run the command from.....
Avatar
laptop
Avatar
but, /mnt/lfs doesnt exist on pc
3:46 AM
mkdir first?
Avatar
well; create it
Avatar
or you can mount it elsewhere too
Avatar
but then that mounts my entire laptop on the pc, right? :thonk: without the emoji
Avatar
No
3:48 AM
just the folder
3:48 AM
I assume you run sshfs from /mnt/lfs on the laptop
Avatar
since that seems to be what it needs
Avatar
Avatar
dill
but then that mounts my entire laptop on the pc, right? :thonk: without the emoji
but maybe
Avatar
Now we can use sshfs to mount the file system locally with the following command.
3:49 AM
file system
3:49 AM
not folder
Avatar
we'll see
3:49 AM
let me just start an ssh server
Avatar
dows it have to be root@xxx.xxx.xxx.xxx:/
3:57 AM
or can it also be dill
Avatar
dill
3:57 AM
if you have write access to /mnt/lfs
3:57 AM
chown -R dill /mnt/lfs
👍 1
Avatar
ok lets see if this thing worked
3:59 AM
um no
4:00 AM
do i run sshfs from laptop or pc
Avatar
laptop
Avatar
it doesnt work
4:01 AM
are you sure
Avatar
probably
4:01 AM
search elsewhere for another tutorial, maybe
4:01 AM
I haven't ever had luck with NFS or SSHfs
Avatar
aaaaa now my entire computer fs is mounted on /mnt/lfs-
Avatar
Wait
Avatar
[dill@archlinux lfs]$ ls bin dev home lib64 mnt proc run snap sys usr windows10 boot etc lib lost+found opt root sbin srv tmp var [dill@archlinux lfs]$ ls /home dill [dill@archlinux lfs]$ ls /home/dill Desktop Downloads lfsbackup.tar.xz Music Public Templates Documents lfsbackup.sqsh minecraft-weekend Pictures snap Videos [dill@archlinux lfs]$
Avatar
sudo sshfs -o allow_other,default_permissions root@xxx.xxx.xxx.xxx:/mnt/lfs /mnt/lfs
4:02 AM
I didn't see the second /
4:02 AM
*oops*
4:02 AM
sorry
Avatar
no its fine
4:03 AM
lets see now
4:04 AM
n o p e
4:04 AM
/mnt/lfs is empty on PC
Avatar
Did you chown it to dill?
Avatar
NO it's supposed to be ran on pc
Avatar
Avatar
dill
NO it's supposed to be ran on pc
oh yeah
4:05 AM
oops again
Avatar
sudo sshfs -o allow_other,default_permissions root@xxx.xxx.xxx.xxx:/mnt/lfs /mnt/lfs is the mountpoint, which means it has to be on pc
4:05 AM
no lol its fine
Avatar
I guess it could be either way too
4:05 AM
like you put root@... after /mnt/lfs
Avatar
um well https://www.youtube.com/watch?v=wO61D9x6lNY that's ... an interesting 21:24 ... video
Avatar
:chinscratch:
4:11 AM
and it worked
Avatar
nice
Avatar
[dill@arch ~]$ ls /mnt/lfs bin dev home lib64 media opt root sbin srv tmp var boot etc lib lost+found mnt proc run sources sys usr [dill@arch ~]$ sudo mksquashfs /mnt/lfs /home/dill/lfs.sqsh -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
4:12 AM
is that good?
Avatar
yes
👍 1
4:12 AM
but is that really /mnt/lfs?
👍 1
4:12 AM
yes
4:12 AM
ok
Avatar
Avatar
tux-linux
yes
I saw the sources folder and I knew
4:12 AM
making
4:13 AM
[dill@arch ~]$ sudo mksquashfs /mnt/lfs /home/dill/lfs.sqsh -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments Parallel mksquashfs: Using 4 processors Creating 4.0 filesystem on /home/dill/lfs.sqsh, block size 1048576.
4:13 AM
no output
4:13 AM
i mean no progress bar
Avatar
Avatar
dill
i mean no progress bar
it can take time before it appears
Avatar
yep all good now
4:15 AM
Failed to read file /mnt/lfs/bin/klogd, creating empty file [- ] 70/56997 0% Failed to read file /mnt/lfs/bin/syslogd, creating empty file [- ] 387/56997 0% Failed to read file /mnt/lfs/etc/.pwd.lock, creating empty file [/ ] 460/56997 0% Failed to read file /mnt/lfs/etc/ssh/ssh_host_dsa_key, creating empty file [/ ] 466/56997 0% Failed to read file /mnt/lfs/etc/ssh/ssh_host_ecdsa_key, creating empty file [/ ] 467/56997 0% Failed to read file /mnt/lfs/etc/ssh/ssh_host_ed25519_key, creating empty file [/ ] 468/56997 0% Failed to read file /mnt/lfs/etc/ssh/ssh_host_rsa_key, creating empty file [/ ] 469/56997 0% Failed to read file /mnt/lfs/etc/sudoers, creating empty file [/ ] 479/56997 0% Failed to read file /mnt/lfs/etc/sudoers.dist, creating e
4:15 AM
???
Avatar
ahem
Avatar
is it bad?
Avatar
Does it do that often?
Avatar
Has it stopped by now?
Avatar
Then
4:16 AM
Try a tar backup maybe
4:16 AM
do i rm the empty files
Avatar
No
👍 1
Avatar
tarring
4:18 AM
Avatar
all good for now
👍 1
4:20 AM
4:21 AM
X11 is coming up... slowly...
😃 1
Avatar
yep
4:25 AM
experimental only
4:25 AM
(you can run DOS on it)
Avatar
oh nice
👍 1
Avatar
./var/tmp/git/usr/libexec/git-core/git-init-db
4:44 AM
ah... i forgot var/tmp/git existed :/
4:44 AM
that was my temp git install
Avatar
oops
5:50 AM
And then...
Avatar
Nice, isn't it?
Avatar
yes! (edited)
Avatar
The difficult thing will be to package it together
Avatar
For the Touch, it's an easy job since I can just upload the SD image
Avatar
For the Mini though...
Avatar
does cc1 take this long to compress
6:01 AM
It's a compiler
6:01 AM
(cc1)
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
that's QEMU
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
NICE
Avatar
It doesn't get to the shell but still
6:02 AM
DOS works
6:12 AM
(and slow hardware, sometimes)
6:36 AM
also cc1 is still compiling :/
Avatar
compressing?
6:36 AM
then it's probably a network error
Avatar
yea compressing
6:37 AM
aaaaa
6:37 AM
well i had to ctrl + c
6:37 AM
oh well...
6:42 AM
ls /mnt/lfs gives no output... and no prompt (edited)
6:43 AM
do i rm it
6:44 AM
@tux-linux
Avatar
umount it
Avatar
hmm maybe mount a usb on /mnt in LFS, then cp /* to /mnt/usb?
11:07 PM
but then dev/proc/run/sys...
11:07 PM
maybe cp to usb in arch with lfs mounted
Avatar
yes
Avatar
would that work?
Avatar
maybe
Avatar
but then the cpu would go boom
Avatar
no, because you just cp
11:09 PM
maybe rsync would be a better option but I didn't try that
Avatar
i've never used it
Avatar
Avatar
tux-linux
no, because you just cp
a lot of data tho
Avatar
or maybe tar without compression
11:16 PM
I have a very large folder of 120,000+ files. and I need to move them to another location on my same machine (same partition). I'd like to use the tar command to group them up as a single unit and...
Avatar
would it not just melt my cpu
Avatar
likely not, since you won't be compressing anything
Avatar
i almost burned myself touching the computer yesterday
11:19 PM
.tar without .gz/xz/bz2?
Avatar
yes
👍 1
Avatar
my mouse :/
11:21 PM
lol i kept clicking the wrong reactions
11:24 PM
have you ever tried GoboLinux?
11:33 PM
wat
Avatar
EFI shell
12:02 AM
rsync -avAXHS --progress --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} / /mnt/usb (edited)
12:02 AM
on lfs
Avatar
nice
Avatar
would it work
Avatar
I don't know
Avatar
i'll try
Avatar
Finally hooked up my Kindle to serial
Avatar
I had to tape the cables since there are no holes
Avatar
thats sad
Avatar
yep
Avatar
it might get disconnected easily
Avatar
But I tried with another little embedded linux device yesterday, the pads were even thinner
12:18 AM
should i ask about my little ssl cert/network interface problem on lq? (edited)
Avatar
if you want
👍 1
12:18 AM
Tp3 and Tp4
👍 1
12:19 AM
that was a vtech storio
12:19 AM
I got to a shell
Avatar
the busybox didn't even have a uname command
Avatar
that's sad
Avatar
I think I fried it up though :/
Avatar
Avatar
tux-linux
that was a vtech storio
the eReader thing?
Avatar
Well, it kind of powers on but it says USB booting error
Avatar
Avatar
dill
the eReader thing?
the board above
12:20 AM
it's an entertainement device for kids 0-8
Avatar
no, the vtech storio is the eReading thing right
12:20 AM
ohh
12:22 AM
:thonk:
Avatar
why?
Avatar
why would you want to do that
12:22 AM
yeah
12:23 AM
hmmm
Avatar
Getting some inspiration for InkBox
👍 1
Avatar
this is interesting
Avatar
yep
Avatar
is there a solution?
12:37 AM
well... time to debug it i guess
Avatar
compiling rsync first
Avatar
what package does arch-chroot come in
Avatar
idk
Avatar
btw for devs, i recommend opera gx
1:59 AM
the sad thing is, it's only win/mac
Avatar
Avatar
tux-linux
I sometimes have a QEMU KVM Debian VM with 4 cores enabled running, along with a Google Meet online class, a GCC workload running in the background and some 10+ tabs open in the web browser regarding various Qt/C++ issues
for this reason
Avatar
:/
Avatar
ok, about to boot into LFS and attempt to backup
👍 1
3:44 AM
hopefully it doesnt die
4:12 AM
Its backing up
👍 1
4:12 AM
And no hot CPU
4:12 AM
Avatar
Nice
Avatar
@tux-linux help?
Avatar
some files
4:19 AM
well
4:19 AM
it partly failed but you should be good
4:19 AM
now, hurry to your powerful PC and tar that in xz
4:20 AM
Not allowed on the powerful pc for the rest of today because I overused it lmao
Avatar
tomorrow then
4:22 AM
Looks like it's good!
👍 1
Avatar
sorry lol
👍 1
Avatar
ok, time to tar
10:29 PM
lspci comes in what package?
Avatar
pciutils
👍 1
Avatar
Do I need to chmod or something?[dill@archlinux ~]$ sudo lfs-chroot sudo: lfs-chroot: command not found [dill@archlinux ~]$ lfs-chroot bash: /usr/bin/lfs-chroot: Permission denied [dill@archlinux ~]$ sudo /usr/bin/lfs-chroot sudo: /usr/bin/lfs-chroot: command not found [dill@archlinux ~]$ cat /usr/bin/lfs-chroot mkdir /mnt/lfs export LFS=/mnt/lfs mount /dev/sda3 $LFS mkdir -pv $LFS/{dev,proc,sys,run} mknod -m 600 $LFS/dev/console c 5 1 mknod -m 666 $LFS/dev/null c 1 3 mount -v --bind /dev $LFS/dev mount -v --bind /dev/pts $LFS/dev/pts mount -vt proc proc $LFS/proc mount -vt sysfs sysfs $LFS/sys mount -vt tmpfs tmpfs $LFS/run if [ -h $LFS/dev/shm ]; then mkdir -pv $LFS/$(readlink $LFS/dev/shm) fi chroot "$LFS" /usr/bin/env -i \ HOME=/root \ TERM="$TERM" \ PS1='(lfs chroot) \u:\w\$ ' \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ /bin/bash --login +h [dill@archlinux ~]$
Avatar
yes
10:37 PM
chmod +x
Avatar
thanks!
👍 1
10:38 PM
oh... that's nice[dill@archlinux ~]$ sudo lfs-chroot mkdir: cannot create directory ‘/mnt/lfs’: File exists mknod: /mnt/lfs/dev/console: File exists mknod: /mnt/lfs/dev/null: File exists mount: /dev bound on /mnt/lfs/dev. mount: /dev/pts bound on /mnt/lfs/dev/pts. mount: proc mounted on /mnt/lfs/proc. mount: sysfs mounted on /mnt/lfs/sys. mount: tmpfs mounted on /mnt/lfs/run. (lfs chroot) root:/#
Avatar
yep
Avatar
Let me try compiling a new kernel. Any idea where I can find these drivers: atl1c and ath9k?
10:56 PM
In menuconfig
Avatar
somewhere in wireless options?
👍 1
10:56 PM
btw, / to search
Avatar
Avatar
tux-linux
btw, / to search
Oh, wow thanks
11:01 PM
11:02 PM
Any idea why ps1 is like this
Avatar
the-?
Avatar
And bash 5.1
11:02 PM
Bashrc is normal
Avatar
My bash PS1 prompt is configured as: export PS1="\e[1;38;5;120m\n\s \V\$ \e[0m" It looks like -bash 5.0.7$ Having the hyphen, -, in front of bash is quite annoying. Does anyone know how I ca...
11:02 PM
probably your lfs-chroot script
11:03 PM
This is native LFS
Avatar
And it's always like this
Avatar
what user are you?
Avatar
Root, as there aren't any other users
11:03 PM
(And I need to be root for compiling)
Avatar
Avatar
dill
Root, as there aren't any other users
Why?
Avatar
Well... laziness
Avatar
Avatar
dill
(And I need to be root for compiling)
False, why couldn't you?
Avatar
Avatar
tux-linux
False, why couldn't you?
Wait really
11:04 PM
Thought I needed to be root to compile and install
Avatar
whaaaat
11:04 PM
never
11:04 PM
compile
11:04 PM
as
11:04 PM
root
Avatar
random mishaps in the Makefile can destroy your system
Avatar
Well... don't I need to be root to make install
Avatar
yes
11:05 PM
only for install
11:05 PM
Let me useradd dill
👍 1
Avatar
(because a normal user can't modify /usr/bin)
11:06 PM
Sorry
11:06 PM
Lol
11:06 PM
11:07 PM
Whaaaaat
Avatar
well
11:07 PM
you were in /root were you
Avatar
(That was some random WhatsApp thing)
11:07 PM
Ye
Avatar
/root isn't accessible by normal users
11:07 PM
do a ls -l to see
Avatar
so it couldn't getcwd (get current path) because permission denied
Avatar
The password for dill cannot be changed
11:08 PM
I'm in /home/dill
11:08 PM
As root
Avatar
no clue
11:10 PM
11:11 PM
Waaaait
11:11 PM
How am I dill!?
Avatar
su dill
Avatar
No but that gave me an error
Avatar
change password as root
Avatar
This is a wtf moment
11:11 PM
Ok
11:12 PM
I'm getting the weird getcwd thing but su works
11:16 PM
Hah I got the drivers
11:16 PM
Making
11:17 PM
This will take a while
Avatar
For InkBox, building a kernel takes only ~8 mins haha 2.6.35.3 vs 5.x
Avatar
Lol, but this has hundreds of drivers and things
Avatar
Avatar
tux-linux
For InkBox, building a kernel takes only ~8 mins haha 2.6.35.3 vs 5.x
That reminds me, I want to compile an InkBox kernel
11:19 PM
Maybe later
Avatar
inkbox will have its own u-boot too
11:19 PM
I'm testing that right now
Avatar
Sooo... the only thing that this changes is vmlinuz. Right?
Avatar
it's possible to boot a different kernel when you press the home button on the kobo touch n905c
Avatar
I could just cp vmlinuz over to USB drive
11:20 PM
Cool
Avatar
Avatar
dill
Sooo... the only thing that this changes is vmlinuz. Right?
If you built the modules embedded in the kernel
11:20 PM
(did you select * or M)
Avatar
so it's embedded (edited)
11:20 PM
Oh ok
12:33 AM
and... it worked!
12:33 AM
thanks for the help!
👍 1
Avatar
might switch from arch to kali on my laptop
12:44 AM
idk, because it might break LFS
Avatar
Avatar
dill
might switch from arch to kali on my laptop
What would you do with Kali?
Avatar
idk, im interested in ethical hacking
👍 1
12:47 AM
ethical
12:49 AM
I still have no idea how to use lfspkg, and i dont want to bother people at lq
12:49 AM
or you haha
Avatar
maybe ask on some IRC channel?
12:50 AM
Package manager for LFS/BLFS. Contribute to KeithDHedger/LFSPkg development by creating an account on GitHub.
Avatar
yea, but... this is hard, because I have to comment out all of the stuff that has $LFS and all' that
12:53 AM
because im in a chroot
12:53 AM
and they said to do it from a chroot so... idk
12:58 AM
about to kill sddm bye
👍 1
Avatar
Here's my updated version of the howto
10.66 KB
👍 1
Avatar
you might want to consider making a pull request
Avatar
pull request? why? this is custom
2:16 AM
like, for my system
Avatar
ah, then maybe make a git repository with all your scripts/configs/etc (edited)
Avatar
(like, changed file locations, commented out a lot of things, lots of other things) (edited)
2:17 AM
yeah... maybe
2:18 AM
let me try executing the HowTo
Avatar
you didn't put the shebang
2:18 AM
#!/bin/bash
Avatar
oh yeah
Avatar
my profile picture is angry at you
2:18 AM
;p
2:22 AM
wow
2:22 AM
now idk what to do..
Avatar
install the necessary things
Avatar
such as?
Avatar
why did it include apt-get?
Avatar
well thats just because i forgot to comment that out :/
2:24 AM
i may remake lfs with this
Avatar
Did you remove some checketc and packageclean functions in the script?
Avatar
because... it's very difficult to install LFSPkg after the base system is built
Avatar
Avatar
tux-linux
Did you remove some checketc and packageclean functions in the script?
no...
Avatar
it would be surprising if those were real commands (edited)
Avatar
the thing is, there are a bunch of things in /usr/* that are made with the temporary toolchain
Avatar
you might have to start it over
2:26 AM
lfs?
2:26 AM
yeah
Avatar
yes
Avatar
yep, may try with a vm first
2:26 AM
and the "iso install cd" thing
2:26 AM
let me see...
2:28 AM
Contribute to KeithDHedger/LFSBootCD development by creating an account on GitHub.
Avatar
nice!
Avatar
Avatar
dill
idk, because it might break LFS
Cannot recommend using kali as your main OS, many tools/configuration changes made to that OS are so that it can be used as an appliance
4:00 AM
not as a reasonably secure desktop OS
4:01 AM
er
4:01 AM
whoops
4:01 AM
I meant to reply to your note about Kali, sorry
Avatar
yeah, not gonna be my main OS. I use Arch btw on my other computer
4:42 AM
which i use more
Avatar
well it's good to learn on
4:54 AM
just reiterating all that great power great responsibility stuff when it comes to offensive security tools lol
5:03 AM
def
Avatar
AT&T UNIX system V
5:05 AM
it works on QEMU!
5:05 AM
I'm gonna try it on the kobo soon
Avatar
nice!
👍 1
Avatar
Is that convincing enough ? ;p
👍 1
2:25 PM
It will be embedded in the other kernel
4:44 PM
4:45 PM
looks nice
Avatar
Avatar
dill
looks nice
as an alternative to kali
Avatar
yeah, maybe
Avatar
the lfspkg script installs everything
7:35 PM
like, the entire lfs system
7:36 PM
thats not really lfs
Avatar
Avatar
dill
thats not really lfs
But you did it before, so you know what it's like at least
9:23 PM
bahahah
Avatar
Woooooooooooooooo niceee
Avatar
im gonna do this
Avatar
Then you just have to lose your teacher with allusions to the libc, the kernel, syscalls, modules, gcc, compilation, etc.
9:29 PM
So I'm an admin in a server with some Twitch people...
9:29 PM
LFS
Avatar
Nice
Avatar
Funny how Plasma loads faster on my laptop than my PC... :/
11:33 PM
But PC is faster
11:33 PM
Ah well
11:33 PM
How's InkBox coming along?
Avatar
slow
11:34 PM
but next release will have so much new features that you won't be able to count them all
👍 1
11:35 PM
you can check the past commits on github to see what I added/changed
Avatar
yep, doing that now
Avatar
i think "InkBox GNU/Linux kernel" --> "InkBox Linux kernel" because... Linux is the kernel ;p
Avatar
Read about that
1:09 PM
Within the free software and the open-source software communities there is controversy over whether to refer to computer operating systems that use a combination of GNU software and Linux kernel as "GNU/Linux" or "Linux" systems.Proponents of the term Linux argue that it is far more commonly used by the public and media and that it serves as a g...
Avatar
So... I just moved, and the previous occupants are complete idiots
4:13 PM
They cut the coax cable because they couldn't figure out how to unscrew the connector
4:13 PM
And then tied it in a tight knot, damaging the cable
4:14 PM
The cable is just a long wire going up from the drop in the basement to the third floor, sticking out beside another outlet (edited)
4:15 PM
So now I'm out of internet for 1-3 weeks until someone comes to fix it
4:16 PM
I don't have enough data for VNC, only SSH and the web without media
Avatar
Uh. That's a bummer.
4:21 PM
I hope they'll get it repaired as soon as possible!
Avatar
Avatar
pgaskin
So now I'm out of internet for 1-3 weeks until someone comes to fix it
Oh... wow
Avatar
Avatar
tux-linux
I hope they'll get it repaired as soon as possible!
Yeah
Avatar
linux pro
😂 1
4:42 PM
oh wow
4:43 PM
my lfs is 3.8 gb
4:43 PM
that's quite small
5:13 PM
use something like grub to dual boot nickel and inkbox
Avatar
never
5:13 PM
u-boot is nice
Avatar
yea, the idea was funny tho
Avatar
yep
Avatar
i do a git clone https://github.com/Kobo-InkBox/kernel, right?
Avatar
yes
👍 1
Avatar
i just had to sing a parody of the rickroll to my class :/
7:10 PM
that was horrible
Avatar
woooowww
Avatar
Don't forget to install the 32-bit libs
7:10 PM
(unless you use koxtoolchain or a custom 64-bit toolchain)
👍 1
Avatar
what libs exactly? (i have multilib and multilib-testing repos enabled)
Avatar
probably something like libstdc++ and glibc for 32 bit
7:13 PM
wait I'll look it up
👍 1
7:15 PM
Can you boot something else than Arch?
Avatar
well.... windows...
Avatar
don't have debian or something?
Avatar
i have a debian vm
Avatar
use that
Avatar
well, you'll need
7:17 PM
build-essential
7:17 PM
u-boot-tools
7:17 PM
lib32stdc++6
7:18 PM
lib32z1
7:18 PM
and that should be it
👍 1
7:20 PM
BTW, no normal packages for next update, it's too complicated so it will be a complete SD image
Avatar
i also have an arch VM
Avatar
No
7:20 PM
Debian
👍 1
Avatar
Avatar
tux-linux
BTW, no normal packages for next update, it's too complicated so it will be a complete SD image
nice
Avatar
Because Arch needs you to actually compile the 32-bit libs, which takes forever
7:21 PM
(since it's in the aur)
7:21 PM
did you git clone already? wait
Avatar
nope; the debian VM is in Boxes so I want to switch over to QEMU/KVM
7:23 PM
(with VM Manager)
Avatar
ok, I'm pushing some changes right now
👍 1
7:25 PM
done
7:27 PM
So now you can boot and clone it, then follow the README's instructions
7:27 PM
Don't forget to change CONFIG_INITRAMFS_SOURCE in the kernel configs
Avatar
yep, thanks
7:32 PM
and ugh my computer crashed because of youtube...
7:35 PM
Debian uses a Calamares installer, right
Avatar
Yes
Avatar
you did not install it yet?
Avatar
no; it's installing; but i can't see it
7:54 PM
been installing for a while
Avatar
Strange
Avatar
uhhhggg, i am so smart
7:54 PM
:/
Avatar
Because ...?
Avatar
idk how to switch ttys on a VM
Avatar
it can be tricky sometimes
Avatar
great, which tty has kde
7:57 PM
should i reboot and hope that it finished installing?
Avatar
it will probably have failed but you can try
Avatar
alright
7:58 PM
shutdown/reboot/poweroff arent commands, what
Avatar
use sudo
👍 1
Avatar
it boots
8:02 PM
into sddm
8:02 PM
yay
👍 1
8:02 PM
we need a discord bot that says Synchronizing package databases... each time someone says yay
8:04 PM
my computer is also being very laggy because... half of its resources are dedicated to the vm ;p
Avatar
Avatar
dill
we need a discord bot that says Synchronizing package databases... each time someone says yay
why would it say that?
Avatar
Avatar
tux-linux
why would it say that?
yay
Avatar
aaah
Avatar
good one
👍 1
Avatar
Avatar
tux-linux
BTW, no normal packages for next update, it's too complicated so it will be a complete SD image
ok, and when
Avatar
sometime this month
Avatar
works for me
Avatar
wait if im compiling on a vm, how do i get the kernel onto my kobo
Avatar
scp
Avatar
let me just look at the man pages
8:29 PM
what do i change CONFIG_INITRAMFS_SOURCE to
Avatar
the location of your initramfs source
8:29 PM
i.e. change the /home/build path to /home/dill
8:29 PM
thx
👍 1
8:30 PM
?
Avatar
yes
8:31 PM
do that for each config file then continue
8:31 PM
ok
Avatar
if you only want to build for the mini, then you don't have to change all the configs
8:31 PM
but it's better
8:31 PM
so config-n705 and config-n705-diags for the mini
Avatar
uh, pretty sure that was the only line i needed to change
8:34 PM
yeah, i don't have a touch
Avatar
So you changed config-n705 and config-n705-diags?
Avatar
only config-n705 at the moment
Avatar
well you can compile a std/root kernel
8:35 PM
e.g. GITDIR=/home/build/kobo TOOLCHAINDIR=$GITDIR/toolchain/gcc-4.8 TARGET=arm-linux-gnueabihf THREADS=4 scripts/build_kernel.sh n705 root
8:36 PM
change the GITDIR path to yours
Avatar
oh nice
8:36 PM
do i have to change this?
Avatar
no
👍 1
8:36 PM
just the CONFIG_INITRAMFS_SOURCE
8:36 PM
nothing else
8:37 PM
there's menuconfig
8:37 PM
nice
Avatar
but everything is already set up
8:37 PM
you just have to run the script
8:37 PM
ah. no ncurses. oh well
Avatar
libncurses-dev iirc?
Avatar
ncurses-devel
Avatar
ah yes
Avatar
Avatar
tux-linux
e.g. GITDIR=/home/build/kobo TOOLCHAINDIR=$GITDIR/toolchain/gcc-4.8 TARGET=arm-linux-gnueabihf THREADS=4 scripts/build_kernel.sh n705 root
from what dir
Avatar
scripts/build_kernel.sh
8:40 PM
gitdir, of course
Avatar
yeah, sorry; had a brain moment
👍 1
8:41 PM
(which happens often)
Avatar
lol
8:41 PM
it's ok
👍 1
Avatar
all good? dd if=uImage of=/dev/mmcblk0?
8:47 PM
bs=1M seek=2048
8:48 PM
i think...
Avatar
bs=512
Avatar
be careful
8:48 PM
but it seems ok
Avatar
huh
8:49 PM
you made two "kernel" dirs?
8:49 PM
no, ~/kernel is the dir made by git clone
8:49 PM
idk, i touched nothing except config
Avatar
oh
8:49 PM
my bad
8:50 PM
because in my build machine, the git dir is called kobo
8:50 PM
(since the git repo starts there)
Avatar
oh i see
Avatar
I was just confused
Avatar
it's fine
Avatar
so the script is right, the kernel should be in the specified path
8:50 PM
my vm is connected to my wifi, right
Avatar
normally, yes
👍 1
Avatar
looking at man scp (edited)
Avatar
scp uImage-root dill@some.ip.address:/home/dill
👍 1
Avatar
do i do this from usbnet or...?
Avatar
scp?
8:56 PM
how do i get it to the kobo
Avatar
you can just take the microsd out
8:56 PM
but usbnet is fine too
Avatar
did you try usbnet yet?
8:56 PM
from... diags, right
Avatar
you enable it in diags
8:57 PM
in "flags"
Avatar
but there's also an "emergency recovery shell" option in the "Diagnostics" tab which starts a telnet server on 192.168.2.2
Avatar
telnet or ssh?
Avatar
ssh on main system (edited)
8:58 PM
telnet in diags
Avatar
and ... serial in initrd-diags ;p
Avatar
Did it work?
Avatar
opening up the thing right now
👍 1
9:14 PM
lol this is harder than i remembered
9:17 PM
pain
Avatar
did you try with a credit card?
Avatar
aha! got it!
Avatar
Avatar
tux-linux
did you try with a credit card?
i would but my parents are busy and my wallet isnt in my room
Avatar
ah
9:19 PM
Well if it's not a credit card, I usually slaughter my school ID card or bus pass ;p
9:19 PM
i slaughtered my library card last time
Avatar
off-topic What should I put in the 'Utilities' section of the initrd-diags?
Avatar
I have
9:20 PM
Erase MMC
9:20 PM
Download and flash new kernel (XMODEM)
9:20 PM
Download and flash bootloader (XMODEM)
9:20 PM
and that's about it...
Avatar
nothing else?
Avatar
hold on
Avatar
ok
Avatar
my class is doing something
Avatar
np
Avatar
"kahoot"
Avatar
hahaha
Avatar
have you done it before
Avatar
we do that too sometimes
9:23 PM
well I'll leave you with your class
👍 1
9:23 PM
come back when you can
9:26 PM
back
👍 1
9:28 PM
sd seems to be sdb
Avatar
then dd to sdb
Avatar
so sudo dd if=uImage-root of=/dev/sdb bs=512 status=progress seek=2048 (edited)
Avatar
yes
9:29 PM
done
👍 1
Avatar
now to see if it boots...
Avatar
yep... it didn't
9:33 PM
oh well
Avatar
nothing?
Avatar
flashing light
Avatar
if you try to slide the power button a couple times to boot in diags, does it work?
Avatar
let me see
Avatar
if it got to a flashing light, then it booted the kernel
9:34 PM
so at least that part is good
Avatar
no diags
Avatar
then ... I guess the only way to know what's wrong is serial do you have your old Mini?
9:36 PM
i think
9:36 PM
but cant get it rn
9:36 PM
and remember, the thing with the arduino
Avatar
no problem, when you can
👍 1
Avatar
Avatar
dill
and remember, the thing with the arduino
yes, I know, maybe it will work this time
Avatar
yep (edited)
Avatar
my teacher called my other teacher cabbage
9:50 PM
wait no
9:50 PM
savage
Avatar
whooops
Avatar
because of the rickroll thing
9:50 PM
lol
Avatar
Avatar
dill
my teacher called my other teacher cabbage
c a b b a g e
😂 1
9:56 PM
another brain moment; ah well
Avatar
fwiw, here's the initrd diags bash script
9:58 PM
Avatar
yup thanks
👍 1
9:59 PM
going to get my arduino after class
👍 1
Avatar
280.0 cpu
10:11 PM
wow
Avatar
Some progress
3:15 AM
3:16 AM
3:16 AM
And here's a sample boot log
Avatar
nice!
👍 1
Avatar
Anything I should add?
Avatar
how is input achieved? is it touch?
Avatar
No, as I said, serial, especially for security reasons
Avatar
but... this is the diags partition?
3:22 AM
wait no it isnt
Avatar
(you don't want an user with a locked down device to be able to access a shell)
Avatar
ah true
Avatar
Avatar
dill
wait no it isnt
It's another kernel
Avatar
ohhhh ok
Avatar
It boots when you press the Home button on the Touch
3:23 AM
and could probably be adapted via a software option for the Mini
Avatar
Its main purpose is to provide you a recovery environment when you've screwed everything else up
3:24 AM
Erase MMC? why?
Avatar
Idk, if you want to start over or something
👍 1
Avatar
and, is this an initramfs or...
Avatar
no
3:24 AM
initrd
Avatar
oh ok (edited)
Avatar
Well, they're pretty much the same, but there are a few differences
3:25 AM
It allows you to download a kernel with the xmodem protocol via serial i.e. transfer a file on a serial connection takes about 8 minutes for ... 4MiB
👍 1
3:25 AM
but... it's an emergency environment ... so...
3:26 AM
I also put some diagnostics/tests if ever InkBox gets sold in new ereaders (my dream) e.g., graphics gray scale test, sleep mode test
Avatar
Avatar
tux-linux
I also put some diagnostics/tests if ever InkBox gets sold in new ereaders (my dream) e.g., graphics gray scale test, sleep mode test
heh, yeah, that would be awesome (edited)
Avatar
first e-reader company to have the software entirely open source
3:27 AM
(because... GPLv3 you know)
Avatar
Avatar
tux-linux
Anything I should add?
memory test? idk, it looks good
Avatar
Hmm great idea
😀 1
3:32 AM
I just need to find a program that's small enough to run on my chroot
3:32 AM
(kernel max size is 8mb now since I recompiled U-Boot with my custom settings, but it's still not a lot)
Avatar
That's starting to become a pretty dangerous script... (edited)
4:24 AM
Avatar
oh... oh dang
Avatar
Yep.
Avatar
why not dd if=/dev/null of=/dev/mmcblk0
4:30 AM
or /dev/zero
Avatar
I put zero
Avatar
wait nvm
4:30 AM
im dumb
4:33 AM
what are you using to edit it?
Avatar
vim
Avatar
ah... vim
4:34 AM
heh, i prefer nano
4:34 AM
because i dont know how to edit a file with vim
Avatar
Ah
Avatar
only commands and things
4:35 AM
lol, it has 2 modes, command and edit, right
4:35 AM
idk how to get to edit :/
Avatar
One-page guide to Vim: usage, examples, and more. Vim is a very efficient text editor. This reference was made for Vim 8.0. For shortcut notation, see :help key-notation.
👍 1
Avatar
how do i exit vim is a meme
Avatar
ESC + : + q + Enter
Avatar
:qa or :qa!
Avatar
I use q!
Avatar
Got an idea for testing that erase option; just gonna remove the MicroSD before, since the kernel/initrd are loaded in RAM
4:57 AM
Yeah... this is kind of a dangerous 'feature' lol
Avatar
Well it depends
Avatar
seeing its username (edited)
Avatar
"it's insecure and the packages aren't well maintained"
5:40 PM
yeah true
Avatar
Avatar
dill
"it's insecure and the packages aren't well maintained"
What if the AUR didn't exist?
5:40 PM
Tell him that
5:40 PM
Arch would surely be worse
5:42 PM
👍 1
Avatar
interesting discussion
5:44 PM
gentoo server
Avatar
what a surprise...
Avatar
Pipe heaven ;p
6:29 PM
cat /proc/meminfo | head -n 1 | cut -d' ' -f2- | tr -d 'kB' | tr -d ' ' | echo "`cat`/2" | bc | ./memtester `cat` 1 (edited)
6:29 PM
memory test?
Avatar
yes
Avatar
[dill@arch ~]$ cat /proc/meminfo | head -n 1 | cut -d' ' -f2- | tr -d 'kB' | tr -d ' ' | echo "`cat`/2" | bc 2994804 [dill@arch ~]$
6:30 PM
Avatar
total ram / 2
Avatar
(in kB)
Avatar
what distro do you use for inkbox developing? ubuntu?
Avatar
yes
Avatar
I should've took Debian
7:30 PM
but anyways
7:31 PM
I once got back to Arch two weeks ago (liveusb) and ran my Ubuntu install in a QEMU virtual machine (hardware passthrough) I did not like the fact that my entire debian 32-bit vm was wiped off the disk when I rebooted into plain ubuntu (edited)
7:31 PM
so from now on I won't do that again
Avatar
Avatar
tux-linux
I once got back to Arch two weeks ago (liveusb) and ran my Ubuntu install in a QEMU virtual machine (hardware passthrough) I did not like the fact that my entire debian 32-bit vm was wiped off the disk when I rebooted into plain ubuntu (edited)
yeah that sucks
Avatar
I had to reinstall everything, I almost lost all of my kernel customizations, initrd, long rcS scripts, configs, etc. Fortunately I still had my two Kobos running the last compiled kernel, so I extracted everything from them
Avatar
Avatar
tux-linux
I had to reinstall everything, I almost lost all of my kernel customizations, initrd, long rcS scripts, configs, etc. Fortunately I still had my two Kobos running the last compiled kernel, so I extracted everything from them
aaaa....
Avatar
That's where I thought 'hey, Git exists, you know?'
Avatar
so yeah, the first commit made to the kernel repo was right after I lost all of that
Avatar
how do i install a deb package with dpkg?
8:34 PM
dpkg installs Debian package manager. This is useful for those who want to create/modify DEB files. However, *do not* use dpkg to install Debian packages in your ArchLinux machine. This will break your system! You will need to go back to Arch wiki and read the installation guide again. You've been warned! :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [dill@arch ~]$
8:34 PM
ah
8:35 PM
yeeeah uninstalled
Avatar
dpkg -i
9:02 PM
but there's a converter from deb to arch package though
Avatar
[dill@arch ~]$ steam /home/dill/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable Couldn't import apt, please install python3-apt or update steamdeps for your distribution. /home/dill/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable Running Steam on arch 64-bit /home/dill/.local/share/Steam/steam.sh: line 117: VERSION_ID: unbound variable STEAM_RUNTIME is enabled automatically Pins up-to-date! Can't find 'steam-runtime-check-requirements', continuing anyway WARNING: Using default/fallback debugger launch /home/dill/.local/share/Steam/ubuntu12_32/steam /home/dill/.local/share/Steam/steam.sh: line 770: /home/dill/.local/share/Steam/ubuntu12_32/steam: No such file or directory [dill@arch ~]$
9:17 PM
well...
9:17 PM
mkdir ~/.local/share/Steam/ubuntu12_32/steam?
Avatar
It probably won't work
Avatar
uhhhh[dill@arch ~]$ mkdir /home/dill/.local/share/Steam/ubuntu12_32/steam mkdir: cannot create directory ‘/home/dill/.local/share/Steam/ubuntu12_32/steam’: File exists [dill@arch ~]$
Avatar
ubuntu12_32 ubuntu 12.04 32-bit
9:19 PM
32-bit
9:19 PM
oh-
Avatar
32-bit binaries can't run without multilib packages
9:19 PM
that's why it says no such file
Avatar
which i have
9:19 PM
well
Avatar
are you sure?
Avatar
i have multilib enabled but idk which packages
Avatar
it must be steam the problem, you shouldn't be supposed to run 32-bit at all
Avatar
hmm, i'll see if theres a 64-bit
9:41 PM
[dill@arch ~]$ steam Running Steam on arch rolling 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! Can't find 'steam-runtime-check-requirements', continuing anyway WARNING: Using default/fallback debugger launch /home/dill/.local/share/Steam/ubuntu12_32/steam /home/dill/.local/share/Steam/steam.sh: line 770: /home/dill/.local/share/Steam/ubuntu12_32/steam: No such file or directory [dill@arch ~]$
9:41 PM
sigh
9:41 PM
again
10:11 PM
am
10:11 PM
a
10:11 PM
huge
10:11 PM
idiot
10:11 PM
i
10:11 PM
deleted
10:11 PM
/usr
10:11 PM
/share
10:11 PM
/icons
10:11 PM
/hicolor
Avatar
why? (edited)
10:12 PM
pacman -S hicolor-icon-theme
Avatar
because i'm an idiot: i moved something to hicolor and then pressed up arrow key, replaced mv with rm without backspacing...
Avatar
whoops
10:13 PM
done
10:13 PM
10:13 PM
i did it twice and the second time it didnt give me warnings (edited)
10:13 PM
so idk
10:15 PM
pacman -S ${pacman -Qenq}?
Avatar
Avatar
dill
/hicolor
/*
Avatar
Avatar
dill
/*
you deleted /* ?
Avatar
Avatar
dill
pacman -S ${pacman -Qenq}?
probably
Avatar
Avatar
tux-linux
you deleted /* ?
hicolor/*
10:17 PM
i'm dumb, but not that dumb...
10:18 PM
[dill@arch ~]$ pacman -S ${pacman -Qenq} bash: ${pacman -Qenq}: bad substitution
10:18 PM
pacman -S $(pacman -Qenq)
10:18 PM
sorry
10:19 PM
${} are for variables
👍 1
Avatar
it's fine, easy mistake
10:20 PM
Packages (390)
10:20 PM
only?
10:21 PM
Total Installed Size: 5088.76 MiB Net Upgrade Size: -19.85 MiB
Avatar
🤷‍♂️
Avatar
ok, lets see
10:26 PM
yup, not doing this during school with 9 apps running in the background, plasma running, and 7 tabs open on chromium
Avatar
lol
Avatar
will this remove my config?
Avatar
should not
10:34 PM
how about one at a time
10:34 PM
....yeah, no
Avatar
Avatar
dill
how about one at a time
a few at a time? 20-30?
Avatar
as you want, idk
Avatar
what would you do?
Avatar
Reinstall Arch
Avatar
other than that... my parents won't be happy if i have to install it again
Avatar
yeah maybe 20-30 at a time is good
Avatar
i suspect windows won't be happy either ;p
12:49 AM
off cut parts some has which browser in mobile on I'm in because chat the see cant I Sorry
Avatar
ah ok, it's fine
12:50 AM
why the reverse word thing though?
Avatar
Yeah that was a bug lmao
2:09 AM
Also /lib got completely deleted by some weird bug as well as linux, initrd, and initramfs, so reinstalling :/
2:13 AM
...first let me see if Windows broke
2:13 AM
(Finished install)
2:14 AM
YES it isnt broken
2:24 AM
Pain
Avatar
Yey done
2:39 AM
Now for yay and discord and lmms and chromium and settings and auto login and...
Avatar
Avatar
dill
Now for yay and discord and lmms and chromium and settings and auto login and...
and sshd and packages and pacman config and git and aliases and .bashrc.....
Avatar
insert maniac laugh
4:06 AM
just made plasma look like windows bahaha
4:08 AM
Avatar
Looks really nice
Avatar
thanks!
👍 1
Avatar
Avatar
dill
and sshd and packages and pacman config and git and aliases and .bashrc.....
finally got it
5:45 PM
(not my wallpaper ofc, found it online)
Avatar
we're studying someone named Nicolas in French class... (edited)
5:37 PM
👀
Avatar
Well, that's nice Does he like Linux?
Avatar
Avatar
tux-linux
Well, that's nice Does he like Linux?
He's 6 years old and in the 1960s
9:05 PM
lol
9:05 PM
Also I installed black arch
Avatar
nice
9:05 PM
I thought I fried up my kobo touch 2 times today
9:06 PM
It wouldn't turn on at all, but at some point I reconnected the battery and it decided to power on
Avatar
Avatar
tux-linux
I thought I fried up my kobo touch 2 times today
yikes
Avatar
Avatar
tux-linux
It wouldn't turn on at all, but at some point I reconnected the battery and it decided to power on
well that's ok then
9:07 PM
and...
Avatar
so you replaced sudo?
Avatar
please is an alias for sudo
9:07 PM
haha
Avatar
ah I genuinely think that there is some program called the same name which does that
Avatar
Avatar
tux-linux
ah I genuinely think that there is some program called the same name which does that
let me check
Avatar
idk
Avatar
not in the arch repos at least
9:09 PM
31 aur/pleaser 0.4.1-1 (+1 0.02) please, a sudo like program with regex support written in rust, get involved!
9:10 PM
yeeeah the blackarch repo scares me..
9:11 PM
...decompilers...
9:11 PM
wow
Avatar
ghidra
Avatar
Avatar
dill
yeeeah the blackarch repo scares me..
killcast
11:34 PM
i want to hack my mom's chromecast
11:34 PM
hahahaaa
Avatar
Avatar
dill
killcast
uhh it didnt work... oh well
Avatar
:/ Well, I have some first release candidates for inkbox (not to be published soon, but at least I can produce a full SD image from scratch)
👍 1
Avatar
Let's hack up my Android phone tonight ;p
Avatar
hah, nice!
Avatar
ditched please
5:51 AM
aliased pacman to be sudo pacman in bashrc
Avatar
Nice
Avatar
as a non-programmer, reversing malware seems fun
👍 1
8:47 PM
I usually get stopped up around the point where you get an actual binary or shellcode, but checking what the hash is in VT usually answers that question quickly
Avatar
Avatar
tim
as a non-programmer, reversing malware seems fun
yeah, it does seem fun
Avatar
Avatar
tim
as a non-programmer, reversing malware seems fun
That's essentially what we do to make the patches. It seems daunting at first, but it's really not that bad once you get started.
Avatar
yeah, i'd just need to devote time to learning a language
Avatar
resetting inkbox because usbnet wasn't working :/
Avatar
What wasn't working? More likely your computer was the issue
Avatar
Avatar
tux-linux
What wasn't working? More likely your computer was the issue
maybe.
6:25 PM
it still isn't working
6:26 PM
wasn't working - kobo was not recognized by computer
Avatar
Avatar
tux-linux
What wasn't working? More likely your computer was the issue
still not working on a different port, however the kobo powers on when plugged in and shows that it is charging...
Avatar
Maybe that the precise USBNET_ENABLE flag is now throwing a random "I/O error" That happens sometimes with ext2fs Should not happen that often anymore in ext4
Avatar
Avatar
tux-linux
Maybe that the precise USBNET_ENABLE flag is now throwing a random "I/O error" That happens sometimes with ext2fs Should not happen that often anymore in ext4
did not work even after reboot, reset, and sleep + wake.
Avatar
yeah, I/O errors stay there once they've appeared. you could try going in diags to see if the USBNet checkbox is checked or not If not, then it's very likely an I/O error. Recheck it and if it still isn't checked after a reboot, well
11:31 PM
fsck -vcck /dev/mmcblk0p1
Avatar
can you access the "emergency recovery shell"?
Avatar
let me grab it
11:34 PM
but first i need to open up linux (not on my computer right now)
Avatar
booting into diags
Avatar
Avatar
tux-linux
fsck -vcck /dev/mmcblk0p1
[root@kobo ]# fsck -vcck /dev/mmcblk0p1 fsck (busybox 1.24.1, 2021-03-07 23:08:10 UTC) fsck: fsck.auto: No such file or directory [root@kobo ]#
Avatar
no, if it's checked it's OK
11:47 PM
no need to fsck
Avatar
but it doesnt work in main
Avatar
also, why is the prompt [root@kobo ]# there?
Avatar
exported PS1
Avatar
it should only be #
11:48 PM
ah
Avatar
because # felt weird
Avatar
means root
Avatar
yeah, that's why there's # in the other one (edited)
Avatar
can you mount /dev/mmcblk0p3 /mnt
Avatar
let me boot in main first
Avatar
and cat /mnt/var/log/rc.log
11:49 PM
no
Avatar
mount mmcblk0p3 from diags
Avatar
no, i mean, see if usbnet works in main
Avatar
well it didn't work before so it shouldn't now... ?
Avatar
ye but still
Avatar
you can try anyway
Avatar
ok diags time
Avatar
well try to reboot in main to see if you have any luck
Avatar
usbnet supposedly started
Avatar
* Starting USBNet ... * WARNING: mass_storage is already stopped [ ok ]
11:53 PM
yes
Avatar
what kernel version?
Avatar
[root@kobo ~]# uname -a Linux kobo 2.6.35.3-inkbox #126 PREEMPT Fri Apr 2 13:47:28 EDT 2021 armv7l GNU/Linux [root@kobo ~]#
Avatar
ls -l /modules and then ls -l /mnt/modules
Avatar
[root@kobo ~]# ls -l /modules total 580 -rw-r--r-- 1 root root 31113 Mar 18 14:12 arcotg_udc.ko -rw-r--r-- 1 root root 261538 Mar 18 14:12 ath6kl.ko -rw-r--r-- 1 root root 3956 Mar 18 14:12 crc-ccitt.ko -rw-r--r-- 1 root root 53992 Mar 18 14:12 g_ether.ko -rw-r--r-- 1 root root 43885 Mar 18 14:12 g_file_storage.ko -rw-r--r-- 1 root root 49188 Mar 18 14:12 g_mass_storage.ko -rw-r--r-- 1 root root 3491 Mar 18 14:12 scsi_wait_scan.ko -rw-r--r-- 1 root root 3453 Mar 18 14:12 sdio_wifi_pwr.ko -rw-r--r-- 1 root root 21769 Mar 18 14:12 tcrypt.ko -rw-r--r-- 1 root root 88333 Mar 18 14:12 usb-storage.ko [root@kobo ~]# ls -l /mnt/modules total 580 -rw-r--r-- 1 root root 31113 Feb 24 02:39 arcotg_udc.ko -rw-r--r-- 1 root root 261538 Feb 24 02:39 ath6kl.ko -rw-r--r-- 1 root root 3956 Feb 24 02:39 crc-ccitt.ko -rw-r--r-- 1 root root 53992 Feb 24 02:39 g_ether.ko -rw-r--r-- 1 root root 43885 Feb 24 02:39 g_file_storage.ko -rw-r--r-- 1 root root 49188 Mar 18 11:25 g_mass_storage.ko -rw-r--r-- 1 root root 3491 Feb 24 02:39 scsi_wait_scan.ko -rw-r--r-- 1 root root 3453 Feb 24 02:39 sdio_wifi_pwr.ko -rw-r--r-- 1 root root 21769 Feb 24 02:39 tcrypt.ko -rw-r--r-- 1 root root 88333 Feb 24 02:39 usb-storage.ko [root@kobo ~]#
Avatar
did you upgrade/downgrade firmware recently?
Avatar
Avatar
tux-linux
did you upgrade/downgrade firmware recently?
i reset a couple of hours ago (edited)
11:55 PM
with root access
Avatar
Avatar
dill
i reset a couple of hours ago (edited)
problem
Avatar
because old modules aren't compatible with new kernel and resetting wasn't handled well in 1.3
Avatar
cp -rv /modules /mnt/modules
11:56 PM
sync
11:56 PM
reboot
11:56 PM
no
11:56 PM
well
11:56 PM
cp -rv /modules/* /mnt/modules
11:57 PM
yup, worked!
👍 1
11:58 PM
[dill@arch ~]$ sudo ifconfig enp0s26u1u2 192.168.2.1 [dill@arch ~]$ telnet 192.168.2.1 telnet: can't connect to remote host (192.168.2.1): Connection refused [dill@arch ~]$ telnet 192.168.2.2 telnet: can't connect to remote host (192.168.2.2): Connection refused [dill@arch ~]$ now what
Avatar
sshd
Avatar
oh yeah i'm very dumb
12:01 AM
how do i make some command run at boot (in this case, export PS1="[\u@\h \W]\$ " yeah, it bothers me that much ;p (edited)
Avatar
is kobo:/# really this bad?
Avatar
no but... i'm not that comfortable with it compared to [user@kobo ~]$
Avatar
don't have a solution for now my kobo isn't powered on and I've got some work to do, sorry
12:04 AM
maybe in bashrc , profile or something
Avatar
yeah, no problem! i didn't mean to interrupt your work, sorry :c
Avatar
no it's ok no worries
👍 1
Avatar
lol[root@kobo ~]# exit kobo:~$ exit exit kobo:~$ exit Connection to 192.168.2.2 closed. [dill@arch ~]$ exit
Avatar
yeah
9:34 PM
hahaha (edited)
10:47 PM
made a python calculator
10:49 PM
and that's advanced for me :/
Avatar
https://github.com/tux-linux/Python-works I did that when I was bored last year
A repository where I deposit my new Python programs. Please mention me in your programs if you want to reuse this code. Thanks! - tux-linux/Python-works
11:44 PM
mainly in french but anyways
Avatar
i read french
Avatar
discord updated its favicon
11:47 PM
and color scheme
Avatar
Which color scheme?
Avatar
for example
11:48 PM
11:48 PM
used to be
11:48 PM
11:48 PM
icon color also changed (edited)
Avatar
Oh, I don't get into the settings very often
Avatar
me neither
🅰️ 1
11:49 PM
reaction
11:49 PM
@dill
Avatar
what i was gonna say too
11:49 PM
ping
Avatar
@dill
11:49 PM
yeah true
11:49 PM
only in app for some reason
Avatar
I'm in the browser
Avatar
App's kinda useless Like, the App is just an Electron 'tab' with the framework inside
Avatar
well i noticed it's in browser too for some os'es
11:50 PM
true
Avatar
Avatar
dill
well i noticed it's in browser too for some os'es
windows rn
Avatar
maybe try changing user agent
Avatar
user agent?
Avatar
info about web browser/platform/etc
12:05 AM
In computing, a user agent is any software, acting on behalf of a user, which "retrieves, renders and facilitates end-user interaction with Web content." A user agent is therefore a special kind of software agent. Some prominent examples of user agents are web browsers and email readers. Often, a user agent acts as the client in a client–server...
12:22 AM
kinda doubt this is legal
Avatar
use GIMP!
Avatar
but yeah, strange that they don't say "enter your license key"
Avatar
Avatar
tux-linux
use GIMP!
i do
Avatar
hmm ... yeah.
12:24 AM
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
unofficial
Avatar
yeah maybe
Avatar
whaaaaaaaat this is a w e s o m e
1:26 AM
:D
Avatar
Nice!
👍 1
Avatar
Avatar
tux-linux
Nice!
What shocks me is the memory usage
8:40 PM
This could run perfectly on a Pi Zero
Avatar
FYI, I am now "them1ghtydill" on GitHub.
👍 1
NiLuJe joined the server. 5/19/2021 11:50 PM
Avatar
Hey, @NiLuJe!
Avatar
Hey! (fair warning, you won't see much of me: I hate discord with a fiery passion)
Avatar
Avatar
NiLuJe
Hey! (fair warning, you won't see much of me: I hate discord with a fiery passion)
May I ask why? Closed source, maybe?
Avatar
Sometimes people and apps/websites just don't agree
3:16 AM
Like for me, I hate Microsoft Store just because
Avatar
.... because Microsoft?
Avatar
... yes but also even if it wasn't.
Avatar
Avatar
NiLuJe
Hey! (fair warning, you won't see much of me: I hate discord with a fiery passion)
As myself with Windows, that for sure
Avatar
Electron/CEF doesn't help, but mainly it's the "let's do everything in one place" that irks me
Avatar
The question is... does Elektron help
4:52 AM
sorry, bad pun...
Avatar
Avatar
NiLuJe
Electron/CEF doesn't help, but mainly it's the "let's do everything in one place" that irks me
Yeah I understand your point. Electron apps are quite bulky... At least the web browser version of discord is practically the same as the app's, so that helps with consistency
Avatar
Avatar
tux-linux
then it is probably dead
surprise surprise
5:40 AM
it came back to life
BlauMond joined the server. 5/20/2021 9:23 AM
Avatar
Hello hello 🙂
9:25 AM
I'm BlauMond from mobileread, I want to port PostmarketOS (alpine-based mobile linux distro) to my Glo HD so I joined here to get some inspiration 🙂
Avatar
@tux-linux You mentioned that you got an Alpine build running on your Glo HD, may I ask how you did it? For now I am curious about the flashing and booting. Did you use your own uBoot or did you just flash your alpine image to the right place?
Nalco joined the server. 5/20/2021 1:02 PM
Avatar
Avatar
BlauMond
@tux-linux You mentioned that you got an Alpine build running on your Glo HD, may I ask how you did it? For now I am curious about the flashing and booting. Did you use your own uBoot or did you just flash your alpine image to the right place?
I started off an Alpine minirootfs and added all the remaining packages that were found in e.g. the raspberry Pi image of it via a chroot with qemu-arm. I just put the image in mmcblk0p1 after, no need to modify u-boot or the kernel, though I did both for InkBox. It's enough to get you started without any recompiling. I disabled the limited access of the file, you can now download it, sorry...
1:15 PM
Btw, hi!!
1:15 PM
And hi @Nalco too!
Avatar
Hi, thanks @tux-linux ! Can you explain the part about adding all the remaining packages that were found in the raspberry pi image?
1:18 PM
Was this necessary to get it running, or did you just do it to have more utilities that arent in the minirootfs by default?
Avatar
Avatar
BlauMond
Hi, thanks @tux-linux ! Can you explain the part about adding all the remaining packages that were found in the raspberry pi image?
There's a bunch of apk files in the rpi image, and you can just apk add them from the chroot I.e. look at the file names and the package name should come naturally. In doubt, look up alpine Linux <pkg name> (edited)
Avatar
Avatar
BlauMond
Was this necessary to get it running, or did you just do it to have more utilities that arent in the minirootfs by default?
Yeah, I needed to add openrc for example (all package names found in the rpi image)
Avatar
Avatar
tux-linux
Yeah, I needed to add openrc for example (all package names found in the rpi image)
Cool, thanks for clarifying !
👍 1
Avatar
@BlauMond you might want to flash my boosted kernel for more flexibility: https://github.com/tux-linux/kobo-kernel
(Mirror) A set of enhanced kernels for various Kobo devices - tux-linux/kobo-kernel
Avatar
@tux-linux thanks! Do I understand correctly:
  • you don't touch the u-Boot
  • you flash your custom kernel to mmcblk0 with seek=2048
  • you add some drivers
  • you flash your alpine squashfs to mmcblk0p1? (and is this the correct order or do I need to flash the alpine squashfs earlier?)
(edited)
Avatar
Avatar
BlauMond
@tux-linux thanks! Do I understand correctly:
  • you don't touch the u-Boot
  • you flash your custom kernel to mmcblk0 with seek=2048
  • you add some drivers
  • you flash your alpine squashfs to mmcblk0p1? (and is this the correct order or do I need to flash the alpine squashfs earlier?)
(edited)
Yes to all and the last one doesn't matter
2:01 PM
And bs=512 seek=2048 for dd
Avatar
Avatar
tux-linux
Yes to all and the last one doesn't matter
Got it, thanks a ton! I will test it this weekend!
👍 1
Avatar
Hey @tux-linux , is it necessary to use dd from inside the Glo HD, or can I just DD things onto the SD card from my laptop?
2:58 PM
And did I understand correctly that the squashfs image should be flashed as is? Or should I unsquash it first? 🤔
Avatar
Avatar
BlauMond
And did I understand correctly that the squashfs image should be flashed as is? Or should I unsquash it first? 🤔
Unsquash it first! But you just have me a wild idea for InkBox's recoveryfs...
Avatar
Avatar
BlauMond
Hey @tux-linux , is it necessary to use dd from inside the Glo HD, or can I just DD things onto the SD card from my laptop?
Either one will do
Avatar
Avatar
tux-linux
Unsquash it first! But you just have me a wild idea for InkBox's recoveryfs...
Thanks, so that's why it didn't work 😅
Avatar
Yeah, although a thing like that would be awesome
4:01 PM
Like, it could mount it at boot and with overlays, you'd still get r/w access but you would save space
Avatar
Hmm, how do I best unsquash it into something DDable?
4:02 PM
DD doesn't like directories
Avatar
Well, format mmcblk0p1 as ext4 and extract it in there
4:04 PM
Think of it as a rootfs tar archive. The best thing with squashfs is that you can mount the archive without extracting it. But in that case, you have to extract it (edited)
Avatar
Can't believe I didn't think of that 😁
4:06 PM
Thanks!
👍 1
Avatar
You're lucky because the Glo HD's kernel (3.0.35) is still supported by the latest Alpine version. You couldn't install Debian 10 on it (IIRC, even 9 wouldn't work) because the glibc version won't support that kernel. FATAL: Kernel too old! Yeah. And that's everytime it runs a binary.
Avatar
Avatar
tux-linux
You're lucky because the Glo HD's kernel (3.0.35) is still supported by the latest Alpine version. You couldn't install Debian 10 on it (IIRC, even 9 wouldn't work) because the glibc version won't support that kernel. FATAL: Kernel too old! Yeah. And that's everytime it runs a binary.
Not lucky, smart! I chose the GloHD because of its kernel version! 😄
Avatar
Nice, though I'm don't look forward to the days when that kernel too will be completely unsupported...
Avatar
Hopefully we'll manage mainline before that happens 😉
4:28 PM
or at least mainline + some drivers
4:28 PM
PmOS does this with a device-specific package for each device
4:32 PM
I am running into an error when attempting to start, any clue what I might have missed? Perhaps you ran into it too: Starting kernel ... drivers/misc/ntx-misc.c(msp430_i2c_probe): Can't allocate irq 395 [zForce_ir_touch_recv_data-259] command BootComplete (0)... PMU: ricoh61x_battery_probe : version is RICOH61x_BATTERY_VERSION: 2014.02.21 V3.1.0.0-Solution1 2015/02/09 EXT4-fs (mmcblk0p1): couldn't mount RDWR because of unsupported optional features (400) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
Avatar
Avatar
BlauMond
I am running into an error when attempting to start, any clue what I might have missed? Perhaps you ran into it too: Starting kernel ... drivers/misc/ntx-misc.c(msp430_i2c_probe): Can't allocate irq 395 [zForce_ir_touch_recv_data-259] command BootComplete (0)... PMU: ricoh61x_battery_probe : version is RICOH61x_BATTERY_VERSION: 2014.02.21 V3.1.0.0-Solution1 2015/02/09 EXT4-fs (mmcblk0p1): couldn't mount RDWR because of unsupported optional features (400) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
mkfs.ext4 /dev/mmcblk0p1 -O "^metadata_csum"
5:21 PM
So you have that type of kernel too
5:23 PM
I try to run Android from SD-card. This card is prepared. There are partitions: boot(FAT32), rootfs(ext4), system(ext4), cache(ext4) and usedata(ext4). Boot partitions has files to run u-boot: MLO, u-
Avatar
Another quick question regarding the drivers: I have both a "freescale" and "mx6sl-ntx" folder that have some driver files in them. Some of these exist in both folders. Which should I prioritize?
5:25 PM
And thanks so much!
Avatar
mx6sl-ntx
5:26 PM
But take the ones from my GitHub repo otherwise it'll complain about invalid format or module version
Avatar
Thanks for the hint, will do!
👍 1
5:27 PM
Perhaps change that in the readme aswell 🙂
👍 1
Avatar
Thank you for your patience and guidance @tux-linux !
👍 1
Avatar
Avatar
BlauMond
Thank you for your patience and guidance @tux-linux !
Good job!!
12:46 AM
Thank you for your patience and guidance
He has quite a lot of that, that's for sure ;p
👍 1
Avatar
I have started working on PmOS but I am struggling a little with the Kernel, I admit I have never compiled a kernel from source before
10:17 AM
I wanted to start out with the original kernel for PmOS porting since I don't know all the modifications you made and PmOS keeps the patches separate from the original source
Avatar
/arch/arm/configs/imx6s_ntx_alyssum_defconfig Is this the kernel config file that you used too?
Avatar
I used the default .config that was in the kernel source tarball. In doubt, on the Kobo: zcat /proc/config.gz
Avatar
Avatar
tux-linux
I used the default .config that was in the kernel source tarball. In doubt, on the Kobo: zcat /proc/config.gz
Oh damn, I had missed the ".config" file 😅
Avatar
Yeah, but using the zcat thing assures you that you have a bootable config
10:32 AM
And the mx6 alyssum defconfig should do too, haven't tested it
Avatar
I'll compare them just to be sure, thanks for the tip 🙂
👍 1
10:35 AM
I am lucky that you are working on this
10:36 AM
I have wanted to learn about this stuff for so long
Avatar
Well, I'm happy to help
Avatar
Now I have a chance to get some experience and you have given me great motivation and guidance
Avatar
But you'll see that as you go down the rabbit hole of issues, you probably won't like it as much ;p
Avatar
Did you have a lot of issues with the kernel from kobo?
Avatar
(I had some big trouble with InkBox when fixing an issue would cause another 2 to appear)
Avatar
Avatar
BlauMond
Did you have a lot of issues with the kernel from kobo?
Yes, and I'm suspecting that they did not release the latest tarball
Avatar
The tarballs seem to be 3 months old
Avatar
Wi-Fi driver never worked, no sleep mode, etc
10:39 AM
Imx507
10:39 AM
Not Glo HD
Avatar
Ah I see
Avatar
And that tarball is a lot older
Avatar
How has the Glo HD been working for you? You probably haven't messed with it as much yet?
Avatar
Well, it's better than the imx507s for a lot of things And while I haven't tested the kernel modules extensively, I didn't experience anything strange yet
10:41 AM
The main reason I didn't start InkBox on the Glo HD is because the screen was completely broken
Avatar
I'm glad I went with the Glo HD for my first try 😅
Avatar
Since then, the main board is hanging around next to the router, serving mediawiki with MariaDB
Avatar
Did you get wifi working on the glo HD or is it over USB?
Avatar
Didn't test it
10:42 AM
You can bridge usbnet though
Avatar
Cool, so I have some work ahead of me^^
10:44 AM
Btw I was curious about something I noticed on the stock glo hd
Avatar
Yep, I wish you luck Today I'll have to create a developer key system to add to InkBox's security policy... That will probably cause a lot of problems, but let's hope that in two days it'll be done....
10:44 AM
The power light stays on? No, just had a random idea
Avatar
It goes to some sort of sleep after a few seconds without touch input it seems, is this also the case for your inkbox?
10:45 AM
Like, you can't input to serial console?
Avatar
exactly
10:45 AM
and if I touch the screen, it works again (edited)
10:45 AM
I assumed to preserve power
10:45 AM
It makes sense for an ereader
Avatar
That's the I.MX watchdog, my friend. Your worst nightmare
10:46 AM
I once saw a way to fix it
10:46 AM
Let me check again
Avatar
I don't mind it all too much if it's possible to temporarily disable it while working on it
Avatar
I think you could watchdog the watchdog
Avatar
It sounds sensible to preserve battery power
Avatar
With watchdog /dev/watchdog or something like that
Avatar
I'll have to read about it more
10:48 AM
Try i2c probe at u-boot console, then boot
10:48 AM
That works for me in the mini and touch
10:49 AM
Because it's handled by a microcontroller
Avatar
Oh on the topic of uboot, how do I get the uboot console? I remember from an sbc that I just needed to press a button to interrupt the regular booting, but that doesnt seem to be the case here
Avatar
Oops
10:50 AM
Did you update to latest firmware before installing Alpine?
Avatar
I did that a few months back, but not recently
Avatar
Because that also installs an U-Boot build without bootdelay=0, but set to 1 instead
Avatar
Oh interesting
Avatar
On mine though I could access U-Boot right away
Avatar
I will give it a shot
10:52 AM
Made a backup of the original SD card thankfully 🙂
Avatar
Avatar
BlauMond
Oh interesting
On imx507 which were deeply locked down I had to recompile U-Boot and change the environment offset from 768 to 766, then change the envvar while it said "Environment broken - Bad CRC or MMC" then saveenv, writeenv and recompile with offset 768 (edited)
10:54 AM
That offset variable is somewhere in include/configs in the U-Boot tarball
Avatar
Did you use a new version of uboot?
Avatar
Well, technically not variable, it's a #define statement
10:54 AM
No
Avatar
The one I found on the glohd was quite old, some 2009 version
Avatar
They're all like that
10:55 AM
Heavily patched U-Boot source
10:55 AM
So they don't want to move to a new version because they have all they want
Avatar
I see, I feared that^^
Avatar
Bootloader's job is to load kernel into RAM then boot it, so anything else is extra ;p
Avatar
Avatar
tux-linux
Heavily patched U-Boot source
I even bet the Kindle PW4 is still using that 2009.08 tree
Avatar
Well it does its job, so I suppose it's okay for now^^
11:00 AM
That's an interesting read if you want to look: https://github.com/twhitehead/notes-kobohacking
Contribute to twhitehead/notes-kobohacking development by creating an account on GitHub.
11:02 AM
And this should be kept in a vault for future generations if you didn't already read it: https://libreplanet.org/wiki/Group:Hardware/research/e-readers/Kobo/Aura_H2O_Edition_2
11:02 AM
Like, the guy went so deep inside the Kobo... Not a Glo HD but some things might be useful
Avatar
Thanks for sharing!
👍 1
Avatar
Brain flash for the watchdog problem; since the screen is IR, you could put anything on it and it should register as if you were tapping it with your finger
Avatar
Avatar
tux-linux
And this should be kept in a vault for future generations if you didn't already read it: https://libreplanet.org/wiki/Group:Hardware/research/e-readers/Kobo/Aura_H2O_Edition_2
Yes, I think that giving a second life to the innumerable old devices is a great thing, and it should be documented, preserved and maintained
👍 1
11:10 AM
That was also the motivation behind postmarketOS I think
Avatar
Yeah maybe
Avatar
And good hint with the screen^^
👍 1
Avatar
Hey, sorry but I need more help 😅 Now I am getting an error while trying to compile. The makefile complains that the source tree is not clean (because of the .config file). What was your procedure in compiling the source by kobo for the glo hd?
Avatar
Huh?
3:37 PM
What toolchain are you using?
3:37 PM
You can always do make mrproper but this shouldn't happen
Avatar
pmOS has its own tool called "pmbootstrap" which uses GCC
3:41 PM
It does everything in an Alpine chroot internally
Avatar
Wait, but what source tree are you using?
Avatar
The one from kobo's github
Avatar
And you passed that to pmbootstrap ?
Avatar
Yes, it is downloaded and extracted directly by pmbootstrap, so it is unchanged by default
Avatar
You're gonna have problems
3:43 PM
I'd compile the kernel separately with a proper toolchain (or nickel TC) at least
Avatar
What do you mean by "proper toolchain"?
Avatar
Well, something that will lead to a bootable kernel
3:44 PM
Kobo HW is so finicky that just a tiny change in the compilation can mess everything up
Avatar
What did you use to compile the kernel?
Avatar
NickelTC
3:45 PM
koxtoolchain should work too
3:46 PM
But to give you an idea, successfully compiled kernels with NickelTC won't boot on imx507, and when compiled with the old 2013 provided toolchain, it works
Avatar
Hmm, I am not sure if/how other toolchains will work with pmbootstrap/pmOS
Avatar
Userspace is less finicky though
3:50 PM
Though when the libc doesn't want to work, it won't work
Avatar
But this error I got has nothing to do with this yet, so I think I want to try how far I can get with the pmbootstrap tools for now
Avatar
Did you try make mrproper ? (edited)
Avatar
I'll try to add it to the APKBUILD
Avatar
Yeah, or maybe just unpack the tarball and do it there, then repack it
Avatar
Woah it compiled! And I only had to patch two files in a minor way! Now let's see if anything boots 😅 (or perhaps there are more steps in between, don't know pmOS that well yet ) (edited)
Avatar
Don't get high hopes, that's all I can say
5:54 PM
Surely something is bound to fail, it can't be that perfect ;p
Avatar
MMC read: dev # 0, block # 1, count 1 ... 1 blocks read: OK hwcfg rootfstype : 2 hwcfg partition type : 2 Wrong Image Format for bootm command ERROR: can't get kernel image! 😁
Avatar
Yep
7:24 PM
Did you flash an uImage ?
Avatar
I already figured out I need a legacy uboot image, there is luckily a way to generate it from pmbootstrap 🙂
👍 1
7:24 PM
That's the next thing i'll try
7:25 PM
It would be cool if I get this working, I have confidence in pmOS tooling since many heavily locked down and modified devices have successfully booted it in some manner
7:25 PM
Many have even gotten mainline support over time
7:26 PM
it'd be great to add an ereader to that collection of devices
Avatar
Avatar
BlauMond
Many have even gotten mainline support over time
That's an impossible dream for me in Kobos
Avatar
I am not dreaming that far just yet either^^
7:27 PM
Even downstream kernel support would be great
Avatar
Yeah At least with recent kernels they introduced dtbs and such, sadly it was not like that when those old kernels were designed though
Avatar
Avatar
tux-linux
Yeah At least with recent kernels they introduced dtbs and such, sadly it was not like that when those old kernels were designed though
It appears someone is insane enough to try, I saw someone working on a DTB for the Glo HD 😁
Avatar
Too bad, mine's screen broken But good news indeed
Avatar
No text on this page apparently
Avatar
Odd, it works for me
Avatar
Screenshot (23 mai 2021 13 h 44 min 18 s)
Avatar
Linux kernel source tree. Contribute to apreiml/linux development by creating an account on GitHub.
7:45 PM
Avatar
Niceeee
Avatar
Have a look through the device list if you need any inspiration or hope 😁 https://wiki.postmarketos.org/wiki/Devices
7:50 PM
People have done quite a ton of awesome ports, even my dumb old Galaxy SIII Mini got limited mainline support
Avatar
Yeah, seems awesome Would be cool if the Pixels could get supported too
7:51 PM
(well, especially 4a)
Avatar
You can try doing it 😁
Avatar
Only if I had time ;p Since I decided to integrate X11 in InkBox, it has become a mess... Just to give you an idea: the mount command outputs 86 lines
Avatar
My android phone is not far ahead with 114 lines
Avatar
Mine has only 37 😁
7:58 PM
my debian laptop wins with 123 lines
Avatar
congratulations
8:00 PM
what in the world is going on with your laptop?
Avatar
pmbootstrap's chroots are responsible for most of it right now 😁
Avatar
aaah
Avatar
Now down to 40 without it
Avatar
still
8:02 PM
wait, I'll try to post the output of findmnt
Avatar
+ snap crap (edited)
Avatar
still quite a lot...
Avatar
Down to 28 without snap
8:12 PM
Seems to be mostly special system stuff
8:12 PM
Anyway I'll be off for today, thanks for your many pointers! I'll let you know about any progress I make (or bother you when I am not making progress) 😛
Avatar
Cool! see you (edited)
8:13 PM
(actually, there are 56 there because only X11 is running; at boot, with all filesystems mounted, you have 86 lines) (edited)
Avatar
Avatar
BlauMond
+ snap crap (edited)
Snap, as in snapd?
8:27 PM
I'm actually thinking about installing snap on LFS because I dont like compiling, what's wrong with me
Avatar
appimages
Avatar
For kde or xfce
Avatar
you want to install kde as a snap
8:29 PM
aaaaaaaaaaaaaaaahhhhhhh
Avatar
Yeah lol
8:29 PM
Idk
Avatar
Then your mount table will probably look worse than InkBox's one
8:32 PM
But do whatever you want... I'm just saying that some problems might appear
Avatar
Well... xfce?
Avatar
that too, probably
8:53 PM
but you can try
8:56 PM
Just in case (because... snap)... how do I uninstall snapd?
Avatar
make uninstall -- from the source tree?
Avatar
source tree?
9:10 PM
git clone tho (edited)
Avatar
whatever source you extracted the code from
9:12 PM
I... do not see a Makefile
Avatar
CMakeLists.txt ?
Avatar
Where are you seeing this
9:13 PM
I'm on github; snapcore/snapd
Avatar
read the readme, will you? ;p
Avatar
Under "Get involved"
Avatar
LFS went byebye
Avatar
Well, technically LFS is not a distribution
9:16 PM
HACKING.md?
Avatar
of course
9:18 PM
Guess what my computer's doing...
Avatar
Whee, Gentoo!
Avatar
Yep, you're right, compiling glorious LLVM ;p
Avatar
Oh man, I think I surplussed a good amount of those laptops at my old job
10:13 PM
That's a nostalgic feeling to see the chassis again
10:13 PM
It's an i7/i5 with I'm guessing 8 and 16 gb of ram
Avatar
i5 with 16GB RAM, yes
10:16 PM
It's starting to become seriously outdated but it still holds well for a 7 year old PC
10:16 PM
And now it's compiling Rust, which takes forever
Avatar
Gentoo. That was actually more pain than LFS, tbh
10:52 PM
Also how did I just discover zram
Avatar
You did not know that it existed before?
Avatar
Welcome to "awesome things you can do with Linux"!
Avatar
Had spectre/meltdown not been a thing, I probably would have stayed on my old thinkpad x200
👍 1
Avatar
Well, I know what I'll do with my broken Kobo Aura; install Gentoo on it
Avatar
Avatar
tux-linux
Well, I know what I'll do with my broken Kobo Aura; install Gentoo on it
hahaha- wait what
Avatar
Why not
4:18 AM
It will probably take weeks but still
4:23 AM
Speaking of why not
Avatar
you are the very definition of "why not" ;p
Avatar
would you like to join me on a test channel?
6:50 PM
just let me clear up my discord pings
Avatar
it will be on libera.chat
6:51 PM
wait I'll set it up
👍 1
6:51 PM
(and also wait for OpenBSD to start up ;p)
Avatar
It's on irc.libera.chat , channel ##inkbox-chat
Avatar
i love your status btw
Avatar
Yeah, now Arch and Gentoo are fighting together
7:06 PM
not loading...
Avatar
try irssi
7:06 PM
/CONNECT irc.libera.chat
7:06 PM
/JOIN ##inkbox-chat
7:07 PM
windows at the moment...
Avatar
couldn't you reboot?
Avatar
no, windows-only pc
7:07 PM
the other ones... wifi ;p
7:08 PM
shudders\ micro$oft $store (edited)
7:08 PM
seems it's available for windows
7:08 PM
uh
7:08 PM
maybe not that easily
7:09 PM
HexChat, an open-source, cross-platform IRC client
7:09 PM
that, maybe?
Avatar
$12.79 ;p
Avatar
ugh
Avatar
like, what? hexchat was free on linux
Avatar
i'll be on linux in quite a while, sorry. i'm downloading some other irc thing and will see if that works
Avatar
try "windows 7 64-bit installer" instead
Avatar
ah well i seem to be quite stupid
Avatar
but idk why it's 12.79 in ms store
7:11 PM
like, it's licensed under gplv2
7:11 PM
yes or no?
Avatar
yep
7:11 PM
should be good
Avatar
free software != gratis builds 😉
Avatar
Avatar
dill
Click to see attachment 🖼️
scam
7:12 PM
pressed connect and nothing happened and i did it like 10 times...
Avatar
maybe try only connecting to irc.libera.chat, no channel
7:12 PM
then /JOIN in the prompt
Avatar
try KiwiIRC (edited)
7:15 PM
that works, just tested it
Avatar
let me beg my mom to open my wifi because i cant be on anymore
Avatar
can't you ssh to the raspberry pi?
Avatar
hopefully be back at ~2:15?
Avatar
Yeah, no problem
Avatar
Avatar
tux-linux
can't you ssh to the raspberry pi?
nope, because... well. lineage
7:18 PM
os
Avatar
install termux on lineage
7:18 PM
and irssi there
Avatar
Why not do some compiling on this thing?
Avatar
haha wow
Avatar
ah, windows...
Avatar
didn't you try KiwiIRC? can you now?
Avatar
Avatar
tux-linux
didn't you try KiwiIRC? can you now?
linux now
10:36 PM
so yes
Avatar
Ok, I'll hop in in the channel shortly
Avatar
doing a quick Syu and then installing kiwiirc
10:40 PM
oof a linux update
Avatar
No kiwiirc is online
10:40 PM
In your web browser
Avatar
But since you're on Linux you can try irssi
Avatar
irssi running
Avatar
Ok, I'll be there soon
Avatar
yeah, waiting for hdd to respond
👍 1
10:46 PM
done. i'm there
👍 1
Avatar
stop it, i closed spectacle normally. what (edited)
Avatar
I've finally started writing some docs!
8:35 PM
Nice!
Avatar
Yeah, I needed to do it, was starting to forget all of that haha
Avatar
Yeah, it's a complicated thing without documentation
Avatar
I still need to do:
  • Filesystem organization
  • Mount tree, explanation of why it's so complicated
  • X11 misc
  • Dev keys
  • Spinning your own InkBox
etc.........
Avatar
Yikes...
Avatar
but filesystems and mounts will be fun I guess
8:38 PM
I'm at 104 lines for mount
Avatar
HOLY POO
9:07 PM
Avatar
hm ok
9:08 PM
you've beaten me
Avatar
how many lines?
Avatar
mount | wc -l
Avatar
that's pretty huge
Avatar
now 209 because time to chroot into lfs
👍 1
9:10 PM
and now time to die because glib refuses to compile
Avatar
good luck
Avatar
[1091/1109] Generating gapplication-man with a custom command FAILED: docs/reference/gio/gapplication.1 /usr/bin/xsltproc --nonet --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 -o docs/reference/gio/gapplication.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../docs/reference/gio/gapplication.xml I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl [1093/1109] Compiling C object tests/onceinit.p/onceinit.c.o ninja: build stopped: subcommand failed. (lfs chroot) [dill@lfs build]$
Avatar
are you connected to internet
Avatar
then idk
Avatar
on the internet it said something about... linux-doctools? not on lfs website tho so idk the dependencies or how to make it
Avatar
did you install docbook-xsl?
Avatar
i think so
9:15 PM
yes
9:15 PM
i did it yesterday
Avatar
can you wget that from lfs chroot? http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
Avatar
Then I really don't know
Avatar
I can also access it from firefox in bedrock
9:16 PM
alright let's see
bctux joined the server. 5/29/2021 9:39 PM
Avatar
Hello @bctux !
Avatar
Hey, bctux!
Avatar
Avatar
tux-linux
then idk
mkdir build && cd build && meson --prefix=/usr \ -Dman=true \ -Dselinux=disabled \ .. && ninja
12:03 AM
gulps and enters Dman=false
Avatar
I DESTROYED LFS
12:48 AM
AAAAAAAAAAAAAAAAa
12:52 AM
wait
12:52 AM
i majorly f*cked up
12:52 AM
deleted /lib
12:52 AM
that can be fixed tho right
12:53 AM
@tux-linux help 😭 im scared
Avatar
Difficultly
12:53 AM
If you have a backup
Avatar
Avatar
tux-linux
Difficultly
just recompile all the libs...?
Avatar
Avatar
tux-linux
If you have a backup
remember, i reinstalled arch, and forgot to backup... 🤦
Avatar
Yes, but without libs to recompile libs, how do you do?
12:54 AM
right
Avatar
How will you chroot without the lib for bash?
12:54 AM
ahhhhh
12:54 AM
wait maybe... compile for arch and cp to lfs
Avatar
Nooo
Avatar
or partial lfs reinstall
Avatar
That will probably cause libc issues
12:55 AM
You never backupped LFS?
Avatar
i did but then reinstalled arch 🤦
12:55 AM
without backup 🤦
Avatar
And you erased the backup (edited)
Avatar
Avatar
tux-linux
Nooo
why
Avatar
Avatar
tux-linux
That will probably cause libc issues
.
12:56 AM
wait
12:57 AM
the temporary toolchain...
12:57 AM
when i first built LFS...
12:57 AM
Avatar
... maybe ... ?
Avatar
:thonk: everything else is there. i thought i deleted /*
Avatar
but if you deleted everything in /lib you're not that much more lucky either
1:17 AM
is there a lot in /usr/lib ?
Avatar
let me check
1:18 AM
Avatar
libBrokenLocale.so this one always make me laugh but most of the optional software specific libs seem to be there, so maybe recompiling LFS and putting the new lib contents in /lib should do the trick
1:20 AM
or at least, give you a minimal set of tools to work with
Avatar
haha. but... recompiling lfs?
1:21 AM
😓
Avatar
well, you don't have any backup...
Avatar
or just libs, with temp toolchain
Avatar
Avatar
tux-linux
well, you don't have any backup...
my fault (edited)
Avatar
that might lead to an even more broken system
1:21 AM
uh
1:21 AM
wait
1:23 AM
stupid question
1:23 AM
cp /usr/lib/*library* /lib
1:23 AM
like, never
1:23 AM
did you read the FHS article on wikipedia? (edited)
Avatar
yes. i forgot :/
1:24 AM
time to do the temp toolchain thing
1:24 AM
i guess
1:24 AM
(ignore my status, two of my friends were saying the other one wasnt ok) (edited)
Avatar
but what is amy and hason?
1:25 AM
(or who)
Avatar
two of my friends
1:26 AM
thinks a moment Your friends are not okay ... okay ... 😅
Avatar
hahahhahaa
1:26 AM
we're all immature
1:26 AM
gottago bye
👍 1
Avatar
Avatar
tux-linux
thinks a moment Your friends are not okay ... okay ... 😅
not okay = crazy
Avatar
i.e. hason thinks amy isnt ok, amy thinks hason isnt ok, so i said both of them are not ok
Avatar
Ah... Well, how come they're friends ? ;p 😅
Avatar
theyre joking around ;p
2:00 AM
stupid question time again
Avatar
yep ... ?
Avatar
backup broken lfs
2:01 AM
make new lfs (scary)
2:02 AM
(stupid time!) cp broken lfs to new lfs so all my blfs stuff is back and /lib remains intact
2:02 AM
(overwrite)
Avatar
bad idea?
2:05 AM
but well, maybe?
Avatar
Avatar
tux-linux
bad idea?
does that mean it is a bad idea?
Avatar
yes, but you can try
2:07 AM
make a backup of the existing LFS before though
Avatar
Avatar
tux-linux
make a backup of the existing LFS before though
backup broken lfs
unless you mean the new one?
Avatar
yes. broken one
2:11 AM
well, both
Avatar
Avatar
dill
make new lfs (scary)
partial?
Avatar
Avatar
tux-linux
well, both
this time i'm storing the backup online
Avatar
Avatar
dill
(stupid time!) cp broken lfs to new lfs so all my blfs stuff is back and /lib remains intact
try it
Avatar
not today
Avatar
also will take a looooooong time
Avatar
Depends if your computer is fast ;p
Avatar
Avatar
tux-linux
Depends if your computer is fast ;p
4:05 AM
my dream computer would have something like a ryzen 9
4:05 AM
as you can see, this is... not my dream computer
Avatar
Yep me too haha
Avatar
Avatar
dill
also will take a looooooong time
idk where to start
4:40 AM
should i just start all over
Avatar
yep, that's what I'd do
4:41 AM
but eh, when you have time tho
Avatar
first. backup
4:43 AM
this still reminds me how much i screwed up dill@bedrock:~$ arch-chroot /mnt/lfs ==> ERROR: This script must be run with root privileges dill@bedrock:~$ sudo !! sudo arch-chroot /mnt/lfs [sudo] password for dill: chroot: failed to run command ‘/bin/bash’: No such file or directory dill@bedrock:~$ (edited)
Avatar
yeah, missing lib
4:43 AM
and /bin/bash exists, right?
4:44 AM
you can transplant busybox in there but even if you get a shell, most other things won't work at all
Avatar
Avatar
tux-linux
and /bin/bash exists, right?
yes
4:44 AM
dill@bedrock:~$ /mnt/lfs/bin/bash /mnt/lfs/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /mnt/lfs/bin/bash) dill@bedrock:~$
Avatar
yep, welcome to "fprintf strange error messages"!
Avatar
Avatar
dill
dill@bedrock:~$ /mnt/lfs/bin/bash /mnt/lfs/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /mnt/lfs/bin/bash) dill@bedrock:~$
You start to understand what it could have become if you transplanted the /lib from your current system to lfs ;p
Avatar
Avatar
tux-linux
you can transplant busybox in there but even if you get a shell, most other things won't work at all
i deperately want to know what libraries exactly were in /lib
Avatar
Avatar
tux-linux
You start to understand what it could have become if you transplanted the /lib from your current system to lfs ;p
yep...
Avatar
Avatar
dill
i deperately want to know what libraries exactly were in /lib
you can do ldd on some executables to see
Avatar
glibc was a big one
4:47 AM
Avatar
and that's normal
Avatar
Automated script to build Multilib LFS system + livecd - emmett1/lfs-scripts
4:48 AM
that should help you get LFS up and running faster, maybe?
Avatar
excuse me
5:03 AM
NetBSD is a free and open-source Unix-like operating system based on the Berkeley Software Distribution (BSD). It was the first open-source BSD descendant officially released after 386BSD was forked. It continues to be actively developed and is available for many platforms, including servers, desktops, handheld devices, and embedded systems.The ...
5:03 AM
check the 7.0 section
Avatar
Avatar
tux-linux
that should help you get LFS up and running faster, maybe?
yep
Avatar
I got to try this
5:09 AM
nvm
5:09 AM
lol
5:10 AM
alright, have to go
5:10 AM
bye!
👍 1
Avatar
see you
6:09 PM
but then i had this idea
Avatar
Yes
Avatar
bad idea idk
6:09 PM
so. i make a new system, then transplant /lib from new lfs to old lfs.
Avatar
Yes, that might work (edited)
Avatar
the problem is. that thing is multilib...
Avatar
The scripts?
Avatar
And you did not build LFS multilib?
Avatar
...no? its a pure 64 bit system...?
Avatar
You should try it still
6:11 PM
Maybe it'll work
6:11 PM
At worst, take the libs in lib64 instead
6:12 PM
yep
Avatar
Avatar
tux-linux
At worst, take the libs in lib64 instead
cp lib64 on broken lfs to lib on broken lfs?
Avatar
Yes
Avatar
wait. i could do that instead of making lfs again
Avatar
What?
6:13 PM
Well idk if it will work
Avatar
broken lfs: cp /lib64/* /lib/*
6:13 PM
in any case i'll make a backup as well
Avatar
first time to backup
7:27 PM
rsyncing 👀
7:29 PM
wait wait wait
7:29 PM
@tux-linux hang on... isnt lib a symlink to usr/lib???
Avatar
Usually, no
Avatar
lrwxrwxrwx 1 root root 7 May 26 14:16 lib -> usr/lib on arch/bedrock/debian at least. let me check lfs
Avatar
on gentoo lib isn't symlinked
7:30 PM
and gentoo is closer to LFS than arch or debian (edited)
Avatar
not in lfs :/
7:30 PM
yep
Avatar
tarring it up.....
Avatar
Might even be able to re-purpose a gentoo stage3?
8:50 PM
that's essentially an LFS-that-works ;p
Avatar
I hate gentoo as you hate Discord ;p
8:59 PM
8:59 PM
because some files like SSH keys and CA certs didnt have read perms
8:59 PM
Should I be worried
Avatar
@tux-linux Will this affect my backup?
Avatar
Probably not
Avatar
just to be safe, it's tarring again. but with sudo
12:24 AM
i might just replace sudo with doas
Avatar
Always tar a backup like that with sudo
Avatar
yes. i just forgot 😅
👍 1
Avatar
the lib64 thing won't work, there are only 2 libraries inside
1:38 AM
time for lfs-scripts?
Avatar
yes, probably
Avatar
also before that i found something on the internet that said "cp /lib from the livecd of your distro to /lib of broken install"
1:39 AM
there are lots of lfs livecds...
Avatar
that's a very, very, very bad idea
Avatar
compat issues
1:40 AM
./01-toolchain && sudo ./02-base && sudo ./03-mkiso let's see. i'll do a bash -e just in case
Avatar
yep
Avatar
dill@bedrock:~/lfs-scripts$ ./01-toolchain && sudo ./02-base && sudo ./03-mkiso mkdir: cannot create directory '/mnt/lfs/tools': Permission denied dill@bedrock:~/lfs-scripts$ (sarcasm) nice
Avatar
sudo before 01
Avatar
are you sure
Avatar
well
Avatar
i dont think youre supposed to make the toolchain as root
1:43 AM
let me check lfs site
Avatar
if you really want to take no risk, just run that in a vm
Avatar
there's no risk.
1:44 AM
/mnt/lfs isnt mounted
Avatar
oh, don't forget to mount it then
Avatar
dill@bedrock:~/lfs-scripts$ sudo ./01-toolchain && sudo ./02-base && sudo ./03-mkiso [sudo] password for dill: ./01-toolchain script need to run as regular user! dill@bedrock:~/lfs-scripts$nope...
Avatar
Avatar
tux-linux
oh, don't forget to mount it then
cant i just make an lfs chroot...
1:44 AM
lol
Avatar
well, find the line where it creates /mnt/lfs and add sudo before
1:45 AM
or chown -R dill /mnt
1:46 AM
dill@bedrock:~/lfs-scripts$ ./01-toolchain && sudo ./02-base && sudo ./03-mkiso > building 01-binutils-pass1 <<< > fetching http://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz > ./01-toolchain: 9: ./01-toolchain: curl: not found > failed fetch http://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz > dill@bedrock:~/lfs-scripts$ sudo pacman -S curl > warning: curl-7.77.0-1 is up to date -- reinstalling > resolving dependencies... > looking for conflicting packages... > > Packages (1) curl-7.77.0-1 > > Total Installed Size: 1.74 MiB > Net Upgrade Size: 0.00 MiB > > :: Proceed with installation? [Y/n] ^C > Interrupt signal received > > dill@bedrock:~/lfs-scripts$ curl > curl: try 'curl --help' for more information > dill@bedrock:~/lfs-scripts$ >
1:46 AM
what-
Avatar
$PATH probably
Avatar
whereis curl
Avatar
/bedrock/cross/bin/curl apt?
Avatar
facepalm
1:49 AM
no, seriously, you're doing that on bedrock?
1:49 AM
where else would i do it
Avatar
couldn't you just use standard debian?
1:49 AM
i dont have debian; i have bedrock
Avatar
everything will fail if you continue like that
1:49 AM
No, I mean real debian
1:49 AM
Like, maybe a liveusb?
Avatar
since you're installing it on a mountpoint
Avatar
mountpoint
Avatar
...?
Avatar
...cant i install on not a mountpoint
1:50 AM
like, empty $LFS
1:50 AM
i.e. test it out in a chroot first
Avatar
well, you can chroot into a mountpoint too
Avatar
that would make changes to current lfs which im a bit... worried about ;p
1:51 AM
i'd test it in a chroot first
Avatar
dd if=/dev/zero of=lfs.img bs=1M count=32768
1:51 AM
this will create a 32G disk image
Avatar
well, it's more portable?
1:52 AM
or you can use qemu-img
1:52 AM
How to mount a qcow2 disk image. GitHub Gist: instantly share code, notes, and snippets.
Avatar
cannot use VMs
1:52 AM
can use chroot. whats the problem with a chroot
Avatar
advantage with qemu-img is you can create an image and it expands as you use the storage space
1:52 AM
no, use an image that you can mount like a hard drive
Avatar
cannot use VMs
Avatar
then chroot
1:53 AM
ok let's see; thanks
👍 1
Avatar
Avatar
tux-linux
dd if=/dev/zero of=lfs.img bs=1M count=32768
dont know if i have enough space
Avatar
but you should really use something else than bedrock linux to do it
Avatar
Avatar
dill
dont know if i have enough space
use qemu-img
1:53 AM
qemu-img create -f qcow2 lfs.img 60G
1:53 AM
that creates a ... 135KiB disk image
1:54 AM
that expands up to 60g
Avatar
command not found
1:54 AM
qemu is installed
Avatar
qemu-utils maybe?
1:55 AM
dill@bedrock:~$ sudo mount lfs.img $LFS mount: /mnt/lfs: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error. dill@bedrock:~$
Avatar
did you not look at the link I shared above?
1:56 AM
and also, you didn't even format it
2:00 AM
there is no partition
2:00 AM
nbd0. no nbd0p1
Avatar
How would you create a partition on a SD card with fdisk ?
Avatar
Do the same with nbd0
Avatar
do i mkfs
Avatar
after you created the partition
Avatar
sorry - have to go
2:05 AM
see you
Avatar
bye!
Avatar
just tried garuda
5:26 AM
eugh...
5:26 AM
0/10 do not recommend
12:16 AM
Getting vaccinated
Avatar
me it's friday
12:29 AM
Just got it
Avatar
how was it like?
Avatar
It wasn't what bad!
1:41 AM
*That
1:41 AM
It hurts for less than a second then you have to make sure you keep moving your arm
Avatar
Hm ok thanks
👍 1
Avatar
You shouldn't worry
Avatar
yeah, though from what I've collected, the answer is, with no doubt, "your mileage may vary"
Avatar
mileage?
Avatar
that exists, no?...
Avatar
ahh yes
5:29 AM
arm is a bit sore right now but only where i got the injection
Avatar
usually it disappears after a day or two
Avatar
recommendation: if you're right handed, get the needle on the left arm
12:37 AM
also drink a lot of water
Avatar
Yeah I'm left handed But thanks
Avatar
ah, then get it on your right
Avatar
Btw did you try proxmox?
4:16 AM
That's amazing
Avatar
server thing?
Avatar
Just got it running on an old Mac
Avatar
for virtualization? cool!
Avatar
Combine KVM and a web interface
Avatar
ahhhh, nice
Avatar
good luck!
👍 1
Avatar
how was it
Avatar
Well, didn't get much side effects for now, hopefully nothing will appear later...
12:41 AM
Great :D
12:41 AM
Btw, I'm able to compile Palemoon tomorrow (maybe)
Avatar
Hmm nice
Avatar
I'm using a temporary solution for my monitor thing
12:42 AM
Will also try VirtScreen tho
Avatar
InkBox is about to get out too (for real, real, real, and real this time)
12:42 AM
Brb
Avatar
Avatar
dill
Will also try VirtScreen tho
Depends on when I can get a real distro installed
Avatar
I told myself that I needed to write the docs before but after that I'll probably release it
Avatar
Avatar
dill
Depends on when I can get a real distro installed
lightweight (i.e., console-only Alpine) would be better
12:43 AM
-- and armv7, not aarch64 because Kobos aren't 64-bit
👍 1
Avatar
i hate console only ;p
12:49 AM
messaging from lineage OS, btw
Avatar
better get used to it, because palemoon is the worst thing I've ever tried to compile
12:50 AM
access it over ssh if you want
Avatar
yes, ssh is a good idea
Avatar
Avatar
tux-linux
better get used to it, because palemoon is the worst thing I've ever tried to compile
wdym? errors?
12:58 AM
or ram
Avatar
Avatar
dill
wdym? errors?
both
1:00 AM
is there a lightweight distro with gui (wm?)
1:02 AM
preferably i3
1:02 AM
alpine with i3?
Avatar
yeah, that could do if you really don't want to just use SSH
Avatar
i've done some pretty stupid things over SSH
1:07 AM
(i.e. LFS)
Avatar
Well, you should learn not to repeat these errors anymore, because SSH will become more and more useful as you'll be using Linux (edited)
Avatar
yes. i should
1:13 AM
ssh is especially useful as i like to listen to music and use discord while compiling 😬
Avatar
...the audio jack doesn't work
1:33 AM
welp
Avatar
I don't have an audio jack on my rpi 400 ;p
1:34 AM
well, same thing ;p
1:34 AM
(since this one doesn't work)
1:37 AM
well time to install alpine i guess
Avatar
alpine installed
9:13 PM
ssh is being weird
9:14 PM
also, how would i go about building LFS on BTRFS?
9:14 PM
btrfs has snapshots which i need
9:14 PM
also i cant build from a liveusb because too little ram and buying more ram is not worth it
Avatar
aaaaa fsck it
10:29 PM
im installing arch on this rpi
Avatar
You could set up a chroot on Arch with Alpine Would that be more convenient?
Avatar
Avatar
dill
also, how would i go about building LFS on BTRFS?
Maybe? Btrfs doesn't have a particularly great reputation regarding stability and reliability though...
Avatar
Avatar
tux-linux
You could set up a chroot on Arch with Alpine Would that be more convenient?
yep
12:43 AM
apk just makes me so mad :/
Avatar
You can download the mini rootfs and start from there
Avatar
Pacman 6.0.0 is fast
Avatar
Avatar
dill
btrfs has snapshots which i need
Have you tried zfs?
Avatar
Nope, is it good?
Avatar
Definitely yes
Avatar
I.e. better than btrfs
Avatar
Tbh I haven't tried btrfs but so far I've read it's better
Avatar
Ah. I'll try it
Avatar
I mean most of btrfs (if not all) features are in zfs and it's just more mature
Avatar
How much ram do you have?
4:51 AM
Wait no
Avatar
You'll be fine
Avatar
That's on Rpi :/
4:51 AM
4g
Avatar
You'll be okay too
4:51 AM
Is it a 64 bit processor?
4:52 AM
(I'd tell you to read a bit about zfs before going for it, as the more you get what's going under the hood the better you'll be able to set it up, but IMHO you'll be amazed by it when you try it out :D)
Avatar
Avatar
fermino
Is it a 64 bit processor?
Yes it is (well I know it) Btw, very nice to see you here again :DD
Avatar
Avatar
dill
Pacman 6.0.0 is fast
You have military grade internet lucky you
Avatar
Avatar
tux-linux
Yes it is (well I know it) Btw, very nice to see you here again :DD
Thanks! I hop in every once in a while (I have the app in my phone)
5:03 AM
If it's x64 then ZFS on Linux will work just fine
Avatar
Don't know if you've seen what I'm preparing with InkBox but next release is gonna be huge
5:04 AM
(full X11/KoBox integration namely)
Avatar
Niceeee
5:05 AM
Is there any place I can take a look at the progress so far? I feel I've missed a ton hahahah
Avatar
Yeah, like I bridged Qt and X So you can launch apps with a simple tap
5:05 AM
Well there's the InkBox GitHub
5:06 AM
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
5:06 AM
There for boot things, main scripts are in initrd/common
Avatar
Avatar
dill
4g
Oh btw if you're on arch you might want to have an lts kernel as zol (zfs on Linux) as far as I can tell doesn't support kernel 5.12
Avatar
I'll take a look :D
👍 1
Avatar
Maybe you'll find that I am too concerned about security, but well I like how it's designed and how all the pieces finally start to match up together after months of exhaustive work
Avatar
Well, there's never "too much security", right?
5:10 AM
I bet! I mean, it's a ton of work for sure!
Avatar
My excessive use of OpenSSL and digital signatures is maybe a little too much?
5:11 AM
But I like to be serious
Avatar
Oh, for the updates and so on? (I remember having read something about it)
Avatar
Yeah, but also the rootfs gets verified at each boot and so does X11 things
Avatar
Nah, I think it's just fine and actually a good practice (that a ton of people don't care about)
5:11 AM
Oh, that's nice too
Avatar
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
Let's see
Avatar
Actually that script is a mess but it works
Avatar
Hahaha
5:12 AM
I'd say it's fine
5:13 AM
If people want to modify things, they probably know enough to figure out what the script is doing
5:13 AM
Actually, secure boot is more or less the same thing
Avatar
Concept is you have extensions you can drag and drop in exportable storage and you can launch the app via GUI with one tap, seamlessly
Avatar
The kernel and it's modules, I believe, get verified on each boot
Avatar
Avatar
fermino
Actually, secure boot is more or less the same thing
Wanted to enable that but seemed a little out of my knowledge, although I did modify some of the U-Boot code
Avatar
(But the keys are propietary and embedded in the hardware)
5:14 AM
Well, for secure boot you'd need UEGI
5:14 AM
UEFI**
Avatar
There's HAB for imx
Avatar
What is it about?
Avatar
Similar concept
Avatar
Nice
5:16 AM
Hey
Avatar
This post intends to provide all the information you need to understand and use the HAB on your Boundary Devices’ platform. For i.MX8 platforms, please see our newer post: HAB – i.MX8M Edition The goal is also to provide an update on our older blog post on the subject as it required an old U-Boot version. […]
Avatar
I have to goo to sleep
5:16 AM
Hahahah
Avatar
Me too
5:16 AM
Good night!
Avatar
Thanks! You too!
👍 1
5:16 AM
And if you happen to need anything, just DM me
👍 1
5:16 AM
I might not read everything here but I receive the notifications
5:17 AM
See u guys!
👋 2
Avatar
Avatar
fermino
Oh btw if you're on arch you might want to have an lts kernel as zol (zfs on Linux) as far as I can tell doesn't support kernel 5.12
On bedrock
6:36 AM
Bye guys :D
Avatar
Avatar
fermino
Is it a 64 bit processor?
Yep
6:42 AM
Pentium t4300 or something from 2009 ;p
Avatar
Seems Reddit and stackoverflow are down
12:30 PM
Equinoxs joined the server. 6/8/2021 5:46 PM
Avatar
Avatar
tux-linux
Seems Reddit and stackoverflow are down
I know there were some big internet outages here in Argentina
6:38 PM
I don't think it's related, but.... (?
6:39 PM
I'm not sure how big the thing was
Avatar
Fastly (CDN) went down for a bit, so all hell broke loose for a bit there ;p
Avatar
It was in California for the IPs that I checked
Deleted User joined the server. 6/8/2021 11:41 PM
Avatar
Welcome!
12:09 AM
It seems they are back up
Avatar
you're kind of busy right now (sorry) but i wanted to ask your opinion
Avatar
yes?
Avatar
  • building LFS with systemd
  • building on zfs (how? I assume enable it in the kernel and install xfs-progs before booting into LFS)
Avatar
Should be possible (edited)
Avatar
i also assume there's a systemd edition (edited)
4:56 AM
of LFS (I know there's one for BLFS IIRC)
Avatar
there is
👍 1
Avatar
also, grabbing the sources from the broken one instead of downloading them?
Avatar
if you stay on the same edition, it should be good, but since you want to go with systemd, i suggest you download them all and start clean
Avatar
yep sure, although the old one has systemd sources as well ;p
4:58 AM
alright! time to start, i guess...
👍 1
Avatar
also. bspwm how?
5:21 AM
would i download each of the sources for the dependencies and use the online instructions or...
Avatar
yes
Avatar
there seems to be only fluxbox, icewm, openbox and sawfish (edited)
5:25 AM
baskerville developed bspwm?! what!
5:30 AM
also. i miss arch, so... time to reinstall really quick
Avatar
using btrfs.
Avatar
finished cross toolchain
Avatar
update: finishing temporary system
Avatar
@tux-linux Are you available right now
12:00 AM
I'm having a bit of a problem compiling gcc
Avatar
And it is?
5:21 AM
Here
5:21 AM
5:22 AM
Yes, you get a crappy image of my reflective 2009 laptop screen... hang on
5:22 AM
5:23 AM
Avatar
Don't have any idea, sorry... Maybe you should ask on Linux questions? (edited)
Avatar
Yep sure
4:21 PM
Also asking on the Arch and Gentoo servers
Avatar
idea for InkBox
12:05 AM
make a KoboRoot that puts the option to install InkBox into nickel
Avatar
Avatar
dill
make a KoboRoot that puts the option to install InkBox into nickel
That's impossible InkBox OS is why
12:52 AM
just the .adds
12:52 AM
wait im stupid, just make a koboroot
Avatar
X11 support would be extremely difficult and would need serious kernel modifications and partition layout changes to correctly work
4:05 AM
did LFS just-
4:05 AM
disappear
4:05 AM
magically
Avatar
nvm it wasnt mounted properly or something wut
5:26 AM
ALSO GCC FINALLY COMPILED, YAY (edited)
👍 1
Avatar
Fixed by?...
5:38 AM
just worked
5:38 AM
idk
5:38 AM
maybe i actually didnt make a typo
Avatar
Ok...
Avatar
Avatar
dill
maybe i actually didnt make a typo
it was probably this tho
5:38 AM
i am now in chroot
5:38 AM
(ssh ofc)
👍 1
Avatar
@tux-linux time to start building the system CrazyEyes
6:23 AM
i hope i don't mess up! (edited)
6:23 AM
just in case, i am backing up the temp. system (edited)
👍 1
Avatar
hear about Windows 11?
Avatar
yes
Avatar
i'm on board as long as they keep the taskbar as it is.
👍 1
Avatar
Not planning to use it at all from my side
Avatar
since my family is a windows family
4:02 AM
¯\_(ツ)_/¯
Avatar
Avatar
dill
since my family is a windows family
although i solely use linux nowadays
4:02 AM
only windows for about... half an hour a day
4:06 AM
how's inkbox development going?
Avatar
1.5 will probably never see the light of the day 😂 It's been months and I still have improvements to make for a real release
4:09 AM
what kind of improvements
Avatar
well, not always improvements, but I have to do billions of usecase testing for each function in the OS to see if every single situation will be covered appropriately
Avatar
and thus, correct the billions of mistakes I made when I was coding the tested program
Avatar
try not to make too many features tho, or it'll be an absolute beast to debug
Avatar
It already has too much features
4:11 AM
and it's already a hassle to debug
Avatar
then remove some
Avatar
No, I like them I know no one knows inkbox os as well as myself, but I'm willing to go down a rabbit hole of debug issues if a problem happens
4:13 AM
(and I've already done that ... several times a week)
Avatar
But it has become so demanding that sometimes you feel that the Kobo's slowed down
4:14 AM
though, that's with 800mhz processors and 256mb ram If I port that to the Glo HD or the Clara, that probably won't be an issue
Avatar
yes, try to keep it minimal on the less powerful models
Avatar
Avatar
dill
yes, try to keep it minimal on the less powerful models
No, please... I'm already struggling to do a single release, not gonna start to strip some features or I'm gonna go crazy
Avatar
oh yeah that's tough...
4:16 AM
don't stress yourself out, work on one thing at a time 😄
Avatar
yeah... I hope that at least, I will have some (big) recognition by people when I finally get that release out
4:17 AM
And I'm wondering if I do the mupdf thing for 1.5 or 1.6
Avatar
Avatar
tux-linux
yeah... I hope that at least, I will have some (big) recognition by people when I finally get that release out
yes, it's a big thing
Avatar
But will people realize it?
Avatar
Avatar
tux-linux
And I'm wondering if I do the mupdf thing for 1.5 or 1.6
actually, already made major changes to some scripts (not easily revertible), so I have my answer
Avatar
Yeah, I'll do it for 1.5, it's just lots and lots of refactoring since mutool works in a completely different way than the other method I used before, unless you want to wait 2+ minutes for the book to open
Avatar
oh that sucks...
Avatar
so I'll do it one-page-at-a-time kind of thing, will load roughly 2-3 secs/page turn, so guess it's better than 2minutes
Avatar
yeah, it's similar to nickel's amount of time
Avatar
I'm just feeling that my brain holds too much things now and I have like a metric ton of work to do for the reader framework, I look forward to finally just publishing that and not worrying about it for two or three weeks
Avatar
i feel like that sometimes too, it's good to just space the work out. no need to rush
👍 1
Avatar
but, I did some good things for the update process and now it looks much simpler and works better than before
4:26 AM
4:26 AM
still, it's crazy what you can do with a shell script
4:27 AM
i prefer python tho
Avatar
python's wayyyyy less portable
5:38 AM
what was the alternative you suggested to make check in glibc
Avatar
nothing?...
Avatar
oh that was for gcc nvm
Avatar
~ compiling zfs on an atom D525 (edited)
1:26 AM
This WILL take a while
Avatar
Bet LLVM is up next ;p
Avatar
Reader framework now supports ePUB formatting!
6:28 AM
Nice!!
Avatar
Yeah, and almost no clipping out
6:43 AM
I'm working on it
👍 1
Avatar
If you really want to, skip the tests
Avatar
yep, what i'm planning to do is:
Avatar
Avatar
tux-linux
there should compiled binaries Just run the GCC one
this
Avatar
somehow 1 sbu just became a lot quicker
1:22 AM
wut
1:22 AM
for more than one package
1:23 AM
(i.e. no errors)
1:23 AM
weird.
2:01 AM
only 27 packages left to go
2:01 AM
(and linux 5.10.17)
2:01 AM
i think i might be able to finish by the end of tomorrow
👍 1
Avatar
Avatar
dill
only 27 packages left to go
*28, need btrfs-progs too 😅
Avatar
8 packages left
Avatar
Avatar
dill
(and linux 5.10.17)
I'm on 5.12.10 ;p
Avatar
Gentoo
Avatar
That explains it
Avatar
unstable, to be correct
Avatar
5.10.17 is the one on the website so that's what I'll use idk
5:32 AM
I don't want to break anything like I did last time
Avatar
hihihi
Avatar
Do I need e2fs-progs or do I replace that with btrfs-progs
Avatar
you better install them anyway
Avatar
Yea, I did that with the other one as well (installed a lot of fs-progs packages)
5:40 AM
since I am very panicked about the whole "oh no i might delete /lib again" I am backing up right now
Avatar
good idea
Avatar
but first... linux 5.10.17
7:34 AM
YES
7:34 AM
YES
7:34 AM
Avatar
@tux-linux just a thought... LFS on a Mini with InkBox as the host system? (I have an 8G SD card so maybe a 16G one would do??)
9:46 PM
Through serial...?
Avatar
Avatar
dill
@tux-linux just a thought... LFS on a Mini with InkBox as the host system? (I have an 8G SD card so maybe a 16G one would do??)
You might want to look into buildroot But Alpine is already well established and migrating to buildroot would be an absolute mess (edited)
11:03 PM
btw
11:03 PM
clipping out is now a thing from the past
Avatar
Avatar
tux-linux
btw
And try to guess what's new
Avatar
Avatar
tux-linux
clipping out is now a thing from the past
:DDD
Avatar
Avatar
tux-linux
And try to guess what's new
Title?
1:07 AM
what do you think?
👍 1
1:07 AM
useful or no
1:07 AM
:p (edited)
Avatar
@tux-linux help
2:11 AM
Avatar
gulps nvm im not installing NM
2:20 AM
i'm also installing scratchpkg
Avatar
Avatar
dill
Click to see attachment 🖼️
Probably gobject or something dependency missing?
Avatar
Checking the Gentoo ebuild is usually a good start if you're missing a dep
Avatar
Yep
Avatar
probably glib-utils or gobject-introspection
Avatar
I have all the required deps and some optional ones
Avatar
Avatar
dill
i'm also installing scratchpkg
Good idea or no
2:26 AM
Someone over at the Gentoo server said it worked for them (edited)
2:27 AM
(it's the venom linux package manager btw)
Avatar
Unless you want to break your shiny new LFS, I would stay away from it
Avatar
well i mean i have a backup so
Avatar
Do what you want then
👍 1
Avatar
I'm compiling git rn
2:30 AM
2:30 AM
i forgot to build asciidoc
2:31 AM
😂
Avatar
Avatar
tux-linux
1.4 ? Probably not until next week
Looking a bit at older messages... That's one thing you can never trust me about, for sure ;p
Avatar
Avatar
fermino
This WILL take a while
So after not being able to boot anything (not even debian) I just went with arch and it just worked. My guess was that there's something odd with the bios and EFI installs. I just installed it as BIOS and it's working
👍 1
Avatar
Well I just received my new Glo, found for $30 on marketplace
8:32 PM
So one more target available for InkBox
Avatar
Nice :D
👍 1
Avatar
scratchpkg has not broken LFS
👍 1
12:18 AM
so far
12:18 AM
ofc, i havent even added a repo to sync from yet (edited)
Avatar
i guess... i need to... chose a repo??? (edited)
Avatar
Yes?...
Avatar
fumbles around internet\
1:04 AM
cries\
Avatar
I don't get it...
Avatar
I said to use long options for Syu
4:25 PM
And he told me to seek help
6:36 AM
aaAARGH
6:36 AM
it's ALWAYS
6:36 AM
the XORG LIBRARIES
Avatar
First entry in that list seems legit 😄
8:55 PM
(Happily avoiding it like the plague since its inception, OpenRC ftw) (edited)
Avatar
I use systemd but only because it's easier to use...
Avatar
Avatar
dill
Click to see attachment 🖼️
They should add a "accidentally removed /lib" option
Avatar
Avatar
dill
aaAARGH
yes I got it
Avatar
cries NOOOOOOOOOOOO
Avatar
fsck LLVM
Avatar
@tux-linux help? also sorry for ping but i'm really stumped...
8:29 PM
llvm wont compile, and mesa needs llvm, and xorg applications need mesa
Avatar
let me try to ninja again
8:43 PM
I KNEW IT
8:45 PM
I need to disable Gallium
Avatar
Avatar
NiLuJe
First entry in that list seems legit 😄
I love systemd
Avatar
hey guys, I have a question if any of you have a sec
6:26 PM
I'm trying to backup a huge stream to tapes, and I can't figure out a way to span the backup to multiple tapes. I know I can do tar -M and that works fine, but so far I've tried tar needs a list of files, and I only have a stream of data (zfs send). I was thinking of using split but I don't know if there's a way to mimic tar's behavior of telling me "hey dude change the tape" and waiting for me to tell it to continue.
6:26 PM
thanks though 😄
Avatar
Split with the filter option, maybe?
6:33 PM
@fermino
Avatar
Avatar
fermino
I'm trying to backup a huge stream to tapes, and I can't figure out a way to span the backup to multiple tapes. I know I can do tar -M and that works fine, but so far I've tried tar needs a list of files, and I only have a stream of data (zfs send). I was thinking of using split but I don't know if there's a way to mimic tar's behavior of telling me "hey dude change the tape" and waiting for me to tell it to continue.
You mean... real tapes? cool! So you have a big data stream to send to tapes. I suppose you send that stream to some /dev/* device? And you split the stream to multiple files... But you cannot keep the files on the disk since it's too huge, right? Thus, you need to find a way to tell split to stop each time the tape's full and let it continue. Have I understood correctly?...
7:25 PM
Maybe you'll find something in the --filter option, as pgaskin said That might help you: https://stackoverflow.com/questions/38645207/send-output-from-split-utility-to-stdout
From this question, I found the split utilty, which takes a file and splits it into evenly sized chunks. By default, it outputs these chunks to new files, but I'd like to get it to output them to s...
Avatar
That's neat, thank you both! (sorry for not responding before, busy day). I think it should work well; I just need to figure out how much space there's actually in the tape. They're advertised as 400GB, but I'll have to try that out.
Avatar
that must take hours to back up ...
Avatar
I'll probably end up making a script to grab the snapshot, split it, and then pipe it through pv to be able to actually see how far it's come
Avatar
good idea, yes
Avatar
YES. I think it's writing at ~60MB/s
Avatar
That fast?
4:12 AM
I thought tapes were even slower
4:12 AM
Or it's some professional-grade tape I'd guess
Avatar
Supposedly LTO-3 drives can go up to 80MB/s. Tested taking from /dev/zero and it reached 82 i think, but with real data it goes down
4:14 AM
Sort of, it's kind of old but it's supposed to be enterprise grade; found it on mercadolibre.com (ebay-like, local) reaally cheap (edited)
Avatar
nice
4:14 AM
What drive are you using to read/write to it?
Avatar
Its an HP Ultrium 1760 (SAS)
Avatar
nice
4:16 AM
and I guess there's no random access to the data
Avatar
so you have to read it all to see some particular file you need
4:16 AM
*nice*
Avatar
Well, I guess if you know where it's at you could just fast forward there
Avatar
It's not compressed data, right?
Avatar
Not really
4:17 AM
i mean, the drive has some sort of compression algorithm already; but besides that I'm not using anything
Avatar
couldn't you make an xz pipe on-the-fly to speed things up? (edited)
4:18 AM
But well, this is an Atom D525
4:18 AM
So....
Avatar
Ouch
Avatar
Might benchmark it with gzip or lz4
Avatar
Now let's do the math of "Is backing up uncompressed data to tape faster than doing it with an xz pipe but seriously heavy-loading the CPU"...
Avatar
Also, I'm still thinking between going for zfs send, or actually using tar for it. The problem with zfs send is that if I have any problem with one tape, the whole snapshot is unusable. With tar, it should be a little bit more reliable
Avatar
You could use zfs send and pipe that to XZ to make a raw compressed dump
4:20 AM
zfs send (or whatever your data stream comes from) | split file ... | xz > file.xz
Avatar
This is without anything besides the drive ;-;
Avatar
mem and swap is decent though
Avatar
(you don't want to know how much time it took to compile zfs hahahah)
Avatar
Let's talk about LLVM!
4:21 AM
or qtwebengine
Avatar
hahahahah
Avatar
Avatar
fermino
(you don't want to know how much time it took to compile zfs hahahah)
how much?
Avatar
Avatar
tux-linux
Let's talk about LLVM!
and my thousand errors trying to compile it lmao
Avatar
I didn't measure it
4:21 AM
But... A while
Avatar
which means...?
4:21 AM
a day, two days, three days, one month...?
Avatar
at least a day i'm guessing
Avatar
xD I just remembered you guys do have experience with this
4:22 AM
It didn't take more than an hour
Avatar
Maybe 30mins?
Avatar
LMAO
4:22 AM
wow....
4:22 AM
really, you shouldn't complain
Avatar
that's fast in my standards
Avatar
llvm and 16 hours on my raspberry pi...
Avatar
oh boy..
4:23 AM
Yeah, nevermind xD
Avatar
my next goal is to get gentoo running on some imx507 crap
Avatar
Avatar
dill
at least a day i'm guessing
(btw I didn't recompile the whole kernel, just the DKMS module)
Avatar
Avatar
tux-linux
llvm and 16 hours on my raspberry pi...
Yeah, even worse: installing Gentoo on a thin client took 2 days ... just to compile the kernel
Avatar
(i have no idea how to not recompile an entire kernel when i want to compile 1 module)
Avatar
make modules at least
Avatar
(it gave me an error)
Avatar
how-to-not-use-a-tape drive-101
Avatar
Good luck 😅
Avatar
the problem with it is that at low speeds it "shoe shines"
3:55 PM
The drive head goes back and forth and it wears down the drive and the tape
3:56 PM
So supposedly I should go at least at ~85MB/s to avoid that :/
3:59 PM
btw I gave up on trying to store the whole zfs snapshots because one error would render the whole thing unusable
3:59 PM
And also I gave up on having a progress bar with tar
3:59 PM
Now I'm gonna try to use mbuffer to avid destroying the tape 🙂 (edited)
Avatar
Again, good luck, hopefully you won't have backups less secure than their original versions...
Avatar
Thanks 😄
👍 1
4:01 PM
hahahah I hope not
Avatar
Well, found the problem
4:49 PM
tar totally wrecks the CPU. The max throughput I'm getting is ~70MB/s but totally maxing out a CPU core
Avatar
maybe try with a lighter compression algorithm?
Avatar
No compression ;-;
4:50 PM
hahahaha
Avatar
can't you make it use multiple cores?
Avatar
I mean, is not too bad...
Avatar
Avatar
tux-linux
can't you make it use multiple cores?
I'll try that out
4:51 PM
The other option would be to force tar to use one core and the buffer/dd to use another
Avatar
I've never done that, but multiple cores using tar should be enabled by default
4:51 PM
(imo)
4:53 PM
Seems you have to use a compression algorithm
4:53 PM
I'd go for pigz then
4:53 PM
But the actual archiving process I think still runs in one thread
4:53 PM
Avatar
... maybe ... use another archiver?
4:54 PM
Is there something out there for parallel archiving of files? Tar is great, but I don't use tape archives, and it's more important to me that the archiving happens quickly (with compression like b...
Avatar
yeah
4:54 PM
we got to the same question lol
Avatar
hahahah
Avatar
Though 7-zip has its limits and doesn't handle Linux ext4 things very well sometimes (edited)
Avatar
I'm running zfs, though
Avatar
ah true don't know if it handles zfs well either though ;p
Avatar
hahaha
4:56 PM
maybe cpio?
Avatar
(Another problem is that the tape itself has internal compression, so even if I feed it 80megs/sec but it's compressible data it would shoe-shine it as well)
Avatar
if that can handle multiple cores
4:57 PM
https://linux.die.net/man/1/star throwing ideas, don't even know if it will work
Star is a very fast tar(1) like tape archiver with improved functionality.
Avatar
I'll try booting without smp first, because I'm actually using tar's multi volume function
4:57 PM
I've kind of seen it
4:58 PM
Amidst the hundreds of pages I've been surfing lately hahaha
Avatar
But... couldn't you like mount a remote folder via sshfs containing the compressed files/stream or is it only on the machine?
Avatar
It is only in the machine
Avatar
then, sshfs from the machine to remote
4:59 PM
and back to the local machine with compressed streams from a faster computer
Avatar
Well that's an option
4:59 PM
Yeah, might not be bad
Avatar
(or NFS, don't know which is more reliable) (edited)
Avatar
Well this is not bad
5:03 PM
Avatar
still too slow, no?
Avatar
It is slow but I don't hear the tape stopping every 2 secs hahaha
Avatar
cool if it works
Avatar
😄 Not bad at all
👍 1
5:37 PM
Now I'm lost
5:38 PM
it seems that tar's multi-volume option closes/EOF's the stdout after finishing the first volume, so the second volume doesnt' go through the buffer but get's sent to the terminal :/
5:39 PM
tar --tape-length=1G -cMf - /home/fermino | mbuffer -m1G -P50 -R70M -q -l /mbuffer.log | dd of=/dev/st0 bs=8M status=progress (edited)
Avatar
so after first volume, output is redirected to console, like stderr or something?
5:39 PM
mbuffer and dd exit
Avatar
maybe there's an option to tell pipes to grab all output?
Avatar
Yeah... I've been trying to find something like that
Avatar
I have a program that writes information to stdout and stderr, and I need to process the stderr with grep, leaving stdout aside. Using a temporary file, one could do it in two steps: command > /...
5:40 PM
maybe?
Avatar
The thing is that
5:40 PM
I don't think it gets sent to stderr
Avatar
Well it must be sent to something
Avatar
But rather that mbuffer detects the EOF and closes the fd
5:41 PM
I'll try nulling stderr to see what happens
👍 1
5:43 PM
Nope, it's still stdout
Avatar
Uh?
5:44 PM
so it sends an EOF and then the output gets to stdout, but before it is piped?
5:44 PM
Like
5:44 PM
The whole thing works for the first volume
5:45 PM
Then tar (supposedly) sends an EOF and prompts the user to change the tape. I press enter and the thing doesn't get pip'd anymore
5:45 PM
tar --tape-length=1G -cMf - /home/fermino 2>/dev/null | mbuffer -m1G -P50 -R70M -q -l /mbuffer.log 2>/dev/null | dd of=/dev/st0 bs=8M status=progress 2>/dev/null
Avatar
that's becoming a scripting nightmare definitely
Avatar
I guess you can try it out, just change the dd output
Avatar
Avatar
tux-linux
that's becoming a scripting nightmare definitely
Yeah, literally all the options lead to this
5:46 PM
Wheter it's just trying to get a progress bar / avoid shoe shinning / whatever
5:47 PM
Maybe I just need to split the folders in half hahahahah
Avatar
I'd do something like (pseudo code) if read line EOF < stream; then restart process with vol. nb?
Avatar
hmm yeah
5:48 PM
That might actually work
5:49 PM
I mean, if there's anything that helps me handle EOF without closing the fd (I mean, I'm guessing an EOF. Couldn't if be that it also closes the fd too?, IDK)
Avatar
that's out of my knowledge, sorry 😬
Avatar
You're good!
5:53 PM
I'm trying to create a tar of a large LVM volume onto multiple external drives. That part is solved. Now, because it is a LONG process, I'd like a progress bar. From the excellent articles here,...
Avatar
hmm
5:54 PM
So a fifo could maybe be of help
Avatar
Waittt.... I'm guessing: The tape reports an EOF when it's about to run out of space (that's a special kernel thing for the tapes), so tar handles that by prompting for a new tape
5:54 PM
So,
Avatar
yes ...
Avatar
What if the --tape-size is the actual thing that is closing the fd?
Avatar
but then, you'd have to handle changing tapes with another way
Avatar
I still can pass it a -M and let the autodetect feature work its way
Avatar
Then what happens if you try without?
Avatar
I'm using the --tape-length just to try it out without waiting 2 hours (edited)
5:56 PM
I'll put a smaller tape and try that out
👍 1
Avatar
What if... I then put the whole thing to another mbuffer+dd?
7:17 PM
I mean... in theory it should work
Avatar
maybe
Avatar
Has anyone ever experienced something like this? I got a string, "true", which is read from a file using cat and put into an env var. That string contains a new line character "\n" which I thought bash/ash didn't make a difference between that and the string which didn't have one. So, with that in mind, I compare the var: if [ "$STARTX" == " true" ]; then do something fi Initially, I did echo "true" > /mnt/flags/X11_START, which is the file holding this value. The comparison equals false when done. Now, if I do echo -n "true" > /mnt/flags/X11_START, the comparison equals true. Like ... why ... on ... earth ...?
Avatar
Because the LF matters
Avatar
really? I've already done tens and tens of string comparisons with \n in the file/string and it returned true
Avatar
Nothing strips it until you ask for that explicitly
8:06 PM
[[ "true" != "true\n" ]] && echo "true ;)"
Avatar
Maybe is it because I did echo that with the fish shell
Avatar
I don't use fish, but echo -n is not portable, and has a long list of weird quirks
8:08 PM
Just use printf
Avatar
I tried with bash now, let's see what it returns
8:09 PM
And it seems to work (with a newline character). So fish's echo is not for that job
8:09 PM
Yeah fish is not POSIX-compliant at all, I'd love if it was, but I mainly use it because it remembers everything I do and I can just tab/right arrow for command completions
8:11 PM
Here's cat -A's output. First 5 flags were done with fish's echo (no -n) and the last one with bash's echo (again, no -n) gentoo-linux /run/media/nicolas/341C02201C01DE2C/inkbox-img # cat -A /mnt/flags/* false$ true$ false$ false$ false$ true $
8:14 PM
Interestingly enough, the FIRST_BOOT flag which was written with fish got recognized by the OS at boot. No idea why X11_START didn't. Anyways, I re-did that with bash now, hopefully all will work well, thanks
Avatar
Something (cat or the substitution itself) might be stripping trailing newlines in some circumstances
8:15 PM
The details don't necessarily ring a bell off the top of my head ;p
👍 1
Avatar
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
8:16 PM
That's where it is compared
Avatar
But echo -n (or, basically, echo itself) is usually a recipe for disaster and weird broken quirks
8:16 PM
Use printf, as shellcheck would ask
👍 1
Avatar
Ok, I'll remember that
8:17 PM
Though most of the current stuff is working with echo for now with busybox ash and Qt. I'll probably use printf for later stuff, thanks
Jules Bertholet joined the server. 7/2/2021 6:34 PM
Avatar
Hello again
Avatar
Jules Bertholet 7/2/2021 6:45 PM
Bonjour
6:45 PM
Is there a downloadable package for the 1.5 version?
Avatar
Well yes
6:46 PM
Where did you see that it's been (silently for now) released?
Avatar
Jules Bertholet 7/2/2021 6:46 PM
Github
Avatar
Cool
6:46 PM
What's your Kobo model?
Avatar
Jules Bertholet 7/2/2021 6:46 PM
Aura H2O2 v2 (edited)
Avatar
Hmm sadly I'm don't have support for that device
6:48 PM
Mainly because it doesn't have an internal SD card
6:49 PM
I could, if you really want to, provide you a .adds package, but the feature set is greatly reduced without InkBox OS
👍 1
6:49 PM
I only support the Mini, Touch N905C and Glo currently
6:50 PM
FYI, the packages are usually there: http://pkgs.kobox.fermino.me/bundles/inkbox
6:52 PM
Does that thumbs up mean a 'yes, I want it'?
Avatar
Avatar
tux-linux
Does that thumbs up mean a 'yes, I want it'?
Jules Bertholet 7/2/2021 6:53 PM
It would be nice to have, yes. This looks like a really cool project
Avatar
Thanks! I'll see if I can make you that by tomorrow maybe But if you want to test it out better, you should get your hands on one of the three supported models if you can. Because X11 won't run with Nickel. I'll publish a video soon with all the features demoed.
Avatar
Also, the H2O² is super weird in terms of input
9:15 PM
(Especially so on the first gen variant)
Avatar
Avatar
NiLuJe
Also, the H2O² is super weird in terms of input
can confirm
Goran joined the server. 7/4/2021 9:40 AM
Avatar
Hello @Goran !
docphees joined the server. 7/4/2021 7:15 PM
Avatar
Hello @docphees !
Avatar
@Jules Bertholet Didn't have much time lately to make the Nickel package. However, I'm currently working on an emulator version of InkBox with QEMU that should allow more people to try it. I'll see if I can make you that Nickel add-on soon.
👍 1
Avatar
Coming soon
Avatar
And we have our keyboard!
👍 1
Avatar
And the search button does something now!
4:25 AM
Avatar
great!
👍 1
Avatar
So. Do I wipe Nickel on the Libra and start working on InkBox, or do I work on NickelBoot for the Mini?
2:29 AM
well it depends on what you want to do ;p
Avatar
InkBox 1.6 is out! http://pkgs.kobox.fermino.me/bundles/inkbox/native/update/1.6/ It introduces a "Go to page" function and the search button now does something when you click it. Also, a VNC viewer (based on krdc from the KDE project) is included for users with rooted devices
FxFyu1v1 joined the server. 7/12/2021 9:33 PM
Avatar
Hello @FxFyu1v1 !
Avatar
Hello!
9:36 PM
You must have reflexes of steel lmao
Avatar
What brought you here?
Avatar
The InkBox 1.5 Reddit thread
Avatar
Cool
Avatar
Avatar
FxFyu1v1
The InkBox 1.5 Reddit thread
well 1.6 is out now ;p
Avatar
Yeah. I saw in that thread that @tux-linux was considering a Clara HD build and I just got one so I figured maybe I could help as a tester if that ends up happening.
Avatar
Sure, I was thinking about that lately. Sure it would be awesome! Already testing on my Libra which has an eMMC, so a lot more dangerous but it works, so a bit of the hard work is already done for kernel/hardware porting. I could provide you instructions for initial porting/testing. How much are you familiar with Linux in general?
Avatar
I'm not much of a developer (just a little), but I've been a user for years now.
Avatar
Cool. Now for kernel porting, a serial connection to the device would be ideal. Dunno if you'd be willing to open your device... though, it's the best debugging way we have.
1:54 AM
(also, opening it would be necessary to reflash the internal microSD card)
1:55 AM
(which you can backup before)
Avatar
iirc they're pretty easy to open
1:56 AM
Shouldn't be a problem
Avatar
Do you have an USB-to-serial adapter/Arduino/Raspi you could plug the wires in? (edited)
Avatar
I should have a couple lying around
Avatar
Then I think you're good
1:58 AM
Honestly, you can just put toothpicks to hold the wires in place and never solder them
1:58 AM
that's what I do all the time
Avatar
Probably what I'll do
Avatar
When would you be willing to start experimenting?
Avatar
Might be able to open it sometime this week
Avatar
cool
Avatar
I'll have to find my adapter
👍 1
Avatar
I'll try to compile a kernel for it meanwhile
👍 1
Avatar
Thanks, appreciate it.
👍 1
3:27 AM
https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2334 They even cited InkBox in there! (edited)
Hi, this adds support for the Kobo Clara HD ereader. It includes both the vendor kernel and the mainline kernel with...
Avatar
damn, mainline kernel
Avatar
yeap, they're lucky
3:49 AM
Don't know if for InkBox I'm going to choose that option. Read about the waveform a bit... Though, 4.1.15 kernel is still fine IMO
3:49 AM
On older devices (e.g. Mini, Touch, Glo) I had to stick with 2.6.35.3 🤮
3:50 AM
I mean, after some time you find workarounds for certain things that won't work and adapt, but it's still a mess to handle. E.g., can't run decent rootfs with glibc versions > 2017 because of FATAL: Kernel too old!
Avatar
y i k e s That's what's nice about mainline support - it'll be there once kobo give up
Avatar
At least, yes. Thing is, Kobo has already given up for Touch/Mini/Glo since a long time and I don't know if somebody is going to look into porting a newer kernel (I'm not at the level of porting a kernel myself) musl libc is there to assure compatibility though at least (edited)
Avatar
Yeah. I'm sure mainline is possible, but probably not worth the effort for anyone.
Avatar
yep, especially given the fact that 2.6 was pre-dtc/dts/dtb
4:36 AM
the person from the thread did it! (edited)
Avatar
Wow
Avatar
that could be a very good project
4:37 AM
inkbox as an app
Avatar
Honestly I'm not sure they'll be able to 'package' it as they say
4:39 AM
The underlying infrastructure is so complicated that most of the features (X11, namely) won't be available. Though, getting basic reader stuff work would not be too much of a hassle I'd think (edited)
Avatar
yep, that is true. there would be no point in packaging X11 tho.
Avatar
it is already in pmOS, yeah
4:40 AM
Well, someone could fork it, and just writing "false" to /boot/flags/X11_START is already a good start for disabling it
Avatar
yeah, or simply forking + removing X11 from InkBox entirely (edited)
Avatar
I think keeping the main build on upstream would be good for them, and honestly there isn't much more to modify to hide X11 options entirely. It's as simple as that: https://github.com/Kobo-InkBox/inkbox/blob/218b64ef7f696e3830df3b4ba2e5702ff8197a70/apps.cpp#L29-L40
Avatar
yeah, but X11 would make the package heavier
Avatar
why?
4:43 AM
it's -- separate --
Avatar
(as in, taking up more space) (edited)
Avatar
No, well, I think it would remove a few KB from the program, not much to worry about
Avatar
legit these things are harder to put back together than to take apart wtf
Avatar
I've had a similar issue with my Touch
Avatar
Damn. The back pops rights off easy.
5:01 AM
But I had to push inwards and down pretty hard to get it back on.
5:01 AM
I think once I start messing with it I'll tape the back on loosely to avoid too much on/off cycling.
Avatar
yeah sure
5:02 AM
If you have a case you can probably just put it back inside without a tape (edited)
Avatar
No case yet sadly.
Avatar
Ah. You should consider buying one. those things are fragile
Avatar
Yeah, I'm planning on it. Still deciding which one.
Avatar
@dill What-- I realized there were Debian packages for palemoon armhf I absolutely *need* to try this
MartijnBraam joined the server. 7/13/2021 1:33 PM
Avatar
MartijnBraam 7/13/2021 1:33 PM
o/
Avatar
Hello!
Avatar
MartijnBraam 7/13/2021 4:51 PM
do you have any docs on the mainline driver for the epaper display?
4:51 PM
it seems to do interesting things with the grayscale value ranges
Avatar
I know that the waveform is needed to display anything beyond black and white and it is located at sector 14336 of the SD card
4:54 PM
It gets loaded by U-Boot when booting and is passed to the kernel as cmdline arguments in the form of memory addresses
Avatar
MartijnBraam 7/13/2021 4:54 PM
yeah that's working on pmos now
4:54 PM
I'm messing with actually controlling the panel now
Avatar
But who are you? ;p (edited)
Avatar
Oh, cool
4:55 PM
Now I see
Avatar
Avatar
MartijnBraam
I'm messing with actually controlling the panel now
What does not work?
Avatar
MartijnBraam 7/13/2021 4:56 PM
oh it works, but it does interesting things
Avatar
That's eink
Avatar
MartijnBraam 7/13/2021 4:56 PM
it seems like grayscale values from 0-63 give the full black-white range
4:56 PM
and the next 64 the same
4:56 PM
for 4 grayscale ranges in total
4:56 PM
but they behave different on refreshing
Avatar
Are you in 32bpp mode?
Avatar
MartijnBraam 7/13/2021 4:57 PM
yes, but I'm just setting gray pixels so the math in the kernel maps it 1=1 to 8-bit gray
Avatar
Avatar
MartijnBraam
yes, but I'm just setting gray pixels so the math in the kernel maps it 1=1 to 8-bit gray
What? Sorry, you lost me
Avatar
MartijnBraam 7/13/2021 4:58 PM
yes the kernel is in RGBX8888
Avatar
So you're trying to print gray pixels all over the screen, right?
Avatar
MartijnBraam 7/13/2021 4:58 PM
and the kernel driver seems to convert that to grayscale for the panel
4:59 PM
4:59 PM
that background is one long grayscale gradient from black to white
Avatar
Ouch
Avatar
MartijnBraam 7/13/2021 4:59 PM
it seems like 2 bits of the grayscale color are used for a mode instead
Avatar
Ok now I see
5:00 PM
Did you hear about FBInk?
5:01 PM
Pinging @NiLuJe there if he wants to join the discussion
Avatar
Avatar
MartijnBraam
it seems like 2 bits of the grayscale color are used for a mode instead
Did you try with the vendor kernel? Does it do the same thing?
Avatar
MartijnBraam 7/13/2021 5:02 PM
it does something else apparently, haven't tried that
5:02 PM
I'm more interested in the mainline one 😛
Avatar
Sure You could try printing that image on the screen with FBInk to be certain that it's not an X11 issue
Avatar
MartijnBraam 7/13/2021 5:03 PM
fbink looks interesting
Avatar
Also, consider using https://github.com/tux-linux/fbink-xdamage for graphics. It's 2 or 3 times faster that the default auto update mode thingy
A xclient that listens for xdamage events and refreshes EPD using FBInk - tux-linux/fbink-xdamage
5:05 PM
And it *might* solve that waveform problem (edited)
Avatar
MartijnBraam 7/13/2021 5:05 PM
it's not a problem, I just need to know how it works (edited)
Avatar
Well the image you sent me clearly shows that something is going wrong
Avatar
MartijnBraam 7/13/2021 5:06 PM
yes that's a debug image
5:06 PM
to figure out what it's doing
Avatar
It seems a bit distorted when the bars change colors; is it your phone or is it like that in real life?
Avatar
MartijnBraam 7/13/2021 5:07 PM
that's real life
5:07 PM
I guess that's the panel dithering
5:07 PM
there are no bars at all in the source image, it's a smooth gradient
Avatar
Ahhh
5:08 PM
Ok that's really strange
5:08 PM
Where is your waveform stored? Still in the unpartitioned space?
Avatar
MartijnBraam 7/13/2021 5:08 PM
the waveform is fine, I'm trying to figure out what the bits mean
5:09 PM
but nobody writes any actual docs
Avatar
Avatar
MartijnBraam
the waveform is fine, I'm trying to figure out what the bits mean
But shouldn't the image show correctly if the waveform is fine?
Avatar
MartijnBraam 7/13/2021 5:10 PM
no because I'm not sending it the correct image data, it's rendering the 4 parts of the image in 4 different waveforms
5:10 PM
but I'm trying to figure out what the waveforms mean
5:10 PM
Avatar
Did you try a hexdump of them?
Avatar
MartijnBraam 7/13/2021 5:10 PM
it renders fine if I don't do that and only use the first waveform
Avatar
With eink display, you cannot just send "set pixel black", "set pixel white" or "set pixel grey", the brightness of display depend on a sequence of voltage applied for a certain time on pixel.The table found in "Source driver" section on Essential Scrap site is incomplete, when you send 0b10, you do not actually set pixel white, you apply a vol...
Avatar
MartijnBraam 7/13/2021 5:15 PM
right fbink is also for the downstream kernel
Avatar
fbink could also work with your mainstream one I would think I got it running on a kids tablet a few months ago
5:17 PM
Sorry I feel a bit silly; I'm learning as this conversation goes
5:28 PM
That seems to contain quite a lot of info
Avatar
Maybe that too could help? https://github.com/fread-ink/inkwave
Convert electronic paper display waveforms from .wbf to .wrf format - fread-ink/inkwave
Avatar
Err, which mainline driver? :o}
Avatar
MartijnBraam 7/13/2021 9:12 PM
well mainline-ish
Avatar
Hi, this adds support for the Kobo Clara HD ereader. It includes both the vendor kernel and the mainline kernel with...
Avatar
MartijnBraam 7/13/2021 9:13 PM
Linux kernel source tree. Contribute to akemnade/linux development by creating an account on GitHub.
Avatar
Ah, then no idea. The i.MX driver is 1:1 8bpp Y8, FWIW (edited)
9:14 PM
Then dumb decimation to quantize to the actual effective palette
9:14 PM
0x11 stride between values, IIRC
Avatar
MartijnBraam 7/13/2021 9:15 PM
this is actually an drm driver 🙂
9:15 PM
but yeah I hoped someone who worked with this driver was here
Avatar
Nope, you'd have to ping the author (I'm not entirely sure this is in a finished/usable state, actually)
Avatar
MartijnBraam 7/13/2021 9:16 PM
it definetly works
Avatar
Right now it appears to be requesting AUTO, which, normally, asks the PxP to do an histogram analysis of the damaged area to return the index of the most appropriate wfm in the table for said damage (edited)
Avatar
MartijnBraam 7/13/2021 9:21 PM
yeah but the 2 most significant bits of the grayscale also seems to affect the waveform
Avatar
tl;dr: black box magic! (edited)
9:22 PM
That would be specific to this kernel, then ;o)
9:23 PM
You can try patching that and just requesting GC16, to rule out a PxP/AUTO mishap
9:24 PM
Linux kernel source tree. Contribute to akemnade/linux development by creating an account on GitHub.
Avatar
MartijnBraam 7/13/2021 9:24 PM
I kinda want to be able to request DU also 😛
Avatar
DU is plain black & white, so weird quantization and/or skipped damage is to be expected
9:25 PM
(if the input doesn't fit the bill)
Avatar
MartijnBraam 7/13/2021 9:26 PM
I know
9:26 PM
it's also fast
9:26 PM
great for keyboard highlights
9:27 PM
(A sane & working AUTO should be pretty good at groking when to use DU, FWIW)
9:27 PM
(It won't ever go so far as A2, but, DU, sure)
Avatar
Do those displays have A2?
Avatar
They do, but it's even more stringent about saying eff u if the input isn't B&W 😉
9:28 PM
(and the FORCE_MONOCHROME flag is... buggy as all hell)
Avatar
Hmm ok. So better to stick with DU then
Avatar
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - NiLuJe/FBInk
Avatar
wow, that's fun
Avatar
Yeah, that one was super weird.
9:32 PM
I mean, if you diff the Forma and the Libra's kernel, they're basically the same.
9:32 PM
The HW is also pretty similar.
9:32 PM
And I've never ever seen that happen on a Forma. (edited)
9:32 PM
I've seen a Forma deadlock for no apparent reason, but, that, no ;p
Avatar
Probably an epdc-specific quirk
Avatar
Avatar
tux-linux
@dill What-- I realized there were Debian packages for palemoon armhf I absolutely *need* to try this
:0
Avatar
Hey!
3:23 AM
WOW
Maxnet joined the server. 7/15/2021 10:56 AM
Avatar
Hello @Maxnet :)
Avatar
And you are? (your GitHub name reminds me of something, but I can't tell where I saw it)
Avatar
Avatar
tux-linux
And you are? (your GitHub name reminds me of something, but I can't tell where I saw it)
I'm Max, postmarketOS Contributor. Just saw Martijns ideo about the kobo clara, whcih made me thinking of buying a used one 😄
Avatar
Yeah, it's very nice. They're a bit costly though these times
Avatar
Avatar
tux-linux
Yeah, it's very nice. They're a bit costly though these times
Yeah. But running them with a close-to-mainline kernel on pmOS with Inkbox would be a dream 🙂
6:35 PM
FLOSS e-reader 😄
Avatar
Sure. But you'll probably not be happy with InkBox's way of doing things in the kernel...
6:35 PM
6:36 PM
Though, getting minimal reader functionality to work without all that is possible. But sadly X support will probably have to be designed separately, as the way I handle that in InkBox OS is kind of... complicated ;p (https://github.com/Kobo-InkBox/kernel/blob/master/initrd/common/startx) (edited)
6:37 PM
Feel free to ask me if you need any help
Avatar
hi, maxnet!
👋 1
Avatar
I got this !@#$ dhd.ko wi-fi driver working! So probably Wi-Fi for all InkBox devices in the next update
Avatar
Hm. No, seems that another error has come up. I do iwlist eth0 scanning And (of course!) I get eth0 Failed to scan data : Resource temporarily unavailable And ring buffer is saying this: [ 31.517891] Set ISCAN for wl_iw_iscan failed with 0 [ 31.635547] CONSOLE: [ 31.637827] CONSOLE: wl0: wlc_scan_request_ex, can not scan due to error -4
7:58 PM
This was bound to go wrong
Avatar
And it seems it does that with the default kernel/stock OS too Interesting. Though, when Nickel has launched, magic happened and it works (edited)
Avatar
Is eth0 the right interface? I can never remember which ones use wlan0 😒
Avatar
It is always eth0
8:14 PM
Never seen wlan0 on any Kobo
Avatar
It's wlan0 on some older models, IIRC
8:14 PM
And on the Elipsa, incidentally ;p
Avatar
Well, this is a Touch N905B, you can't get really older
8:16 PM
Seems that three modules are loaded; dhd, sdio_wifi_pwr and lowmem
8:18 PM
Wow, now iwlist eth0 scanning triggers a reboot
Avatar
kernel panic?
Avatar
Also, do you know what hindenburg ever does?
8:20 PM
probably, but nothing has been printed on serial
Avatar
Minor dbus/monitoring stuff. less and less as time goes by
Avatar
So nothing really related to wi-fi
Avatar
It used to possibly handle scanning at one point in time
Avatar
I found some old scripts in /usr/local/Kobo from 2011. Doubting it still uses them, but at the time it seems they were using wpa_cli
8:32 PM
OH THE HUMANITY! Some line from strings /usr/local/Kobo/hindenburg...
Avatar
Whew, reopened the issue. dhd.ko is the worst driver I've ever dealt with.
Avatar
Avatar
tux-linux
I got this !@#$ dhd.ko wi-fi driver working! So probably Wi-Fi for all InkBox devices in the next update
:0 (edited)
9:03 PM
oh oooof
Avatar
yeah, no, read below
Avatar
c.f., the koreader script for wlarm_le usage
Avatar
got it working by doing wlarm_le up but is there source code for this at all?
Avatar
(Never investigated this myself, I don't have affected HW)
9:06 PM
In the dhd package, apparently
Avatar
Broadcom being broadcom, I guess ;p
Avatar
Avatar
NiLuJe
And on the Elipsa, incidentally ;p
you bought one?
Avatar
That looks interesting build@inkbox:~/wifi-mk3$ rgrep . | grep wlarm_le Binary file src/wl/exe/wlarm_le matches build@inkbox:~/wifi-mk3$
9:08 PM
So they included... the binary
Avatar
Yup >_<". It would have been impossible to support otherwise, given how weird the kernel is
Avatar
And you kept it, since it's 15 days passed?
Avatar
Well, i ran out of time to support all the things, so, i'll see what I can do, but it looks like it, yeah :/
Avatar
Do you like it any?
9:10 PM
It seems we're lucky build@inkbox:~/wifi-mk3/src/wl/exe$ ldd ./wlarm_le not a dynamic executable build@inkbox:~/wifi-mk3/src/wl/exe$ readelf -h ./wlarm_le ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI: UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8140 Start of program headers: 52 (bytes into file) Start of section headers: 1228932 (bytes into file) Flags: 0x4000002, Version4 EABI, <unknown> Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 37 Section header string table index: 34 build@inkbox:~/wifi-mk3/src/wl/exe$ I could at least include it in the rootfs if it's static
9:11 PM
Oh, so actually the source code is there. rgrep didn't do its job
9:14 PM
What does he mean exactly?
9:14 PM
Avatar
Well now I have a more portable PC! ;p
Avatar
Avatar
tux-linux
Well now I have a more portable PC! ;p
Woah
4:03 PM
Seems like I missed a ton hahahah
cronburger joined the server. 7/17/2021 9:31 PM
Avatar
Hi cronburgundy
Avatar
Avatar
tux-linux
Well now I have a more portable PC! ;p
Next up: neofetch :P
Avatar
Hi @cronburger !
Avatar
Hey, finally did some docs! http://alpinekobox.ddns.net:40/mediawiki/index.php?title=InkBox:_General_information I went on a trip lately and was 4 hours in a car, so I brought my raspberry pi and Kobo with me and I wrote that on the road
Avatar
Avatar
tux-linux
Hey, finally did some docs! http://alpinekobox.ddns.net:40/mediawiki/index.php?title=InkBox:_General_information I went on a trip lately and was 4 hours in a car, so I brought my raspberry pi and Kobo with me and I wrote that on the road
On a trip too haha
Avatar
Anyone here use pmOS on the kobo clara hd regularly? (edited)
Antoine joined the server. 8/1/2021 9:37 PM
Avatar
Hello ! I saw this thread (https://www.reddit.com/r/linux/comments/oddesp/inkbox_os_15_custom_opensource_os_for_ereaders_is/h40tah2/ ) and I'm asking me if InkBox now works on Clara HD. Thank you for the work anyway
Avatar
Doesn't (yet) Hopefully, when all my things will be working again (coming back from 1 week of vacation), @FxFyu1v1 and I will start porting that
Avatar
Super nice 🙂
9:42 PM
I'm looking for an alternative OS for my clara hd, do you know any ? @tux-linux I couldn't find any expect yours
Avatar
PostmarketOS has seen recent developments on the subject
9:43 PM
Hi, this adds support for the Kobo Clara HD ereader. It includes both the vendor kernel and the mainline kernel with...
Avatar
Mmmh... I'll try this but i'm afraid to do wrong things. The most geek thing I ever did is install a linux distro ^^. I will #readthefuckingmanual i guess
9:46 PM
thanks for the link
👍 2
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
Got my hands on like 70 DVD-r's so that's fun
Avatar
Nice
Avatar
Avatar
dill
Click to see attachment 🖼️
oh oof heic
2:48 AM
2:48 AM
theres the mpeg ^^
Avatar
Avatar
tux-linux
Nice
yeah, my dad had them lying around from a loooong time ago ;p
Avatar
Avatar
dill
Click to see attachment 🖼️
Cool
👍 1
georgesaker147 joined the server. 8/9/2021 6:37 PM
btwarch147 joined the server. 8/9/2021 6:38 PM
Avatar
If I install the kobo add on version of ink box, will the stock firmware still be wiped or can I just launch it with Nickelmenu or kfmon?
Avatar
The latter
7:36 PM
Hello btw
Avatar
Hello, I’ll install it then…
Avatar
But warning: it's not up to date due to being a hassle to manage on top of existing packages
👍 1
Avatar
It’s working, thanks for your help
👍 1
Avatar
Unfortunately not really usable for me in the end as features that I really like the look of are only available in 1.6 ☹️. Great work though.
Avatar
Thanks Have you got any of the compatible models?
Avatar
Unfortunately not, I’ve only got a Libra H2O which I don’t think I can get at the sd card.
Avatar
There is a way to install it natively on a Libra (I have one myself) alongside Nickel (dual boot) but it's dangerous
Avatar
I really don’t wanna brick it! Thanks for your help though.
👍 1
Avatar
Just installed KoBox (looks like i'm going through all your projects today) and its crashing/not responding to touch on startup. Everything appears to load (menubar etc) and the keyboard launches but it then doesn't respond to touch. Any idea how to fix that?
orionstein joined the server. 8/12/2021 11:19 PM
Avatar
Hiya
Avatar
Wi-Fi support for some devices (N905B and N873) OTA updates support (experimental) InkBox now can remember your book's page number and reading settings (disable Settings -> Reading -> Glo...
Avatar
Avatar
btwarch147
Just installed KoBox (looks like i'm going through all your projects today) and its crashing/not responding to touch on startup. Everything appears to load (menubar etc) and the keyboard launches but it then doesn't respond to touch. Any idea how to fix that?
Sorry for the late reply. As I happen to have a Libra H2O, I put some tweaks to allow touch input in the script that does that. Start KoBox, telnet/SSH into the Kobo, go in /mnt/user/root/.utils and there should be some python file in it. Uncomment the lines relative to the Libra H2O and restart your device, then relaunch KoBox. It should work. If you need help, feel free to ask more
Avatar
Thanks, I'll give that a go...
Avatar
I haven't got any files in /mnt/user...
Avatar
Has KoBox been started?
Avatar
not yet
Avatar
Then start it, it will mount the filesystem there
👍 1
Avatar
Which lines do i need uncomment? There doesn't seem to be anything obvious
Avatar
Can you post the file's content?
Avatar
#!/usr/bin/python3 import os

Touch mapper for Xorg/XDOTool >> Kobos

file = open("evtest-log","r") coordinates = file.read() file.close()

Prevent other exit status than 0 if evtest log file is empty

if len(coordinates) <= 10: exit() else: c1 = coordinates.split("\n") # Mapping x for item in c1: if "ABS_MT_POSITION_X" in item: c2 = item.split(" ") c3 = c2[-1] x = c3 print("registered native x " + x) # Mapping y for item in c1: if "ABS_MT_POSITION_Y" in item: c2 = item.split(" ") c3 = c2[-1] y = c3 print("registered native y " + y) # Dividing for lower resolutions # Originally made for Kobo Libra -> 1680x1264 / 2 = 840x632 x = float(x) y = float(y) x2 = x y2 = y print("converted native x to %s" % x2) print("converted native y to %s" % y2) # Passing x + y to xdotool os.system("DISPLAY=:0 xdotool mousemove {0} {1}".format(x2, y2)) # Clicking mouse button os.system("DISPLAY=:0 xdotool click 1") # Done! Emptying the file os.system("> evtest-log")
Avatar
Hmm, my bad. Restart the device, then killall nickel sickel hindenburg echo 3 > /sys/class/graphics/fb0/rotate /mnt/onboard/.adds/kobox/kobox-boot.sh (All via SSH)
Avatar
Traceback (most recent call last): File "/root/.utils/xorg-kobo-touch.py", line 32, in <module> x = float(x) ValueError: could not convert string to float: '(ABS_MT_POSITION_X)'
9:44 PM
I'm seeing this error in the console
Avatar
Touch the screen
Avatar
its topped showing the error
9:45 PM
but nothing appears to be registered on screen
Avatar
Is the screen in landscape orientation?
Avatar
yes
Avatar
What if you click on 'applications'?
Avatar
clicking the applications button shows it switching desktops
Avatar
hmm
Avatar
It looks like the touch is being inverted
9:47 PM
eg: touching applications activates buttons in the opposite corner
Avatar
is it landscape with the buttons pointing up?
Avatar
the buttons are at the bottom
9:48 PM
eg opposite to the applications bar
Avatar
no
Avatar
then retry the commands I put above, but echo 1 > /sys/class/graphics/fb0/rotate instead
Avatar
Thanks, I'll try that
👍 1
9:53 PM
Its working! thanks for your help
👍 1
Deleted User joined the server. 8/29/2021 2:12 AM
Avatar
Welcome!
Avatar
Hello
9:40 PM
🚀 1
12:11 AM
Just moved in to a new place, may need to find the mini to try it again
Avatar
Well, it's not an official release yet
12:12 AM
Though, 1.7 got out yesterday
Avatar
Ah, understood. Either way I caught it out of the corner of my eye, kept it in the box I think
👍 1
Avatar
I need to find mine too... 😔
jeremiah_weeds joined the server. 8/31/2021 7:58 AM
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
VNC?
Avatar
No...
10:23 PM
fbgrab
Avatar
Also @btwarch147 is having the same problem as I had a few months ago (remember? :p) with my Aura H2O
Avatar
Avatar
tux-linux
fbgrab
Ah
Avatar
It has been solved
Avatar
Avatar
btwarch147
Its working! thanks for your help
There
Avatar
*was haha
Avatar
Works great now, I'm setting up i3wm on it
👍 1
Avatar
Anything else I should try to implement after working PDF support and scaling for 1.8?
Avatar
you might want to make the README a little more Windows-friendly
👍 1
Avatar
Avatar
tux-linux
Anything else I should try to implement after working PDF support and scaling for 1.8?
Have you considered encrypted storage? Might be kind of a cool unique feature for an ereader.
👍 1
Avatar
Avatar
tux-linux
Anything else I should try to implement after working PDF support and scaling for 1.8?
Support for the libra as an add on 🙏
Avatar
Avatar
tux-linux
Anything else I should try to implement after working PDF support and scaling for 1.8?
You already considered to package it for alpine/postmarketOS? Is it feasible?
Avatar
Avatar
btwarch147
Support for the libra as an add on 🙏
Difficult Not possible, even Sorry
Avatar
Avatar
Maxnet
You already considered to package it for alpine/postmarketOS? Is it feasible?
Not really, kind of needs the operating system I designed it for
10:08 PM
But thanks for suggestions
Avatar
Avatar
FxFyu1v1
Have you considered encrypted storage? Might be kind of a cool unique feature for an ereader.
That seems doable. I'll see if it's possible to implement it Thanks for the idea! (edited)
necessaryillusions joined the server. 9/17/2021 12:12 PM
Avatar
Avatar
necessaryillusions
Click to see original message
necessaryillusions 9/17/2021 12:12 PM
Sticker
Avatar
necessaryillusions 9/17/2021 12:21 PM
Hello, just learned about this awesome project and I must thank you for that. For years I've been looking for a FOSS ereader and this might be a good solution 😃 Any idea of supporting newer devices like the Libra H20, Claro, Elipsa ?
Avatar
Hello! Thanks, the only device that might get support is the Clara HD because the Elipsa and Libra don't have a removable microSD card
cvcv joined the server. 9/17/2021 7:40 PM
Avatar
Hello!
foo-git joined the server. 9/18/2021 9:41 AM
Avatar
Hi NiMa, just checking in from your GitHub discussion regarding support for Aura H2O (N250). What do you think?
Avatar
It would be doable. Apparently, it has an internal SD card. You'd have to setup a serial connection to debug the kernel (easy with a RPi or USB adapter and some toothpicks). But is it a N250 or a N250B actually?
Avatar
It is indeed a N250 model. Does that mean I have to open the case to access some internal contacts, or does it work over the USB port?
5:58 PM
Does that also mean, my model has two SD cards, one external for user access, and one internal for the OS?
5:59 PM
Trying to get a better understanding 🧐
Avatar
There's an internal SD card slot & card, with both the OS and user storage
6:03 PM
And there's an external SD card slot
6:04 PM
We're talking internal one, here
6:04 PM
Although, IIRC, serial access and/or patched bootloader might allow booting from the external one (edited)
6:04 PM
the TL;DR: being: You still need to open it.
6:04 PM
And it's not necessarily the easiest at that
6:05 PM
(waterproofing, IR grid, old panel)
6:06 PM
And the QPA currently doesn't handle the H2O quite right, because it doesn't handle the screen's viewport (top 11px are hidden behind the bezel)
☹️ 3
Avatar
Avatar
NiLuJe
And it's not necessarily the easiest at that
Can confirm (at least for 2nd ed.)
Avatar
Avatar
NiLuJe
And the QPA currently doesn't handle the H2O quite right, because it doesn't handle the screen's viewport (top 11px are hidden behind the bezel)
Is there a way to get around it?
Avatar
Probably, the pointer to the start of the buffer just needs to be incremented by 11 scanlines and the height decreased by that much
Avatar
BTW, I upgraded my Wiki hardware: it's now an Alpine container running in Proxmox. Much faster, but less fun. Anyways, it deserved it ;p You can access it at http://inkbox-wiki.ddns.net or at http://alpinekobox.ddns.net:40/wiki Enjoy! (edited)
jkrzok joined the server. 9/22/2021 10:27 PM
Avatar
Hiya!
CatRovacer joined the server. 9/24/2021 10:54 AM
Avatar
Hello!
imnotdwight joined the server. 9/27/2021 7:21 PM
Avatar
Hello!
Avatar
Hello!!
Rooster joined the server. 10/1/2021 12:27 AM
Avatar
coming
👀 2
😎 2
5:05 PM
5:05 PM
👀 2
Avatar
Hey, 200th commit in the InkBox repo!
Congrats :D
🥳 2
Sky joined the server. 10/9/2021 10:08 PM
Avatar
Avatar
Sky
Click to see original message
Avatar
Hi! Have you managed to add compatibility to the kobo clara hd? I recently saw that postmarketos has it
Avatar
Hello!
Avatar
Avatar
Sky
Hi! Have you managed to add compatibility to the kobo clara hd? I recently saw that postmarketos has it
Working on it!
👍 1
globulous9 joined the server. 10/14/2021 11:38 PM
Avatar
Hello!
ab joined the server. 10/15/2021 6:25 PM
Avatar
Avatar
ab
Click to see original message
Avatar
Avatar
ab
Click to see original message
Sticker
Avatar
Hello!
kemycrome joined the server. 10/20/2021 5:48 PM
Avatar
Avatar
kemycrome
Click to see original message
Avatar
Avatar
kemycrome
Click to see original message
Sticker
M8torr joined the server. 10/26/2021 8:13 AM
Avatar
Hullo
10:14 PM
I was checking the inkbox firmware for kobos
10:15 PM
I have a Kobo Glo HD, would the firmware work with it?
Avatar
Not currently. But you can help development if you want (mine is completely broken)
bat joined the server. 11/1/2021 2:49 PM
Avatar
Hello!
Avatar
Avatar
bat
Click to see original message
3dgarage joined the server. 11/7/2021 1:17 AM
HarshaVK joined the server. 11/7/2021 11:10 AM
NO_ob joined the server. 11/7/2021 12:15 PM
Avatar
👀 any updates on clarahd support?
Avatar
welcome all
Kadin Buckton joined the server. 11/16/2021 8:38 AM
Avatar
Avatar
Kadin Buckton
Click to see original message
Kadin Buckton 11/16/2021 8:39 AM
Avatar
Avatar
Kadin Buckton
Click to see original message
Avatar
Kadin Buckton 11/17/2021 12:32 AM
I was going to ask if the Libra h2o is supported but it looks like it's very ill advised haha
Avatar
I put it on mine You have to be veryyyyy careful though
12:39 AM
It even has already available native support in InkBox OS
Avatar
Kadin Buckton 11/17/2021 12:53 AM
Hmmm
Avatar
Though you have to do some heavy manual setup via serial console for it to work
oooo^ joined the server. 11/17/2021 3:46 PM
boredhominid joined the server. 11/17/2021 3:47 PM
Avatar
Avatar
oooo^
Click to see original message
Avatar
Avatar
boredhominid
Click to see original message
Avatar
InkBox 1.8 release finally coming!
👀 1
Avatar
PDF support Encrypted storage support Local storage search USB improvements UI/UX improvements Bug fixes Enjoy! :)
andjohn joined the server. 11/24/2021 4:13 PM
Avatar
Avatar
andjohn
Click to see original message
4:20 PM
Hey all, I'm here now. I can disassemble my aura hd if you need. I'll have to use another SD card so I can go back but that's not a big deal. Let me know what you need from me.
Avatar
Take a look at this, it's possible we could just display this project perhaps. But it wouldn't have the backlight scheduling. https://www.youtube.com/watch?v=uRSf9xuUPog
anovella joined the server. 11/28/2021 9:27 PM
Avatar
Avatar
anovella
Click to see original message
Avatar
Avatar
anovella
Click to see original message
Avatar
Howdy!
TreeSlayer joined the server. 12/1/2021 10:31 PM
Avatar
Avatar
TreeSlayer
Click to see original message
Sticker
Avatar
Hullo
Deleted User joined the server. 12/11/2021 4:08 PM
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Hello !
Avatar
I guess I'm on to something there...
2:26 AM
👀 1
sinqbad joined the server. 12/23/2021 12:28 PM
Avatar
Hello
Avatar
WHEEEEHEE !!!!!! 😄
3:15 PM
Avatar
Is this new layout looking fine ? I'll be trying to implement a Gutenberg-based online library in the next weeks (edited)
👍 1
Avatar
YESSS :D
👍 1
LangeEllie joined the server. 12/26/2021 6:54 PM
Avatar
Avatar
LangeEllie
Click to see original message
Sticker
Avatar
Avatar
LangeEllie
Click to see original message
Avatar
Avatar
LangeEllie
Click to see original message
Avatar
That's looking pretty neat
Avatar
Hmmmmmm
7:32 PM
Rounded or not?
Avatar
Looks more modern
Avatar
also i forgot how you did the timezone thing (edited)
Avatar
because my inkbox isnt on daylight time
7:34 PM
its one hour off
Avatar
At worst you can do date -s "2021-12-27 13:34"
7:34 PM
then hwclock --systohc
👍 1
Avatar
Neat, huh?
Avatar
i like where this is going :D
👍 1
rsjn joined the server. 1/1/2022 6:35 PM
Avatar
Avatar
rsjn
Click to see original message
Avatar
hi, just thought i'd join to see what developers are doing on the kobo - very impressive work so far
Avatar
Avatar
rsjn
hi, just thought i'd join to see what developers are doing on the kobo - very impressive work so far
you might wanna check out https://discord.gg/hhGz9VXw too
7:48 PM
unofficial server made by me, but some devs use it
Avatar
great, thanks - hopefully pgaskin and niluje
Avatar
Avatar
rsjn
Click to see original message
rhizome joined the server. 1/7/2022 5:51 AM
Avatar
Avatar
rhizome
Click to see original message
Avatar
Avatar
rhizome
Click to see original message
Daboone72 joined the server. 1/11/2022 12:29 AM
Avatar
Avatar
Daboone72
Click to see original message
Avatar
Avatar
Daboone72
Click to see original message
Avatar
Hi greetings Kobo Mini owner here
Avatar
Hullo
Avatar
Just been playing right now. Imaged 1.5 rc1 for Mini but no windows partition to upgrade.
Avatar
Why the rc1? Your should take the 1.5 release
12:31 AM
rc is for "Release candidate"
Avatar
Actually let me jsut double check that
12:33 AM
No it is inkbox-1.5-n705 so that's ok actaully
Avatar
Ok, what problem are you experiencing?
Avatar
Shutdown the Kindle remove the SD card put in Windows it says unrecognised H: partition do you wish to format.
12:34 AM
With the 1.0 image there was a drive with the .inkbox directory
Avatar
Flash with balenaEtcher
Avatar
I imaged it twice with Raspberry Pi imager
Avatar
Avatar
tux-linux
Flash with balenaEtcher
btw, i had nothing to do at lunch so i went ahead and did more README stuff
👍 1
Avatar
Does the Kobo boot?
Avatar
1.0 imaged just fine btw
Avatar
made a pull request
Avatar
Yes it boots just fine
12:35 AM
Even runs X fine
12:35 AM
Can some one md5 sum the image for me?
Avatar
yep 2 secs
12:36 AM
$ md5sum /srv/pkgs.kobox.fermino.me/bundles/inkbox/native/n705/inkbox-1.5-n705.xz 0d40da4cacea7fbd5dfb72c15ea09d79 /srv/pkgs.kobox.fermino.me/bundles/inkbox/native/n705/inkbox-1.5-n705.xz
Avatar
0D40DA4CACEA7FBD5DFB72C15EA09D79 inkbox-1.5-n705.xz
12:37 AM
Looks alright then
Avatar
Avatar
Daboone72
Even runs X fine
but then, what's the problem? It doesn't work when you connect it via USB?
Avatar
Well ok I'll try with balenaEtcher
12:37 AM
I can't use the inbox-update-1.8.upd.isa file as there is no partition to copy too
Avatar
What does it show like? 512MB volume?
12:38 AM
Strange, but yeah, click on format, format as FAT, should work
Avatar
8Gb SD card there is a 3.8Gb partition
12:38 AM
Ahh maybe shitty partition table
Avatar
Avatar
Daboone72
I can't use the inbox-update-1.8.upd.isa file as there is no partition to copy too
You need to update to 1.6 before 1.8
Avatar
1.5 had the auto update feature as I recall
Avatar
Avatar
Daboone72
Ahh maybe shitty partition table
The exported USB storage is just a file, not a partition
12:39 AM
It is located in a partition, but it's a raw image file
Avatar
I think I'll delete all the partitions first this time maybe it was a bad write
12:42 AM
Actually I'm crazy I'll use a decent Sandisk disk
Avatar
yeah, change your SD
12:42 AM
and flash with etcher to be sure
12:42 AM
microSD cards don't usually like writes like this that much
Avatar
Raspberry Imager is good actually it does verify nicely and unlike WIn32 Disk imager doesn't have problems with mounted drives
12:45 AM
I'll keep an open mind I gues maybe balena has more tricks
Avatar
RPi Imager should be good too
12:45 AM
But my only tested imagers were dd and Etcher
Avatar
Balena is not impressing option WRite Sandisk on Drive C:,G:\
12:47 AM
You are seriously joking
Avatar
what?
Avatar
There you go seeing is believing
Avatar
So your SSD is a SanDisk too? Nice bug 😉
12:49 AM
Welp, I guess you can go back to RPi imager
Avatar
Something weird going can't even see it RPI imager now
Avatar
...reboot? That's weird
Avatar
Seeing what disk manager says
12:53 AM
Is anyone experimenting with getting wifi going on the N705 I think it's possible
Avatar
Nope, sorry...
12:54 AM
I&#39;ve recompiled a kernel from the imx507 sources for a Kobo Mini and Kobo Touch. All is fine but the wi-fi module doesn&#39;t want to cope with that kernel. I compiled the other modules...
Avatar
I'd like to have a go after doing some chipset research
12:57 AM
Is that for the same chipset as in the Kobo Aura that is working with Wifi
Avatar
Yes, probably
12:58 AM
Haven't tested with those, but the Aura is IMX507, not IMX508, which should cause some problems
Avatar
(the Mini, Touch C and Glo are IMX507)
Avatar
BCM43362
12:58 AM
CyberTan WC121 SDIO wifi chip, well that's the one in my N705.
12:59 AM
WiFi was effectively possible with the stock firmware, but was probably done with some obscure help of unknown magic forces ;p
Avatar
I'd hardwire the selection with the kernel config
12:59 AM
As in build it in
Avatar
I tried that, wasn't a big success IIRC
1:00 AM
I don't want to go through that rabbit hole again 😅
Avatar
That ifconfig: ioctl 0x8914 failed: Operation not permitted there must be some permission layer in the way.
Avatar
I think it was more related to firmware download
Avatar
Yes the guy saying if the firmwares are there it works
Avatar
Because on Touch B (IMX508), it did that first, and then I put a firmware for it in /lib/firmware and it went up without issues
Avatar
That was you odd
Avatar
What happened after is that I did the same thing with IMX507 (Touch C, Mini, Glo), but then got problem, even with firmware provided on the stock rootfs
Avatar
eth0 odd interface shouldn't it be wlan0 as well scratches head
Avatar
It's just a matter of kernel module code
1:02 AM
I guess you could name it test0 or kobo0 if you'd want to, too
Avatar
Well I can see you've been giving it a good shot
1:03 AM
I ws thinking I have an EDIMAX module if can get that micro USB port to recognise stuff
1:04 AM
That was a dream on the early Raspbery Pi's plug in and it just works
Avatar
You can normally make the CyberTan act as an access point
1:05 AM
Skip to point 5
Avatar
Hmm do you mean like that's it's default mode or use case in a wireless hub
Avatar
No it's not default, I tried it once, it effectively works but you can't set a passphrase
Avatar
It would be great if we could make the last jump the mini's are so cheap on ebay and I half bet people are practically giving them away
1:07 AM
My goal is to pair it with a DGT chess board and use it as an external large eink display.
1:07 AM
£25 without battery and £8 for a bettery from Ali express if you can wait.
Avatar
You can use USBNet though
Avatar
Ahh great that is something
Avatar
There's a VNC viewer since version 1.6 in InkBox
Avatar
Yes I've seen that I'm hoping 1.8 has the xterm built in
Avatar
1.5 has it built in
1:08 AM
But your device is not rooted
1:08 AM
So it hides it
Avatar
Ahh that's why
Avatar
You can root it by going in Diagnostics (slide the power button multiple times once the green light starts blinking at boot) and doing "Reset as root"
1:09 AM
There you'll be able to enable USBNet too
Avatar
Ok cool will do that
Avatar
(once your device is rooted, in the "flags" part)
Avatar
At least if I can ssh to the thing that would help writing and testing some code
Avatar
Yes you can
Avatar
OR I guess telntet probably
Avatar
Built-in SSH server
1:09 AM
on 192.168.2.2
1:10 AM
So you connect via USB, set your computer's ip to 192.168.2.1 and you ssh to .2
Avatar
So could strap a Rasberry Pi 2W to the back and get internet that way
Avatar
Yeah, but you can set up a bridge under a Linux PC and get internet access on the Kobo via USB
Avatar
Well just looking for a lightweight stand alone option
Avatar
Or with the RPi, yes
Avatar
Hmm wonder if could do it with an ESP32 with some code that would be nice
Avatar
Would probably be more appropriate than a whole computer
Avatar
So that USB socket can be used for normal stuff maybe keyboard/mouse/dongle
Avatar
And consume less energy too, maybe you could connect it somewhere on the VCC ports of the Kobo
Avatar
Avatar
Daboone72
So that USB socket can be used for normal stuff maybe keyboard/mouse/dongle
Not out-of-the-box, but if you try hard enough, yes
Avatar
Kernel param maybe to switch modes like a Raspberry Pi can alter it's power direction
1:12 AM
I have a Pi with a touch screen and a Nextdock seem to recall
1:13 AM
One of the two had that magic think it was the nextdock
Avatar
You could also have you RPi broadcasting over USB a VNC screen and connect the keyboard to the RPi, then access the VNC server on the Kobo with InkBox
1:13 AM
That's what I did this summer
Avatar
Once it's networked though youc an run Vnc directly on the Kobo yes?
1:15 AM
Or is just faster on the Pi
1:16 AM
Well thanks Tux Linux for your efforts so far on the Wifi
👍 1
Avatar
Avatar
Daboone72
Once it's networked though youc an run Vnc directly on the Kobo yes?
What do you mean?
Avatar
I remember looking through the feature list of Inkbox and saw Vnc ahh perhaps that was just a viewer
1:17 AM
But still there is X on it
Avatar
Well, you can use x11vnc on it IIRC
1:18 AM
But why would you want to?
Avatar
Avatar
tux-linux
Well, you can use x11vnc on it IIRC
Actually yes, you absolutely can, since touch input in X is handled by a VNC viewer because I couldn't code a native input driver, so I used a Qt VNC viewer that had touch input working instead
Avatar
I doubt I'd need X anyway mostly the point would be to sftp Python code across and check it still works sanely on the eink display
Avatar
Though, the VNC server has the -localhost option, which means it only serves on 127.0.0.1:5900
1:20 AM
But you can start another one
Avatar
Or golang probably but hopefully Kivvy
Avatar
go isn't on the stock rootfs though
1:21 AM
Don't know much about Kivvy, but it's not there either (edited)
Avatar
That's ok I've seen it on Alpine Linux though
1:21 AM
With the right architecture
1:22 AM
armv7 as I recall
Avatar
It will be complicated to install InkBox's rootfs is a squashfs archive mounted read-only, and read-write is kind of difficult to accomplish, it is handled by overlayfs if you really want to, but you can't install packages, just create/modify files
Avatar
Ouch ouch
Avatar
At worst, you can apk fetch the package and untar all of it and deps onto the rootfs, the re-squash it
1:23 AM
That's what I do when I need to put a new package in
Avatar
Can we unsquish it more permanently
Avatar
Nope
Avatar
I wonder why are you trying to sell this to Microsoft later or something and retire to a desert island 😉
Avatar
Nope, just for security Also, it writes less to the MMC, prolongs its life
Avatar
I mean don't need compression this day and age with SDs as they are I got 32 Gb the other day for hardly anything
1:26 AM
Encrypted shouldn't be a show stopper either my work drive is encrypted can still write to it obviously
Avatar
Avatar
tux-linux
It will be complicated to install InkBox's rootfs is a squashfs archive mounted read-only, and read-write is kind of difficult to accomplish, it is handled by overlayfs if you really want to, but you can't install packages, just create/modify files
To give you an idea, here's what mount outputs on InkBox OS
Avatar
Avatar
Daboone72
Encrypted shouldn't be a show stopper either my work drive is encrypted can still write to it obviously
You're talking about encrypted storage feature?
Avatar
You might lose out to android or postmarketOs
Avatar
Yeah, you can add new books to that
Avatar
When I bother to hack something I personally want flexibility to make it more useful
Avatar
Avatar
Daboone72
You might lose out to android or postmarketOs
Well, to be fair, most people aren't going to try to get SSH access and play with the rootfs once they flash InkBox (edited)
Avatar
You can see I can't write software package it up as a deb or whatever and have it easily deployed
Avatar
Avatar
Daboone72
When I bother to hack something I personally want flexibility to make it more useful
You can make the rootfs almost read-write, fuse-overlayfs does well its job if you really want to, the only problem is a missing rename2 syscall that makes moving files impossible. Copy and remove is possible. The kernel on those devices is way too old (2.6.35.3)
1:30 AM
On testing models like Libra, rootfs can be completely r/w because the syscall is there
Avatar
Ok will have todo some research see if Alpine's package manager unpacks and moves things
Avatar
Yes it does, unfortunately
1:33 AM
But I guess you could untar the packages there and it would work
Avatar
I wonder what about a /usr/local and force install there (edited)
Avatar
Elsewise, you can make yourself a tiny Alpine r/w chroot in a disk image in mmcblk0p4 and install things there
Avatar
Avatar
Daboone72
I wonder what about a /usr/local and force install there (edited)
What do you mean?
Avatar
Well partition the SD card with another lInux partition modify fstab once to mount that read/write
Avatar
Yeah, you probably could
Avatar
/usr/local/bin, /usr/local/lib /usr/local/etc
Avatar
You'd have to create disk images for them, but it would work
Avatar
This is for user software not kernelly type stuff
1:37 AM
Well think I'll have to look at building Inkbox from the source to get some flexibility
Avatar
Re-packaging the rootfs is quite simple: https://github.com/Kobo-InkBox/rootfs/blob/master/release.sh
InkBox OS root filesystem. Contribute to Kobo-InkBox/rootfs development by creating an account on GitHub.
1:38 AM
Though, you need a kernel with your own public key to make the device boot
1:39 AM
Because the rootfs needs to be signed
1:40 AM
You can replace the contents of key.sqsh here https://github.com/Kobo-InkBox/kernel/tree/master/initrd/busybox-1.32.1/_install-mini/opt with your public.pem and recompile a kernel
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
Yes I remember reading that but you can build kernel too I saw
1:40 AM
Yep no probs
1:41 AM
I've done so much SSL these past few years openssl is like a friend
1:43 AM
Hmm seems like the easiest way might be a precompiled bundled binary. There is a model for those in Linux as I recall.
1:45 AM
Well it's late time to say goodnight thansk for chatting
👍 1
1:49 AM
@tux-linux One final thing though a quick google maybe some clues here. https://issueexplorer.com/issue/alpinelinux/docker-alpine/112
👍 1
Avatar
Avatar
tux-linux
On testing models like Libra, rootfs can be completely r/w because the syscall is there
I confirm it is possible, it worked on the emulator running kernel 5.15.10: inkbox:/# ifsctl mnt rootfs rw **** Mounting root filesystem read-write **** inkbox:/# apk --no-cache add xeyes fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/armv7/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/armv7/APKINDEX.tar.gz (1/5) Installing libice (1.0.9-r3) (2/5) Installing libsm (1.2.3-r0) (3/5) Installing libxt (1.1.5-r2) (4/5) Installing libxmu (1.1.3-r0) (5/5) Installing xeyes (1.1.2-r0) Executing busybox-1.33.0-r1.trigger OK: 144 MiB in 163 packages inkbox:/#
Avatar
Ahh goodly wonder if that would work for a Clara Hd too
Avatar
Yep, once it gets ported
Avatar
Of course ideally I'd like it on the Kobo Mini but if can get a good development environment will look at getting a Clara as I know wifi works on it
Avatar
If you want to repackage the rootfs and make changes to the InkBox filesystem/kernel in general, you better use a developer key, or you'll have to re-sign all the packages of the OS, which is... long. The developer key alleviates this problem by requiring you to only sign rootfs-related packages
Avatar
Avatar
Daboone72
Of course ideally I'd like it on the Kobo Mini but if can get a good development environment will look at getting a Clara as I know wifi works on it
You can get a Touch N905B, Wi-Fi works on it
4:43 PM
(with InkBox)
4:44 PM
Not as fast as the Clara, but it's good nevertheless
Avatar
Avatar
tux-linux
If you want to repackage the rootfs and make changes to the InkBox filesystem/kernel in general, you better use a developer key, or you'll have to re-sign all the packages of the OS, which is... long. The developer key alleviates this problem by requiring you to only sign rootfs-related packages
Avatar
@tux-linux Ok thanks will sort that out
Avatar
For the developer key, I can help you, I'll tell you the steps
Avatar
Others here I remember tux saying to go from 1.5 to 1.8 I have to upgrade to 1.6 first do you then have to upgrade to 1.6.2 and then 1.7?
Avatar
1.6, you put the two update files at once Then I think you can jump to 1.8 without issues, without updating to 1.7 first
Avatar
tux Ahh glad your here 🙂 It's upgrading now
👍 1
10:51 PM
The mini is a slow little machine.
Avatar
True
Avatar
I wonder though can this distro run in a virtual machine
Avatar
Is the qemu command anywhere?
Avatar
Cool 🙂
👍 1
10:57 PM
I wonder should I root at 1.6? Is it sticky between upgrades?
10:57 PM
It's pretty upgrade-agnostic
Avatar
So it will survive in short
Avatar
The whole system pretty much works with packages, even the rootfs, which makes upgrades a lot more easier and failproof : https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/update.sh
InkBox OS root filesystem. Contribute to Kobo-InkBox/rootfs development by creating an account on GitHub.
Avatar
Avatar
Daboone72
So it will survive in short
Yeah
Avatar
As I can imagine it's probably not that well tested in 1.8 but 1.6
Avatar
No Though, if you want to root and stay at 1.8, there's a special procedure for that
Avatar
Ok that is one very good benefit of the architecture
Avatar
Because normally the reset as root reinstalls the whole system, reverting back to 1.5
Avatar
openssl dgst -sha256 -verify /opt/key/public.pem -signature "${U_BOOT_DGST}" "${U_BOOT}" Guess the dev key is a sha256 pem then
Avatar
Yeah
11:00 PM
Everything's verified like that
Avatar
Nice diagnostics logo
Avatar
Thanks
11:02 PM
It finished updating?
Avatar
Yes to 1.6 I guess reset and allow root access then USB net appears in the menus
Avatar
Wait a sec
Avatar
As I can't see it in any of the other menus on 1.6 anyway
Avatar
Do you have access to a Linux computer?
Avatar
Or something with the dd command
Avatar
Yes IBM M900 running Linux love it
Avatar
Well, power off the device, we'll root it with dd, will be faster
11:04 PM
nice
Avatar
I'm already in the diagnostic menu so will root i tnow
Avatar
You sure you want to do a complete reset?
11:05 PM
Will take 15+ mins
Avatar
It's fine it's brand new there's no books or data on there
Avatar
And you'll have to upgrade to 1.6 again
Avatar
Avatar
Daboone72
It's fine it's brand new there's no books or data on there
If you want Though, it uncompresses ~3G of data onto the MMC, not sure if you want that to happen
Avatar
Ohh it rolls back a version
11:05 PM
It's like, a *complete* reset
Avatar
Ahh ic that's a pity
11:06 PM
Ok I don't know how to answer the onboard storage size value anyway
Avatar
So basically root verification works like that: if user flashes a ROOT kernel without having the root flag in the MMC, it reflashes back the STD (standard) kernel https://github.com/Kobo-InkBox/kernel/blob/b508f493c61b1e7c7164503babc7fc33861ea1cb/initrd/common/rcS-root#L157-L175
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
Alright can I do this with just an SD Card reader
11:08 PM
So echo "rooted" | dd of=/dev/mmcblk0 bs=512 seek=79872
11:08 PM
You're fully updated to 1.6?
Avatar
Yes it finished I was at the ink box main screen
Avatar
No errors? You put the two upgrade packages at once?
Avatar
Only 1.6 not 1.6.2
11:09 PM
I reimaged directly to 1.5 and then just applied the 1.6 upgrade
Avatar
There never was any 1.6.2
Avatar
There is in the downloads section
Avatar
what?
11:09 PM
oh
Avatar
well it's 1.6-2, not 1.6.2 I meant that as "the second part of the 1.6 upgrade"
Avatar
Quite tiny though inkbox-update-1.6-2.upd_stg.isa
Avatar
It's because of a silly error by me
Avatar
Ohh should I do that one as well
11:11 PM
I may as well go to 1.8 then do this rooting
Avatar
At that time, 1.5 images were almost perfect but I realized the update.sh didn't copy the digest file for the rootfs for verification at boot, so booting after updating the rootfs would always fail So the 1.6 update bind-mounted update.sh which had the cp command which copied the digest to allow it to boot. Then, the 1.6_stg real update installed a clean kernel without bind-mounting and working rootfs (edited)
Avatar
Ohh curious it's updating again I guess that's why
Avatar
Did you copy one or two files?
Avatar
Just the one so I need to copy both?
Avatar
If you copied the two it should work
11:12 PM
yes
11:13 PM
Maybe it's just better if you reset as root
11:14 PM
Otherwise you might have problems debricking it (if it can't finish updating and gets stuck there)
Avatar
We're thjere anyway
Avatar
Oh it works?
Avatar
It does boot eventually even without the second patch
Avatar
So ok, now copy the 1.6-2 one
11:14 PM
It should hopefully work
11:15 PM
Because it's still actually at 1.5
Avatar
If I copy both will it do any harm?
11:15 PM
Ther's only the can_update and can_really_update files in .inkbox now
Avatar
Normal, after an update the update files are erased
11:15 PM
So copy the 1.6-2 and it should be fine
11:16 PM
Was the echo "rooted" | dd of=/dev/mmcblk0 bs=512 seek=79872 all I need to root after that?
Avatar
No, you also need to flash the rooted uImage
11:16 PM
But it's about it
Avatar
Rooted uimage where do I get that?
Avatar
dd if=uImage-root-n705 of=/dev/mmcblk0 bs=512 seek=81920 (edited)
11:18 PM
That's the one for 1.8 release, so you're better off upgrading to 1.8 first then rooting the device
Avatar
Ok gotcha
Avatar
Avatar
Daboone72
Rooted uimage where do I get that?
It's in the update packages, which you can mount, they're squashfs images
11:19 PM
11:19 PM
But I joined it above
Avatar
I guess you do it via loopback it's been quite a while
Avatar
Yeah, it's basically a mountable tar archive
11:20 PM
Quite useful
11:20 PM
The rootfs is also a mounted squashfs
11:20 PM
That's why it's difficult to make it read-write without overlayfs
Avatar
Not used squashfs but I guess a compressed partition
Avatar
Kind of
Avatar
gzip special I guess
Avatar
Saves space
11:21 PM
I personally use XZ compression
11:21 PM
Even more space saved (at cost of hardware resources, yes, but I made a choice...)
Avatar
Avatar
tux-linux
dd if=uImage-root-n705 of=/dev/mmcblk0 bs=512 seek=81920 (edited)
Actually seek= is 81920, not 2048, I modified it
Avatar
Good choice CPUs fast disk is still slow
Avatar
It gets better with newer devices like Libra
Avatar
Even the Glo is noticeably faster (it's running 200MHz faster, same CPU but overclocked)
Avatar
Shop Kobo eReaders and accessories. For a convenient and customized reading experience on an E Ink, anti-glare screen that reads just like print on paper.
Avatar
Screen is not that nice though
11:24 PM
227 ppi
11:24 PM
Clara HD has 300 PPI
Avatar
Ahh there's a Kobo Sage too wonder if that has an SD card inside
Avatar
Yes, I think
11:25 PM
Strangely
11:25 PM
It's tropicalized, so difficult to remove, but yes
Avatar
I liked the forma but apparently it has hard wired memory
Avatar
yep, and Libra H2O too
11:25 PM
But there has been discovered you can get an empty Libra to put itself in download mode if nothing is on the eMMC, so that's very useful
Avatar
Ahh drat waterproof would have been handy for the beach
11:26 PM
Ahh that's not so bad if it becomes like a recognisable disk on the USB
11:26 PM
Yay upgraded to 1.6 now 1.8
Avatar
You have to use a special tool (uuu) that can load U-Boot in RAM from USB, then you use U-Boot for rescuing the rest of the device
11:27 PM
Nice
11:27 PM
It *should* jump without any issues, although I haven't tested that in particular, but as you saw the update script is quite adapted for that
Avatar
I was thinking before maybe of a developer image with useful build tools
Avatar
Maybe, yes
Avatar
Well even the 16gigabyte cards there seems to be lots of space to play with
Avatar
The emulator would be quite a good candidate for that
Avatar
Yes definitely a more pleasurable dev environment
Avatar
Avatar
Daboone72
Well even the 16gigabyte cards there seems to be lots of space to play with
But there's a 4 partition limit on the MBR layout
11:29 PM
And InkBox is configured that way, so you'd have to make an extended partition or use a disk image on user storage partition (not the same as exported storage)
Avatar
Primarys but extended
Avatar
Or growfs even
11:30 PM
Ohh my can-update files are gone
Avatar
That looks normal
11:30 PM
It deletes them too
Avatar
Ok grand
11:31 PM
To sell my DGT friends into getting a Kobo Clara say, they would need convincing they still have a useful ereader after hacking it so this distro is a great choice (edited)
11:32 PM
They are hardware modders prepared to pop cases and swap Rsapberry Pi's over. So probably would like development option too.
11:33 PM
But happily comfortable with imaging a distro to an SD card and debugging so not a great leap
11:34 PM
Which Kobo are you thinking of getting the Libra H2O?
Avatar
I already have it
11:34 PM
I ported InkBox OS to it, too
Avatar
Ohh happy days 🙂
Avatar
It's just not widely available due to the device having eMMC
11:34 PM
But the kernel sources are there, support in the OS is there too
11:35 PM
Device ID is N873, maybe you've seen it somewhere in the scripts
Avatar
There's the Libra 2 not bothered about audio books but comfort light sounds quite nice
11:35 PM
I like the landscape mode it's nice for building apps
11:37 PM
8Gb to 32Gigabyte that's quite a jump
Avatar
InkBox fits on a 4GB one
Avatar
Avatar
Daboone72
To sell my DGT friends into getting a Kobo Clara say, they would need convincing they still have a useful ereader after hacking it so this distro is a great choice (edited)
Curious, but what's "DGT"?
Avatar
The DGT Centaur Chess Computer automatically adapts itself to your playing strength. It gives you a fair chance to win and learn! Read more.
Avatar
Oooh
11:39 PM
Nice!
Avatar
It has a very tiny eink display on it. My idea have an external eink reader with a much larger display
Avatar
And what would it display?
Avatar
I can push the chess board status to the reader and display the board , move history other stats much larger
11:40 PM
If the refresh is good too display chess clocks with 1 second refresh
Avatar
Qt would be nice for that
11:41 PM
Yes, refresh rate is fine
11:41 PM
There's a 'show seconds' option on the clock in InkBox IIRC
Avatar
Yes well touch friendly interface is good too.
11:41 PM
Python and Kivvy would be nice the board custom mod is in Python and would then port to other devices easily
👍 1
Avatar
Avatar
tux-linux
There's a 'show seconds' option on the clock in InkBox IIRC
Yep
Avatar
Though I don't yet know how Python is with Alpine as there is not a glibc but musl or something
Avatar
Oh it works
11:43 PM
There's a static Python binary in the GUI chroot
Avatar
Want to experiment run some gui tests in a virtual machine
11:43 PM
Try all the widgets out etc. If not probably golang and Qt which does threading rather nicely.
11:43 PM
I never did C++ sorry :-0
11:43 PM
🙂
Avatar
inkbox:/# chroot /kobo inkbox:/# pwd / inkbox:/# cd /mnt/onboard/.adds/Python-3.9.2/ inkbox:/mnt/onboard/.adds/Python-3.9.2# ls LICENSE Modules python Lib libpython3.9.a python3 inkbox:/mnt/onboard/.adds/Python-3.9.2# ./python3 Could not find platform dependent libraries <exec_prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] Python 3.9.2 (default, Mar 7 2021, 06:01:36) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Avatar
Your very brave I was advised against it when I was doing Perl at my first job
Avatar
Really?
11:44 PM
I find Qt with C++ pretty nice (edited)
Avatar
Well perhaps a little to at least experience the out << "Hello world!" fun and games
Avatar
It's kind of similar to Python in some ways
Avatar
Though I half expected Gimp to be in C++ but it's in C wth GTK of course
11:45 PM
I like KDE though and thought Qt was nice
Avatar
Oh that's surprising; I knew GIMP was GTK but not C
11:46 PM
Must be a pain...
Avatar
Alpine Linux has become quite popular as Docker base image due to its size. However, instead of the common glibc it uses muslc which could impact you dependi...
Avatar
Well, first you can compile a static binary Second, if you're not happy with Alpine you can set up yourself a Debian chroot
Avatar
Ohh heavy I got the secruity warning
11:47 PM
"The security policy was violated. ! " etc
Avatar
The Kobo Mini only supports up to Debian 8 though due to glibc/kernel limitations
11:48 PM
Oh
11:48 PM
You tried to update to 1.8?
11:48 PM
Yes I just tried to update to 1.8
Avatar
You can still access the GUI?
Avatar
If I reset I'll go back I guess to 1.5
11:48 PM
I'll continue
Avatar
No, there's hope
Avatar
Ok holding
Avatar
If you go in Settings, go to page 2, is there an "Encrypted storage" option of any kind?
Avatar
So I should click continue anyuway?
Avatar
Update complete
Avatar
Yeah... it partially updated
Avatar
No encyrpted that I can see in the Inkbox settings
Avatar
Somehow a verification failed somewhere
Avatar
Storage : Enable USB mass storage session only on second page
Avatar
Anyway, try with 1.7 update package, then 1.8 That should work
11:51 PM
So nothing like this?
Avatar
I don't need to root it first
Avatar
Ok 1..7 it is pity
Avatar
yeah, I don't know what failed
Avatar
But now e know go 1.7 then 1.8
11:53 PM
If that doesn't work, then something's seriously wrong with your Kobo
Avatar
Well it could be because I did partial 1.6 too
11:55 PM
But we'll try this see if it repairs it
11:55 PM
I wondered whether to reboot again
Avatar
Maybe
Avatar
Ahh it didn't recognise the update file rebooting anyway
12:01 AM
It does think it's on 1.8 though maybe encrypted will appear on reboot
12:01 AM
I like qemu dev environment with the VNC trick looks very nice
👍 1
Avatar
At this point, maybe it's better if you just reset
12:02 AM
Then, 1.6 with two files, 1.7 then 1.8
Avatar
Yes and it's till moaning about violation so
12:03 AM
Yes I agree well worth a shot anyway
Avatar
Yeah, wipe the device
Avatar
Well it's 11pm uk time so think will call it a night getting closer though.
Avatar
Ok, good night!
Avatar
@tux-linux Just FYI redid the process tonight 1.5-> 1.6 both files this time -> 1.7 -> 1.8 and still got security violation at 1.8. No encrypted menu option at 1.7 or 1.8 and the file browser has no easy way to close. Have to reboot to get out of it.
Avatar
Welp, nice. I'll try on my Mini, might be a signing error somewhere
3:23 AM
If it stayed at 1.7 and you can access it it's good I'll see what happens with the update package and get back to you tomorrow or later tonight
3:24 AM
It's nice you encountered the problem, it shows how tiny my userbase is 🥴 (edited)
Avatar
@tux-linux I will try again as well what I noticed is the can-upgrade files dissapeared after 1.7 I think that might be a pointer
12:24 PM
@tux-linux Next try 1.5 -> 1.6 both files -> straight to 1.8
Avatar
No, found the problem
5:12 PM
Due to some passwd file crazy bug in standard kernels Can reproduce here
5:12 PM
Will try to fix
5:13 PM
Though, I can assure you, your 1.8 update worked. All signing has been done correctly, and kernel flashed as expected
Avatar
That's good to here
5:14 PM
So basically, it will show the warning at every boot but you can ignore it
5:14 PM
If you root the device warning will likely disappear
Avatar
Hmm but I could see no extra options in the menu inkbox
Avatar
In settings?
5:15 PM
I can see encryption settings here
5:15 PM
I did a full SD flash from 1.5 factory and tried updating as you did on your Mini
Avatar
Yes that screenshot you showed
Avatar
Did you go to the second page?
5:15 PM
The little right arrow
5:15 PM
At the top
Avatar
Ohh at the top
5:17 PM
Yes now I see it
Avatar
So yeah, it should be fine
Avatar
Avatar
tux-linux
dd if=uImage-root-n705 of=/dev/mmcblk0 bs=512 seek=81920 (edited)
Do this
Avatar
Storage encryption marked as disabled
Avatar
Before that, do echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872
Avatar
Avatar
Daboone72
Storage encryption marked as disabled
Normal, you can enable it if you want
Avatar
Ok great don't need to reimage.
5:19 PM
Give us a little while was going to sort out authorized keys to my Linux box as remembering password ws driving me crazy
Avatar
yeah sure
Avatar
Btw have been researching the Libra 2 trying to see if it's mostly the same as the Libra H2O
5:21 PM
As £10 extra for Bluetooth and 32Gb and better screen would be nice
Avatar
I think it's still i.MX-based, not Allwinner so it should be relatively easy to port (edited)
Avatar
If I can find the right forum will ask. Though stupidly there was a discussion about removing SD cards I forgot to save
Avatar
I'm just kinda freaking out now as I'm wondering if this bug affects all other devices too
Avatar
Avatar
Daboone72
If I can find the right forum will ask. Though stupidly there was a discussion about removing SD cards I forgot to save
mobileread usually is fairly good for dev discussions
Avatar
You'd have probably had more bug reports
Avatar
You can also try the mobileread discord
5:23 PM
But how many users do I have? ;p
Avatar
Your admin here you could create a quick poll
Avatar
Yeah maybe
Avatar
I think you just need some kind of killer app for it.
Avatar
What do you mean?
Avatar
Well something that really will motivate people to switch. A unique feature exploiting the display
Avatar
You know, I think that with encrypted storage, I pretty much hit the pinnacle of features
Avatar
Could port all text based adventure games to it.
Avatar
And honestly, not much people are replying to new releases here https://www.mobileread.com/forums/showthread.php?t=337972
InkBox: a new open-source OS and eBook reader based on Qt5 Kobo Developer's Corner
Avatar
Avatar
Daboone72
Could port all text based adventure games to it.
yeah, maybe a KoBox addon
5:28 PM
I ported a C64 emulator
Avatar
As retro gaming is hot now. But text games they would be a great fit for an e-reader
Avatar
On the Libra2 it's the wifi that would matter it does have bluetooth added though so maybe a different chipset
Avatar
Maybe
Avatar
So I have an sdb drive for my Sandisk
5:35 PM
171901.310467] usb-storage 2-1:1.0: USB Mass Storage device detected [171901.310909] scsi host4: usb-storage 2-1:1.0 [171902.323114] scsi 4:0:0:0: Direct-Access Generic STORAGE DEVICE 0830 PQ: 0 ANSI: 6 [171902.323660] scsi 4:0:0:0: Attached scsi generic sg1 type 0 [171902.363152] sd 4:0:0:0: [sdb] Attached SCSI removable disk [172691.079555] sd 4:0:0:0: [sdb] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
Avatar
Yeah, use /dev/sdb instead then
Avatar
I thought so what kernel is using the /dev/mmc style
5:36 PM
Or are you thinking raspberry pi
Avatar
Well, it would be if you had an integrated SD reader (edited)
5:37 PM
e.g. on my laptop
Avatar
ahh
5:38 PM
Ok that's the root one done now I need that image as i recall
5:38 PM
dd if=uImage-root-n705 of=/dev/mmcblk0 bs=512 seek=81920
Avatar
Ok, oof, that's a big bug, but I know what to do Let's re-make all 1.8 updates :yay: !
5:38 PM
Yes
5:38 PM
and replace mmcblk0 with sdb
Avatar
Yes figures 🙂
5:42 PM
Ok was that it?
5:42 PM
root@daniels-m900:/home/daniel# dd if=uImage-root-n705 of=/dev/sdb bs=512 seek=81920 11661+1 records in 11661+1 records out 5970844 bytes (6.0 MB, 5.7 MiB) copied, 12.7324 s, 469 kB/s
Avatar
yep
5:42 PM
Don't forget the echo rooted part
Avatar
I did that first
Avatar
Well sync and then you can put it back in the Mini
Avatar
Smallest ever dd
5:43 PM
Well dd not mounted so should be fine
Avatar
Hehe
Avatar
So slow booting could do with a progress bar. Though maybe it;s lightening on the Clara and later mdoels
Avatar
Yeah I agree
5:46 PM
Maybe up for a next release
5:47 PM
A bit like how Kindles boot?
Avatar
I think maybe Suse distro had a nice kernel progress bar
5:48 PM
Yay have USB rooting and DHCP lease menu options
Avatar
You can go in Diagnostics and enable USBNet in the Flags menu
Avatar
And Kterm too
Avatar
Then reboot on main system and it should work with 192.168.2.2 over USB (edited)
Avatar
Ahh yes will do the slide the power switch on flashing disk.
5:50 PM
How many times is enough btw?
Avatar
One
5:51 PM
Though, you better do it more because sometimes you do it a little too early, a little too late or whatever
Avatar
Down to three anyway I think once it starts flashing after that brief blue pause.
Avatar
When it starts flashing, it means U-Boot has started the kernel successfully
5:53 PM
When it's blue, it means U-Boot is loading the kernel
5:53 PM
When it's not flashing but green, it means U-Boot has started
Avatar
Noice
Avatar
There you go Tux is happy
5:55 PM
I got my Tux ages ago at a conference at Earls Court in London must have been 2000 (edited)
Avatar
Wow that's awesome
5:56 PM
So you've really been following from the beginning
5:56 PM
I wasn't even born in 2000 ;p
Avatar
Even before that I as a Slackware guy and Redhat 3.0
5:57 PM
First Linux on floppy disc manual X config hard work
Avatar
I'm on Gentoo right now
Avatar
That's hard core
Avatar
Yeah, once you get to know it it's versatile
Avatar
Hopefully last question for USB net should I accept computer connection when plugigng in?
Avatar
I guess?
5:58 PM
You could connect it on Linux elsewise
5:58 PM
ifconfig usb0 192.168.2.1 ssh user@192.168.2.2
5:58 PM
Password is user you can do su and password is root
Avatar
Ok that's the way it's designed will do that
Avatar
I tested it on Mac too, worked Don't know about Windows really
Avatar
Well that's new
6:01 PM
[174304.025078] usb 1-1: new high-speed USB device number 7 using xhci_hcd [174304.180214] usb 1-1: New USB device found, idVendor=0525, idProduct=a4a2, bcdDevice= 3.26 [174304.180220] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [174304.180223] usb 1-1: Product: RNDIS/Ethernet Gadget [174304.180226] usb 1-1: Manufacturer: Linux 2.6.35.3-inkbox+ with fsl-usb2-udc [174304.182211] cdc_subset: probe of 1-1:1.0 failed with error -22 [174304.185503] cdc_ether 1-1:1.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-1, CDC Ethernet Device, a2:34:f9:24:43:c9 [174304.212016] cdc_ether 1-1:1.0 enxa234f92443c9: renamed from usb0
Avatar
Then use ifconfig enxa234f92443c9 192.168.2.1
Avatar
And am in
Avatar
Nice !
6:04 PM
Did it show any warning at boot? Or gone like expected?
Avatar
The authenticity of host '192.168.2.2 (192.168.2.2)' can't be established. ECDSA key fingerprint is SHA256:ZvCc+cX2ECPK3FhaRfCpTNXtawKdv1s0WH1inhAbbNU. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.2.2' (ECDSA) to the list of known hosts. user@192.168.2.2's password: Welcome to InkBox!
  • Warning *
Root filesystem is mounted read-only. Invoke `ifsctl mnt rootfs rw' to make it read-write.
6:04 PM
Yes the read /write one
Avatar
You can use triple backticks to make code blocks
6:04 PM
But yeah
Avatar
Ahh thanks for the tip
6:05 PM
The authenticity of host '192.168.2.2 (192.168.2.2)' can't be established. ECDSA key fingerprint is SHA256:ZvCc+cX2ECPK3FhaRfCpTNXtawKdv1s0WH1inhAbbNU. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added '192.168.2.2' (ECDSA) to the list of known hosts. user@192.168.2.2's password: Welcome to InkBox! * Warning * Root filesystem is mounted read-only. Invoke `ifsctl mnt rootfs rw' to make it read-write.
6:05 PM
Sweet
6:05 PM
I guess no harm in trying the read/write line
Avatar
You could, but it can make your rootfs "dirty" as I call it
6:07 PM
To reset the changes you made and revert to clean commit you can mount /dev/mmcblk0p3 /mnt rm -rf /mnt/rootfs Will remove fuse-overlayfs cache
Avatar
Ah yes will take an image of my card anyway to get back to where I was.
Avatar
That's a good idea, yep
Avatar
Well we've covered some ground I'll try and write this up
Avatar
Uh... thanks!
6:10 PM
You can use the wiki
6:10 PM
hang on
6:10 PM
Create an account and write something
Avatar
Ahh great
Avatar
So if I read the df right loooks like lose 2.9G Filesystem Size Used Avail Use% Mounted on fuse-overlayfs 124M 80M 38M 69% / /dev/mmcblk0p1 19M 7.1M 11M 41% /boot tmpfs 125M 12K 125M 1% /etc/passwd /dev/mmcblk0p4 2.9G 2.2G 564M 80% /opt/storage /dev/loop7 1.0M 1.0M 0 100% /opt/root /dev/loop6 1.0M 1.0M 0 100% /opt/key /dev/loop5 1.0M 1.0M 0 100% /modules devtmpfs 10M 0 10M 0% /dev tmpfs 125M 4.0K 125M 1% /tmp tmpfs 125M 4.0K 125M 1% /var/log tmpfs 125M 0 125M 0% /opt/developer tmpfs 2.0M 0 2.0M 0% /var/db/dhcpcd tmpfs 125M 16K 125M 1% /opt/storage/tmpfs /dev/loop2 704M 653M 16M 98% /opt/X11/base /dev/loop8 180M 162M 8.2M 96% /opt/X11/base/rootfs /dev/loop9 436M 390M 24M 95% /opt/X11/vnc-touch /dev/loop10 330M 223M 90M 72% /opt/X11/extensions-base /dev/loop11 511M 4.0K 511M 1% /opt/X11/extensions-user /dev/loop12 194M 187M 0 100% /opt/X11/extensions-base/python3-onboard fuse-overlayfs 2.9G 2.2G 564M 80% /xorg tmpfs 125M 4.0K 125M 1% /xorg/tmp tmpfs 125M 0 125M 0% /xorg/run tmpfs 125M 0 125M 0% /xorg/dev/shm tmpfs 125M 12K 125M 1% /xorg/var/log tmpfs 125M 0 125M 0% /opt/X11/vnc-touch/tmp tmpfs 125M 0 125M 0% /opt/X11/vnc-touch/run tmpfs 125M 0 125M 0% /opt/X11/vnc-touch/dev/shm tmpfs 25M 64K 25M 1% /run shm 125M 0 125M 0% /dev/shm fuse-overlayfs 2.9G 2.2G 564M 80% /kobo tmpfs 125M 24K 125M 1% /kobo/tmp tmpfs 125M 4.0K 125M 1% /kobo/run tmpfs 125M 0 125M 0% /kobo/inkbox /dev/loop0 511M 24K 511M 1% /data/onboard
Avatar
Yeah, it's a big mangle of bind-mounts, symlinks and things
Avatar
I was thinking you see is 8gigabytes enough storage, will do the sizing of my ebooks and more importantly PDFs
Avatar
Pretty complicated But yeah, about 564M available in /data/storage (mmcblk0p4)
Avatar
Mine is a 16gigabyte SD card so presumambly there's a way to use all ofit
Avatar
Yeah, you'd need to resize the 4th partition
6:17 PM
And size up the onboard file in /data/storage/onboard
Avatar
I think I'm going to go Koitlin on the development
Avatar
You'll have to install Java I guess
Avatar
Koitlin and then I'll rewrite the thing in Clojure
Avatar
Are you joking
Avatar
Openjdk
Avatar
yeah
Avatar
No I'm trying to learn Clojure so it'll be a good exercise
Avatar
Ah, nice
Avatar
This is for my Chess App
Avatar
Oh, it compiles to Java
Avatar
Clojure is actually Java byte code
Avatar
nice
Avatar
Yes rather nice can use any Java library too
6:23 PM
The next fun thing will be your qemu environment
Avatar
Yeah that's pretty nice
6:24 PM
I don't have to use my Janky Serial Setup (TM) now
Avatar
It was a great little mod though :-). But I'd imagine fraught with danger
6:25 PM
The serial setup? It works, but it's janky
6:25 PM
The board is a Lichee Pi Zero
6:26 PM
The other one is a Banana Pi M2 Zero I'm trying to use to develop an InkBox reader (edited)
6:26 PM
Like, that could actually sell at some point
6:27 PM
The wires are from repurposed Ethernet cables (edited)
Avatar
Lichee Pi Zero must look that one up
Avatar
It's a very nice board
Avatar
I've got irritating cut and paste issues here lousy timing
Avatar
64MB RAM, costs $15 CAD on eBay IIRC
6:28 PM
6:28 PM
Here is an even more janky setup, this time with a Lichee Pi Nano
6:28 PM
That one costs $7
6:28 PM
It's the size of a SD card and runs Linux
Avatar
Sweet going to reboot see if it sovles my problems
6:30 PM
You pasted the uImage btw would be good to know if it lives anywhere. Anyway rebooting
Avatar
Yeah, it's in the update packages as I said before
Avatar
Avatar
tux-linux
It's in the update packages, which you can mount, they're squashfs images
.
Avatar
That little computer what a gadget size of an SD card
Avatar
yep
Avatar
That's just insane it supports 1080p H2.264 Lovely
Avatar
Yeah, but at 32MB, it won't do very much
6:46 PM
And documentation is scarce
Avatar
LCD interface wonder if can drive an eink too
Avatar
That's what I try to find out on the Banana Pi
6:46 PM
(similar architecture, Allwinner too)
Avatar
Life's hard without docs
Avatar
There is some kernel source available, but basically it's "I give you that and it's what you have"
6:48 PM
But read this, the guy used a Lichee Pi Nano for development https://www.thirtythreeforty.net/posts/2019/12/my-business-card-runs-linux/ Also an insanely cool project
In which I build a Linux computer cheap enough to give away
Avatar
Ahh one of those
6:49 PM
Ohh that's sweet
6:50 PM
Bill of materials funny 🙂
Avatar
Yep
6:51 PM
Culprit found, yay
Avatar
Ahh you fixed the security warning? happy days
Avatar
We'll see if I fixed it ;p
6:51 PM
I think I fixed it...
Avatar
If you build a 1.8.1 image I'll happily try it
6:52 PM
From the top as it were
Avatar
I'm on the verge of releasing 1.9 😉
Avatar
Ahh goodie
Avatar
Will namely include new Online Library support for devices with Wi-Fi
6:54 PM
Basically scrapes Gutenberg's catalog offline and retrieves data for the books, user can download them
Avatar
For the Libre H2O has anyone removed the existing SD card upgraded to 128Gb say and reglued it to keep the waterproofing I wonder
Avatar
you could do that, I guess
Avatar
It seems strange to me surely the whole case must be sealed otherwise it wouldn't work after a dunking
Avatar
My Libra wasn't sealed when I opened it
6:56 PM
The PCB is tropicalized, but not the case
6:57 PM
"The Libra 2 has been confirmed to have an sd card inside and a 1420mAh battery"
Avatar
Nice
Avatar
Time for a post find out who this person is and get some motherboard pictures of him
6:59 PM
him/her must be modern these days
6:59 PM
6:59 PM
That's the Library thing
7:00 PM
Avatar
Super
7:00 PM
Nothing like freebees
7:00 PM
I think Sherlock Holmes was available as a freebee, Moby Dick
7:02 PM
Avatar
Ok so all my computing PDFs are 512Mb that's not alot
7:03 PM
Avatar
Avatar
Daboone72
Ok so all my computing PDFs are 512Mb that's not alot
what
Avatar
Just sizing up how much space I actually need.
👍 1
7:04 PM
2.15Gb total PDFs
Avatar
Are you sure you want to throw 2.15Gb of writes into the SD card?
Avatar
No most of those will be A4 anyway too big really for a small reader.
7:05 PM
But O'Reilly books and Manning books are probably alright and other java text books
Avatar
You can remove the onboard file then dd if=/dev/zero of=onboard bs=1M count=2048 mkfs.vfat onboard
7:06 PM
(assuming you want a 2G file)
7:06 PM
otherwise 4096 for 4G etc.
7:06 PM
oh, and sync
Avatar
I guess you have to unmount the onboard first
Avatar
Yey, no more passwd issues
Avatar
Avatar
Daboone72
I guess you have to unmount the onboard first
yes
7:09 PM
umount /data/onboard umount /kobo/mnt/onboard/onboard
7:09 PM
If it complains being busy, add the -l -f flags
Avatar
After the dd sync as you say then I guess reboot to return to normal
Avatar
Yeah, or you could do rc-service inkbox_gui restart but it's better to reboot
Avatar
@tux-linux Just to ask wifi works on your Libra H2O? (edited)
Avatar
Yep
Avatar
I was going to say it works on postmarket OS so should be good
7:23 PM
512Mb of Kindle books so no worries on storage space.
7:24 PM
Will see how they survive an epub conversion.
👍 1
Avatar
Libra 2 Kobo Libra 2 first impressions Kobo Reader
7:52 PM
"The back came off really easy. Just popped off like the Libra H2O."
Avatar
Cool
Avatar
There are motherboards pictures too so can contact him to get chip numbers
👍 1
Avatar
Avatar
Daboone72
isn't the card glued in for water tightness?
Avatar
Yeah, but if you succeed in un-gluing it it can be removed
Avatar
At least it's not soldered to the motherboard nasty business.
8:08 PM
Will get wifi chipset numbers then make a decision to buy or not.
Avatar
@tux-linux Super 🙂 Will try over the weekend
Avatar
Well, there's not really anything else to try It just fixes the issue you had
Avatar
If you want me to kill two birds with one stone if there's a 1.9 alpha comming up can try that too
9:37 PM
I have three little 8GB SD cards not doing much
Avatar
Yeah, would be nice
9:41 PM
I could make some package
Avatar
Well if you feel up for it can let us know Saturday and I can test Sunday
👍 1
😀 1
9:45 PM
Looks like I'll most likely be working a patch to get Anbox into the distro
Avatar
You sure you'll succeed with a 2.6.35.3 shitty old kernel?
Avatar
Well might have to rebuild from source but hopefully
Avatar
IIRC, I tried that and a lot of features needed by Anbox weren't there in 2.6.x kernels
Avatar
Alright maybe it's time to get to 5.x
Avatar
Good luck
Avatar
I'd imagine busybox will have moved on
Avatar
Wasn't the one of the fundamental tool sets
Avatar
I have a fairly recent busybox installed in InkBox, 1.32.1
9:48 PM
BusyBox doesn't have anything to do with kernel stuff
Avatar
https://alpinelinux.org/downloads/ Did you go for mini root i wonder
Avatar
yes
9:51 PM
Now it's not really Alpine Linux anymore ;p
9:51 PM
Also, Alpine on the Mini can go up to 3.10, not further, because kernel issues
Avatar
Well that's not such a great move, was there some fundamental blocker
Avatar
Avatar
Daboone72
Well that's not such a great move, was there some fundamental blocker
What do you mean?
Avatar
Ohhh I'm going to go to Kobo Libra H2O or Libra 2
Avatar
I meant that I modified the rootfs so much that it's not really Alpine Linux anymore, more like InkBox OS
Avatar
Alpine for Inkbox is like Android to Normal Linux I guess
Avatar
not really
Avatar
Well they are no longer compatible
9:53 PM
apt-get upgrade Alpine will break Inkbox
Avatar
Yes, you can install packages, do alpine-related stuff, but in general init scripts, internal binaries, have been modified
Avatar
Avatar
Daboone72
apt-get upgrade Alpine will break Inkbox
Possible, haven't tried... ;p
Avatar
Pity I'd have left it as an App running on Alpine and then deal with the security
Avatar
It's mode like apk upgrade
Avatar
Yes I couldn't remember command 🙂
Avatar
Avatar
Daboone72
Pity I'd have left it as an App running on Alpine and then deal with the security
It was basically that at the beginning
9:55 PM
Though then I needed a kernel with initrd to handle dual-boot with diagnostics, ensure package signing was verified, etc.
Avatar
Avatar
tux-linux
It was basically that at the beginning
9:56 PM
InkBox at the 10th of March, 2021
9:56 PM
Malware bytes redflags your site btw.
Avatar
huh
9:57 PM
Maybe it's because I don't have a domain name?
Avatar
Maybe I think I have some stuff at work on Ip will compare
👍 1
9:59 PM
I wonder if they scan for MBR type stuff, back from the old days
9:59 PM
Ohh it's got a bootloader and it's not an OS must be evil 🙂
9:59 PM
not an OS they've heard of anyway
Avatar
Also, they're xz-compressed disk images
10:00 PM
so...
Avatar
Ahh even stranger then
10:02 PM
So Alpine 3.15.0 is on Kernel 5.15 LTS Kernel issues with a CPU gosh
10:03 PM
Apparently the latest release was about embedded and Arm might be worth another look let's see
10:03 PM
Time for a bit of https://lkml.org/
10:06 PM
So I see Greg Kroah-Hartman is the man.
10:08 PM
Well Cortex A8 is still active 2019 at any rate. https://www.lkml.org/lkml/2019/11/8/1451
Avatar
Well, I'm sure it is possible to port 5.15 to Kobo Mini, however you'll need to create all the drivers, especially the EPDC (display) one, as well as making a DeviceTree to boot the platform
10:10 PM
Andreas Kemnade has ported mainline to Libra H2O
10:10 PM
(except for display)
Avatar
Well I am happy to get the Libra H2O but would have been nice to do good stuff with the Mini. (edited)
10:12 PM
I guess you will still be on the same Alpine for Libra H2O at least for a while.
10:14 PM
Ok I think that does it will get a Libra H2O if the kernel is ready at least it's just a question of time for the display driver
10:15 PM
And what's the point of porting the drivers without a display he may even have the patch almost ready to go
10:16 PM
Inkbox works on the Libra H2O already right? So the code must exist
Avatar
Avatar
Daboone72
Ok I think that does it will get a Libra H2O if the kernel is ready at least it's just a question of time for the display driver
It already has 4.1.15, so it's better
Avatar
Avatar
Daboone72
And what's the point of porting the drivers without a display he may even have the patch almost ready to go
It's the hardest part
Avatar
I guess I can't comment really kernel maintenance not being my bag.
Avatar
One word: tough
Avatar
Well no Android support under Inkbox then. Well guess will have to abandon that idea of a portable useful app.
Avatar
Avatar
Daboone72
Well no Android support under Inkbox then. Well guess will have to abandon that idea of a portable useful app.
Maybe on newer devices
10:31 PM
But I doubt it would work on the Mini
Avatar
Well Mini is too crippled for my main project. I may use it for something else that doesn't require a network.
10:32 PM
I need Wifi to host an IP for an API to talk too.
Avatar
The Touch B might be a better choice for a lower cost
Avatar
I am happy with Libra H2O it won't be long before they are used and that might well coincide when the DGT Mod has a very stable code base. (edited)
10:34 PM
Plus being the sort of second generation now quite likely to be 20% off in a summer kind of sale.
Avatar
Yeah probably
Avatar
20% off makes it £125 and it's a nice upgrade from a Kindle and great resolution. Plus looks nice in landscape mode
10:36 PM
I think back to golang and Qt that sounds nice.
Avatar
Particularly Qt ;p
Avatar
Well that will work on this https://cutiepi.io/ as well
Liberate your Raspberry Pi project from the desk, and start creating wherever the idea strikes.
10:37 PM
Quad-Core Allwinner A64 @ 1.152 GHz Up to 2GB LPDDR3 RAM Built-in 802.11 b/g/n WiFi with Bluetooth 4.0 Bootable microSD and 64GB eMMC Detachable keyboard Go to Store The PineTab is similar in both…
10:37 PM
Which has a removable keyboard even whoops (edited)
Avatar
You could also contribute to InkBox codebase if what you want to develop would be useful in the main program
Avatar
A make menuconfig style build could open a lot of doors.
Avatar
hmm hmm
Avatar
Do you wish openjdk? Y/N, golang and libraries Y/N , Python and libraries Y/N etc
10:39 PM
Even a bash script would do I suppose
Avatar
yeah
Avatar
Ok golang and Qt it is again happily thanks to you I know Qt works just fine
👍 1
Avatar
We could add a chess game to InkBox That would be fun
Avatar
Well there is one for X I saw this demo
10:43 PM
Let me find
Avatar
Oh yeah, or in X
10:43 PM
I was more thinking Qt
Avatar
oh yes
10:45 PM
I don't recall the app's name
Avatar
I can't recall either it's probably just chess for x
10:46 PM
Xboard not bad
Avatar
Interesting
Avatar
It's that video that first got me looking for distribitions and of course found yours preserves the actual useful eink part of the functionality
10:50 PM
Well first found the hardware of course Linux compatible tablets
Avatar
Developing KoBox subsystem was 3 months of pain but the end result is worth it
Avatar
Yes very very good move
10:51 PM
Hours, hours, hours and hours of headaches ;p
Avatar
Startx that's used to be how I ran Xwindows
Avatar
Hmm well it's not that startx
Avatar
I know just amused me 🙂
👍 1
Avatar
It's just a script made by me
Avatar
Ohh yeah I can see lots of pain well done
😅 1
👍 1
Avatar
Debugging that thing was the worst
Avatar
The extension part looks painful too
Avatar
Yeah, that was quite hard to figure out
10:54 PM
I had to make a diagram to actually know what I was doing
10:54 PM
Avatar
I remembner booting X watchign the X.org log lots of the little shits
Avatar
Looking good?
5:52 AM
#!/bin/sh calculate() { result=$(awk "BEGIN { print "$*" }") printf "%.0f\n" ${result} } eval $(fbink -e) PERCENTAGE=${1} fbink -k -f fbink -s top=$(calculate ${viewHeight}/2+${viewHeight}/8),left=$(calculate ${viewWidth}/4),width=$(calculate ${viewWidth}/2),height=$(calculate 2.44140625*100/${viewHeight}*100) -W GC16 -D ORDERED -H -w fbink -s top=$(calculate ${viewHeight}/2+${viewHeight}/8+2),left=$(calculate ${viewWidth}/4+2),width=$(calculate ${viewWidth}/2-4),height=$(calculate 2.44140625*100/${viewHeight}*100-4) -W GC16 -D ORDERED -w fbink -s top=$(calculate ${viewHeight}/2+${viewHeight}/8),left=$(calculate ${viewWidth}/4),width=$(calculate ${viewWidth}/4/2*4*${PERCENTAGE}/100),height=$(calculate 2.44140625*100/${viewHeight}*100) -W GC16 -D ORDERED -H -w (edited)
Avatar
@everyone What would be a killer feature to implement for InkBox 2.0? FYI, 1.9 is on the verge of release and will bring online library support for Wi-Fi-compatible devices, UI redesign and picture display support.
Avatar
multi-tasking apps? 😉
Avatar
In X11?
6:50 AM
Or Qt
Avatar
oh, good point - you already support x11
Avatar
Yeah, it runs i3, so quite a lot of flexibility
Avatar
people are talking about getting x11 on rM working (well: they technically keep talking about wayland), but doesn't it have slow refresh?
6:52 AM
i still haven't flashed inkbox, but i just finished the merge of kobo support to rmkit, so i'm ready to try it out for when i have a spare weekend
👍 1
Avatar
I use fbink_xdamage to display X screens on Kobos
6:53 AM
Input is handled by a blind Qt VNC client connected to x11vnc (Yes, it's that dumb ;p)
Avatar
Avatar
rsjn
i still haven't flashed inkbox, but i just finished the merge of kobo support to rmkit, so i'm ready to try it out for when i have a spare weekend
What device will you try it on?
Avatar
libra h20
Avatar
Ok, so that's quite the task
6:54 AM
I'll guide you for the manual setup
6:54 AM
Involves repartitioning the eMMC to dual-boot Nickel and InkBox (edited)
6:55 AM
Even if we brick the device, there should be a chance of recovery via USB download mode (edited)
6:57 AM
If your want to play safe, you can try it out in the emulator first Pretty much everything works
Avatar
Avatar
tux-linux
If your want to play safe, you can try it out in the emulator first Pretty much everything works
yeah, emulator sounds good
7:22 AM
someone was telling me about a way to run a server for the kobo to browse (instead of their server), it was like osdf or ospdf or something
Avatar
@tux-linux My killer feature implement postscript and make it possible to print to it aka https://docs.microsoft.com/en-us/windows-hardware/drivers/print/microsoft-postscript-printer-driver
The PostScript Printer Driver (Pscript) is the Microsoft standard printer driver for PostScript printers.
Avatar
Interesting propositions, interesting considerations. I'm not that sure about PostScript, maybe there's a native Qt thing that could print it But thanks for the suggestions! (edited)
Avatar
Avatar
tux-linux
Looking good?
btw
Avatar
Hey there's Ghostscript your bound to be able to get the libraries ands use them.
Avatar
Hmm
Avatar
@tux-linux Mocking up the sreen for the Libra H2O for my chess project
Avatar
Nice!
2:46 PM
Actually, there's a full Python3 already installed in X11 rootfs If that could help
2:47 PM
Could make a nice KoBox add-on
Avatar
Yes though I am warming to golang. If I'm doing this for 6-8 months it'd be a nice win at the end.
👍 1
2:47 PM
golang is used for alot of miroservices and that's been part of my work life and also DevOps.
Avatar
Then you can include golang in the KoBox package
2:48 PM
KoBox packages are like a part of the rootfs
Avatar
I considered rust as well but golang is fast enough and makes life easier
2:48 PM
You'll have to give me some tips on doing long projects 🙂
👍 1
Avatar
Rust probably would have made your compile times longer ;p
Avatar
I struggle above 2 months
2:49 PM
It has a steep learning curve too
2:50 PM
You can’t depend on the initial swell of motivation to succeed in challenging, long-term projects. Here are a few strategies that can help.
2:51 PM
2500 hours on this one how on earth did you stay motivated 🙂
Avatar
Welp, the main game changer first was that originally InkBox was developed as a Nickel add-on. Once I decided to port it as a real OS as it is now, motivation was relieved. After that, the huge KoBox project gave me enough to survive three months, until July 4th, when all release announcements for 1.5 were done. I received a lot of positive feedback :D But then I was exhausted. Did not touch that during several days. Then came 1.6, 1.7 during the summer which namely introduced search and PDF support. 1.8 was quite one of the biggest, but the challenge given by @FxFyu1v1 about encrypted storage motivated me till the end. I wouldn't do it again ;p Now here I am ready, or almost, for 1.9, thanks to people like you, @dill , @rsjn and others that give me feature suggestions and report bugs :)
♥️ 2
2:55 PM
Here's the encfs service which does encryption: https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/encfs I'm sure you'll see lots of pain, and experience some maybe trying to understand 😂 (edited)
InkBox OS root filesystem. Contribute to Kobo-InkBox/rootfs development by creating an account on GitHub.
Avatar
Ahh ic
2:56 PM
I was reflecting after a while it becomes a vehicle for learning
Avatar
Yes, too When I started, I knew absolutely nothing to Qt and C++
Avatar
qemu dev environment that sounds like fun let's do that. squashfsh interesting why not
Avatar
Avatar
Daboone72
qemu dev environment that sounds like fun let's do that. squashfsh interesting why not
I'll probably make a dependency list for Debian-based systems sometime this weekend to make it work
2:59 PM
Also, the emulator has its own private key which is public, so your can sign whatever you want with it and it'll work
Avatar
That would be great that is on my task list.
Avatar
InkBox OS emulator. Contribute to Kobo-InkBox/emu development by creating an account on GitHub.
Avatar
Right I have a meeting to spoil things
👍 1
Avatar
Actually, I realised you better should do your add-on on X11/KoBox, because the Libra has had some problems with Qt: when it's been a long time you haven't touched anything on the screen, it freezes, can register input but cannot print anything on the display (edited)
3:01 PM
It does not happen under X11 though
3:05 PM
So yeah, Golang would be a good option, assuming the version provided by Alpine 3.10 is recent enough (or you'll have to create yourself another chroot of more recent Alpine inside KoBox, also possible I guess)
3:05 PM
Yeah, the extension could mount a squashfs or a disk image and it would chroot into it to run the program (edited)
Avatar
BTW, here's a detailed overview of the boot flags if it can help you in some way: http://inkbox.ddns.net:40/wiki/index.php?title=Boot_flags (edited)
Avatar
@tux-linux I can really get enthused now I have a working chess board with the mod installed.
Avatar
What mod?
5:53 PM
You mean, you're ready to develop?
Avatar
DGT Centaur Modifications - taking the chess board, reversing the protocols, and making it do more things. - GitHub - EdNekebno/DGTCentaur: DGT Centaur Modifications - taking the chess board, rever...
Avatar
Cool
Avatar
It requires an upgraded Raspberry Pi Zero to a 2W to get wifi and bluetooth which I just paid a guy to finish
Avatar
So you are going to use both the Libra and the RPi?
5:56 PM
As of a couple of days ago I did it in the evening. Unpacked centaur and refixed permissions.
5:57 PM
Wrong forum hang on
5:57 PM
Yes will use the Libra and the Pi inside the board get them to talk to each other
Avatar
Nice Maybe it could be possible to do it all on the Kobo? Don't know what it requires, is it just software or does it interface with hardware with connections to the GPIO?
Avatar
The idea is to build an API on the chess board to push the moves to the Libra to display them on a much much much larger eink dispay 2.9 inch 296x128 pixels versus 7 inch Libra 1680x1264 🙂
6:01 PM
They need to talk to each otherwise there's no point.
6:01 PM
The display logic will be on the Kobo as the display logic on the board is for the tiny dsisplay
Avatar
The API will just pass move details and history over.
👍 1
6:02 PM
So move on the board becomes a visible move Kobo and with the touch screen it's easier to set up the board on the Kobo so will implement an API the other way too
6:03 PM
The end goal to make puzzle and post game analysis much easier
Avatar
Nice
6:03 PM
Don't want to be intrusive or anything, but are you working for DGT?
Avatar
No 🙂 good question though just love open source
👍 1
Avatar
@tux-linux Could you measure the horizontal and width of the Libra of the screen for me?
Avatar
In cm?
Avatar
Or mm even if your confident
Avatar
I'll do that in some time, need to finish up some things before 😉
Avatar
As 7 inches diagonal is probably approximate
6:15 PM
I can't remember if I shared the latest probably
6:15 PM
Anyway the blob on the top right is supposed to be a mirror of the actual screen I want to be sure it's at least 2.9 inches tall
Avatar
The status thing?
Avatar
Second down the Double sized 296x128 thing
Avatar
It will be mirrored on "Buttons"?
Avatar
No buttons is to mirro the board buttons so there's quite a bit of room but triple sized will reduce it to almost nothing vertically
6:19 PM
Will have to change the layout somehow to compensate
Avatar
I'm not sure I follow
Avatar
Ahh nut it will nedd to be triple
6:21 PM
It's 8 units high out of 19 so 2.9 inches x 2 would be 5.8 inches I can't imagine the Libra having a display 5.9 inches tall
Avatar
Measured with a thumb it seems around 4.5"
Avatar
Thanks ok redesign in order. Still will be nice to work out for the touch screen side of things
Avatar
144mm * 108mm Dimensions of Libra H2O's screen
Avatar
Ahh thanks very much
👍 1
6:48 PM
6mm sized buttons should be big enough too
6:50 PM
Revised the screen so
6:51 PM
Hey bang on triple size 108 * 0.72 = 77.76mm / 25.4 = 3.06 inches
Avatar
Nice
Avatar
@tux-linux Woohoo https://pkgs.alpinelinux.org/packages?name=go&branch=v3.15&arch=armv7 go 1.17.4-rc0 (edited) for Alpine Linux 3.15 the latest version is go 1.17.6 so nothing in it (edited)
7:54 PM
Architecture v7 arm right
Avatar
Yes
Avatar
Ahh I need it under Kobox though but I guess still Alpine
Avatar
Yes
7:56 PM
Alpine 3.10, so you should make an extension involving a chroot (edited)
Avatar
Kobox is just the X windows host
7:57 PM
Ohh bugger 3.10 I thought it wsas 3.15
Avatar
Avatar
tux-linux
So yeah, Golang would be a good option, assuming the version provided by Alpine 3.10 is recent enough (or you'll have to create yourself another chroot of more recent Alpine inside KoBox, also possible I guess)
There
7:57 PM
It can't be 3.15 otherwise it wouldn't run on Mini for example
Avatar
Ok so 1.12.12-r0 under v3.10 let me see
7:59 PM
Well there is source code so maybe I can build a new one
Avatar
You could, but honestly a chroot would be simpler
8:00 PM
You just make an extension containing a disk image with Alpine 3.15 and you make a script telling the https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/xorg.sh process to mount required things and launch your program into the chroot
Avatar
Hmm will lose file access to everywhere else then perhaps it doesn't matter
Avatar
You can use bind-mounts
8:01 PM
And named pipes
Avatar
Suppose there is a lightweight base Alpine and as you say just add go.
Avatar
Yep
8:01 PM
And Python or anything else you want
Avatar
Fair enough we can call the developer partition
8:02 PM
call it
Avatar
Developer partition?
Avatar
Well add make, configure other useful bits and bobs
Avatar
Yeah
8:03 PM
You can also set up a QEMU-arm virtual machine to compile without needing to cross-compile (much better, although slower)
Avatar
Maybe another too for just containing the libs and the binary
8:03 PM
release image as it were
Avatar
A developer extension, maybe?
Avatar
I was thinkiing that qemu-arm better for testing no exceptions
8:04 PM
Using a mount overlay sort of thing?
Avatar
Yes, maybe Then you would need two separate extensions, they'd get merged at boot (edited)
8:05 PM
But why wouldn't you just put all into just one?
Avatar
Just dev tools could be heavy and source libs etc
8:05 PM
Space wise I mean
Avatar
Oh, dev tools for debugging your program?
Avatar
Also ideally they would have debug source in them so can attach a debugger and make sense of what is happening
Avatar
hmm hmm
Avatar
Well building and developing
8:06 PM
I'll know more when I make the image maybe it won't be that heavy
Avatar
Yeah, so the "production" extension wouldn't absolutely require the dev tools
8:06 PM
Fair warning: KoBox extensions exportable storage image size is 512M
Avatar
That's what I was thinking keep it like Golang is compiled not like Python interepted
Avatar
So ideally, your extension should be <100M without dev tools
Avatar
That seems plausible ches library, http library, and qt
Avatar
You want qt too?
Avatar
Well if it can see the Inkbox qt all is well but chroot I suspect not
8:08 PM
Anyway I'd want the qt to match the go version and all that jaz
Avatar
There's no Qt in KoBox chroot
8:08 PM
Only GTK
Avatar
Avatar
tux-linux
Actually, I realised you better should do your add-on on X11/KoBox, because the Libra has had some problems with Qt: when it's been a long time you haven't touched anything on the screen, it freezes, can register input but cannot print anything on the display (edited)
And the problem about InkBox Qt on Libra
Avatar
Well don't fancy GTK
Avatar
Me neither
Avatar
I know that's why you said under X as I recall
Avatar
Yeah, golang requires Qt?
Avatar
No issues under the other way as I recall
8:10 PM
No but my App will it's graphical after all
Avatar
Oh, there are Qt bindings?
Avatar
Yes golang and Qt play nicely together
Avatar
I was going to say at this point you should just use C++ but hey, do whatever you want 😉
Avatar
I know that would be your choice but I fancy learning something new and with built in garbage colleciton and easy multi CPU threading. (edited)
Avatar
Yeah sure, that's some nice thing about Go
Avatar
Then later I can use it for some fun OpenGL
8:13 PM
So 100Megabytes only but I guess that could be raised if neessary
Avatar
Yeah, but can't exceed 512M
8:14 PM
100M would just be the limit of "fair use" of the exportable extension storage
Avatar
There's alot of stuff in Qt no doubt it can be trimed down.
Avatar
(which you can access there)
Avatar
Ohh I see there's glue already in place for extensions ok
Avatar
Yeah, there is a Commodore 64 emulator available as an extension
Avatar
So step 1 make a lightweight Alpine and add the libs hmm seems like I'm going to have to trim it down from the start shame.
8:17 PM
Why all these weird issues with devices. Libra not working with Qt. It's crazy
Avatar
i know
Avatar
I don't hear of cases of this with the Raspberry Pi ./cofnigure; make done
8:18 PM
Maybe should convert to Gentoo
Avatar
I guess having an e-Ink screen already complicates life
Avatar
X is a protocol though supposed to get rid of that hassle
Avatar
Well, even X needs a custom middleware to work
8:19 PM
https://github.com/schuhumi/fbink-xdamage (which works very well btw)
A xclient that listens for xdamage events and refreshes EPD using FBInk - GitHub - schuhumi/fbink-xdamage: A xclient that listens for xdamage events and refreshes EPD using FBInk
Avatar
If it's not updating right or somthing I'd say it's aproblem with he display driver not the Qt libray
Avatar
Maybe, never found out the cause of the problem
Avatar
It makes me worried going to get some peculiar unfixable bugs down the line
Avatar
You'll sure get some
8:21 PM
Happens all the time with me
8:21 PM
It's so specific that I'm like "Ok, let's track down this thing to its core, anyway there's no available documentation for that at all"
Avatar
I'd better add a redraw display button
Avatar
yep
Avatar
Hmm stuff to think about
8:24 PM
Going to have some food
👍 1
Avatar
Gentoo has the most colorful package manager ;p
Avatar
Agreed lol
👍 1
Avatar
InkBox OS now has a progress bar on boot! https://photos.app.goo.gl/RUYcbxHYopAaKZGg7
2:35 AM
:D
Avatar
Avatar
tux-linux
@everyone What would be a killer feature to implement for InkBox 2.0? FYI, 1.9 is on the verge of release and will bring online library support for Wi-Fi-compatible devices, UI redesign and picture display support.
crap sorry i didnt see that
2:37 AM
hmmm
2:37 AM
i mean i know its a lot of work but maybe a complete UI revamp
Avatar
What would need to be done?
Avatar
it's already a very very good UI but i think you could do it
2:38 AM
let me see
2:38 AM
opens ms paint\
2:39 AM
maybe a nickel-like interface
2:39 AM
LMFAO
Avatar
what-
Avatar
i dont know
2:40 AM
let me try to write neatly with a mouse
2:40 AM
so they say "book, X% read"
Avatar
Avatar
tux-linux
what-
lmao sorry
2:41 AM
BAHAHAHA ok let me explain
2:41 AM
hear me out
2:41 AM
so the books are on the top half, maybe 3 or 4
2:41 AM
and then file manager or "my files"
2:42 AM
on the bottom, "home, books, library, and more"
2:42 AM
"more" being Apps and Settings
Avatar
Not really sure
Avatar
the kobo has the best shape, i know
Avatar
Maybe a killer feature that's not related to the UI?
2:45 AM
lets see. how about an option to have a complete kobox desktop
Avatar
BAHAHAHAHA
Avatar
Avatar
dill
lets see. how about an option to have a complete kobox desktop
Hmm hmm That would be great, yeah Only thing would be to restrict access to terminal/consoles for non-rooted devices
Avatar
Which is kind of hard
2:47 AM
Since there are so many hacks about how to open a terminal from whatever app existing
Avatar
ohh yeah true
2:47 AM
wait
2:48 AM
rooted means that you have access to the root user right
Avatar
Yes, well a root shell
Avatar
so that means you could still have terminal access without accessing root
2:48 AM
like, user
Avatar
We thought the same thing at the same time
2:49 AM
great minds think alike
Avatar
I guess it's a matter of bind-mounting passwd
Avatar
bind-whatwhatwhat
Avatar
look it up
Avatar
what does it have to do with inkbox
Avatar
It's mostly for directories, but you can also bind-mount files
2:50 AM
Well This
2:50 AM
Avatar
There aren't that much disk images, you know? The mountpoints are just mirrored somewhere else
Avatar
A bit like symlinks, but it works in chroots too
Avatar
ohhhh got it
2:51 AM
so where would you bindmount passwd
Avatar
From some extension, or maybe just from the xorg.sh launch script in the rootfs
2:52 AM
A bit like what's done by the initrd
2:52 AM
so, it could be done?
Avatar
I guess
Avatar
discord on kobo
2:53 AM
revolutionary
Avatar
No please
Avatar
Not until they make models with 2G RAM
Avatar
yeah true
Avatar
Well, maybe the Elipsa's 1G would be enough
Avatar
didn't you get it running, that one time
Avatar
Yeah, on the Touch
Avatar
that was on the kindle wasnt it
Avatar
Some black magic if you ask me, never had it again
2:54 AM
yes, too
2:55 AM
wow this server is almost a year old...
Avatar
Yes...
2:55 AM
And KoBox is officially a year old
2:55 AM
Since Jan 11
Avatar
Avatar
tux-linux
And KoBox is officially a year old
like me
2:56 AM
;p
2:56 AM
WAIT WHAT THE FU-
Avatar
WOW 51 members
Avatar
Yeah I know
Avatar
fuck (edited)
Avatar
nonsense
Avatar
oh wait no its just unixporn
2:57 AM
probably because of... the second word
Avatar
Ah ha ha ha...
2:57 AM
lemme try with a wayback machine link
2:59 AM
archiving...
3:01 AM
Well, not the WayBack Machine but it works I guess
3:02 AM
welp i gotta go
👍 1
3:02 AM
i'll think of more ideas for 2.0
3:02 AM
bye
Avatar
Bye!
Avatar
@tux-linux my idea n pbybe r-ernqre jvgu gur grkg ba gur vaxobk naq vzntrf tbvat gb gur zbovyr cubar na r-ernqre jvgu zvyyvbaf bs pbybef something 13
9:42 AM
@tux-linux And great on the progress bar, thought it would be easy enough 😉
9:46 AM
@tux-linux Vg jbhyq jbex hfvat jveryrff ohvyq na ncc sbe Naqebvq cbfg gur eraqrerq WCRT gb vg naq gung unf n cntr ghea unf bpheerq. Gheaf oynpx jura n cntr vf ghearq vs gurer vf ab vzntr. Terng hfr pnfr Gbyxvra Ybeq bs gur Evatf gur vyyhfgengrq rqvgba.
Avatar
Hi @tux-linux , I'm trying to work out how to use the inkbox emulator. It gets most of the way through bootstrap.sh but crashes with: usr/gen_initramfs.sh: Cannot open '/home/build/inkbox/kernel/initrd/busybox-1.32.1/_install-emu/'
11:07 AM
Any idea how to fix it?
Avatar
@btwarch147 Did it fail to pull busybox? I haven't done the process myself yet but that wouldbe my guess.
Avatar
Looks like it failed to wget one of the files
11:21 AM
+ sudo wget http://23.163.0.39/bundles/inkbox/native/update/1.8/emu/inkbox-update-1.8.upd.isa -O update.isa --2022-01-15 09:55:34-- http://23.163.0.39/bundles/inkbox/native/update/1.8/emu/inkbox-update-1.8.upd.isa Connecting to 23.163.0.39:80... connected. HTTP request sent, awaiting response... 404 Not Found
Avatar
You could wget it yourself in the same place and just disable the lines
11:24 AM
Sorry I expect you know what your doing
Avatar
looking at the link in the browser, it looks like there is no emu folder
11:25 AM
Avatar
Yes just noticed that myself
11:26 AM
hmm might have to change emu to your kobo version
11:26 AM
n905b whatever they all have hte inkbox-update-1.8 in them
Avatar
I'll give that a go
Avatar
It's all armv7 at the end of the day. Unless he's built with vnc display in mind hmm
Avatar
Didn't seem to work, got the same error as before
Avatar
Ahh boo we need tux's original image back then
Avatar
yup
Avatar
Hello, yeah, actually I didn't upload the emu image, that's why there isn't really any documentation on the GitHub repo
4:33 PM
I'll put one there, won't be really 1.8, but more like current Git commit, so you get the newest features
Avatar
Avatar
Daboone72
@tux-linux Vg jbhyq jbex hfvat jveryrff ohvyq na ncc sbe Naqebvq cbfg gur eraqrerq WCRT gb vg naq gung unf n cntr ghea unf bpheerq. Gheaf oynpx jura n cntr vf ghearq vs gurer vf ab vzntr. Terng hfr pnfr Gbyxvra Ybeq bs gur Evatf gur vyyhfgengrq rqvgba.
Thanks for the progress bar! For the rest, what--
Avatar
Avatar
btwarch147
Hi @tux-linux , I'm trying to work out how to use the inkbox emulator. It gets most of the way through bootstrap.sh but crashes with: usr/gen_initramfs.sh: Cannot open '/home/build/inkbox/kernel/initrd/busybox-1.32.1/_install-emu/'
You need to change the initrd location in the kernel config. Edit [kernel-repo]/kernel/config/config-emu Search for CONFIG_INITRAMFS_SOURCE and change the location to [kernel-repo]/initrd/busybox-1.32.1/_install-emu [kernel-repo] being the location of the cloned repository, without the brackets.
4:39 PM
I suggest you reboot, delete the emu repository and re-clone it, or git reset --hard && git clean -f on it to start fresh
Avatar
@btwarch147 It's live now, there http://23.163.0.39/bundles/inkbox/native/update/1.8/emu/ git pull the repo if you don't delete it too, because I changed the update package name slightly since it isn't the same as for other devices
Avatar
@tux-linux Thanks for your help, looks like I don't have permission to access it (edited)
5:40 PM
Avatar
@tux-linux
5:52 PM
See need images in your e-reader first Smaug second rather nice art. From The Hobbit illustrated
Avatar
Avatar
btwarch147
@tux-linux Thanks for your help, looks like I don't have permission to access it (edited)
You should be able to now
Avatar
Avatar
Daboone72
@tux-linux
I know, but that means a complete render engine change Maybe PDFs on the Libra could look nice
5:57 PM
It has a fairly big screen
Avatar
Epubs the common format though
5:59 PM
Afraid I will be switching to post marketOs
Avatar
Just because I don't support images?
Avatar
Yes I tend to read stuff with images , science type books
Avatar
I mean, when you're the only one writing this program and it's been 10 months with no contribution whatsoever in the code from anyone, I guess I can say that I don't have the courage and time to implement it
6:01 PM
Read this, you'll probably see why it would be a nightmare to yet again change the render engine: https://github.com/Kobo-InkBox/inkbox/blob/master/reader.cpp (edited)
Avatar
Avatar
tux-linux
I mean, when you're the only one writing this program and it's been 10 months with no contribution whatsoever in the code from anyone, I guess I can say that I don't have the courage and time to implement it
don't get discouraged
👍 1
6:02 PM
send me link to emulator please
Avatar
Avatar
tux-linux
You need to change the initrd location in the kernel config. Edit [kernel-repo]/kernel/config/config-emu Search for CONFIG_INITRAMFS_SOURCE and change the location to [kernel-repo]/initrd/busybox-1.32.1/_install-emu [kernel-repo] being the location of the cloned repository, without the brackets.
Follow from there, maybe?
6:02 PM
Clone https://github.com/Kobo-InkBox/emu
6:03 PM
I'm currently testing in an empty Debian VM to see what deps need to be installed
Avatar
in general, building for others and worrying about popularity leads to frustration (I am in industry for 15 years)
6:04 PM
building for yourself and to learn brings fulfillment. best is to build for underserved community (which I think you are doing)
Avatar
Of course I am! I'm just, sometimes, frustrated about people not replying to the InkBox thread at Mobileread when I release something new (e.g. 1.5 release with X11 subsystem, new ePUB engine, tons and tons of improvements got virtually no direct replies), and about people registering in this server but actually never sending anything. I don't want to be selfish or anything, but InkBox has features that no other reader software on the market has, e.g. KTerm out-of-the-box when device is rooted, encrypted storage, seamless Qt/X11 integration (Kindles only have X11). Other great features but that exist also somewhere else could be the strict security policy, heavy package signing ensuring everything is genuine, and all the pain and effort that has gone through it, wasting a part of my life for something I like to do, through those 10 months. (edited)
6:08 PM
Sorry for the rant
Avatar
Avatar
tux-linux
Of course I am! I'm just, sometimes, frustrated about people not replying to the InkBox thread at Mobileread when I release something new (e.g. 1.5 release with X11 subsystem, new ePUB engine, tons and tons of improvements got virtually no direct replies), and about people registering in this server but actually never sending anything. I don't want to be selfish or anything, but InkBox has features that no other reader software on the market has, e.g. KTerm out-of-the-box when device is rooted, encrypted storage, seamless Qt/X11 integration (Kindles only have X11). Other great features but that exist also somewhere else could be the strict security policy, heavy package signing ensuring everything is genuine, and all the pain and effort that has gone through it, wasting a part of my life for something I like to do, through those 10 months. (edited)
Yeah.
Avatar
pretty sure remarkable people would be into it
6:43 PM
they have been talking about replacing xochitl forever (but it's note taking software)
6:44 PM
I'll try it out, don't worry
👍 1
Avatar
Thanks
Avatar
Avatar
rsjn
pretty sure remarkable people would be into it
Unless they replace the entire OS, I doubt it is very portable
Avatar
Avatar
rsjn
I'll try it out, don't worry
Just to be clear, the "you" in the rant wasn't addressed at you at all, I was just speaking generally 🙂
6:51 PM
Neither was it addressed at Daboone72, Dill/Elektron, FxFyu1v1, sausageboy, or anyone else here that has contributed, talked or anything that's different from not doing anything (edited)
Avatar
@tux-linux Thanks for clearing that up.
👍 1
6:55 PM
@tux-linux Was just checking MuPDF see if they have updated their code. It does support CBZ now comic book zip so must have image handling internally.
Avatar
Well, I use mutool to convert PDFs to PNGs, but the thing is that other than that it doesn't seem to do it for ePUBs
Avatar
Or rather mutool convert on their mupdf website
Avatar
I didn't know CBZ was supported, maybe it arrived recently
6:56 PM
Might add that to InkBox
Avatar
Avatar
Daboone72
@tux-linux my idea n pbybe r-ernqre jvgu gur grkg ba gur vaxobk naq vzntrf tbvat gb gur zbovyr cubar na r-ernqre jvgu zvyyvbaf bs pbybef something 13
what what what
Avatar
Elektron it was my idea shared encrypted with Rot13 that probably won't happen anytime soon. Have images displayed in color on an external device like a mobile phone or another tablet
Avatar
ohh got it
Avatar
Tux I wouldn't stress on layout either a QVertical and a QGraphic minexpandable always min and a QText expandable and you could pop an image on the page when necessary. Just been playing with QT designer it is really good as this sort of dynamic layout stuff.
Avatar
Actually, it seems you can insert an image into a QTextEdit: https://forum.qt.io/topic/91271/how-to-insert-an-image-on-qtextedit/5
@aha_1980 I resolved this problem.Thank you so much. //your code here QString cheminImage = QFileDialog::getOpenFileName(this, "Choisir une image", QString(), "Images (.)"); QString texteFinal = ui->textEdit->toHtml() + ""; ui->textEdit->setHtml...
7:03 PM
The main issue would be to get mutool to tell us when an image needs to be displayed
Avatar
right so maybe a UI revamp, more apps, and external keyboard and mouse?
Avatar
Unless you buy an externally-powered USB dongle somewhere, it won't work
7:04 PM
Kobos can't supply enough power for this
Avatar
yeah that's what i was aiming for, if those exist
7:04 PM
do they
Avatar
Yes
Avatar
yeah then you could\ do that
Avatar
Avatar
dill
right so maybe a UI revamp, more apps, and external keyboard and mouse?
You could also just set your RPi into a VNC server and connect to it in the Kobo with the VNC viewer Mouse & keyboard would be connected to your RPi
Avatar
I was even thinking of doing the thing in a browser it's mostly Json ajax and it seems everyone get's around to putting a browser on their devices
Avatar
It's because... QtWebEngine doesn't work on Kobos
7:08 PM
Because... shitty hardware and RAM
7:08 PM
(probably)
7:08 PM
Everytime we got Chromium installed onto most devices, it crashed without explanation
7:09 PM
The only thing that reliably works is the Gecko engine with Palemoon on the Libra
Avatar
Ahh so the KDE won't work either even though it's in QT
Avatar
(Chromium = QtWebEngine)
Avatar
Ohh CHromimum QT as well pain
Avatar
Yes ;p
Avatar
Avatar
tux-linux
You could also just set your RPi into a VNC server and connect to it in the Kobo with the VNC viewer Mouse & keyboard would be connected to your RPi
yeah but the kobo mini has some wifi problems
Avatar
I see muPDF also have a commercial version that's probably why they are holding back the good stuff
Avatar
I experimented with QtWebKit on X, but I couldn't get it to compile on native Qt It would probably have been good enough for displaying ePUBs (edited)
7:10 PM
Though the thing there is that the entire Reader class will need to be re-written if InkBox changes to a web-based reader
Avatar
Avatar
dill
yeah but the kobo mini has some wifi problems
You can connect via USBNet
7:11 PM
And you connect to VNC server 192.168.2.1
Avatar
Yes indeed reading about the epub making process you name theimages sequentially 001,002
Avatar
i know this could be fucking hard but you could also get rid of the page turn buttons and make the reader like nickel's one
Avatar
Yeah, you're right about this It is hard
7:12 PM
Because we'd need some QGestures of some sort
7:12 PM
Or maybe a transparent overlaid widget with invisible buttons
7:12 PM
Yeah, that could be better
7:13 PM
But then again, it would half-work since the only things you could do while reading would be to go to previous page, next page, or open Options No dictionnary search
Avatar
oh... right
Avatar
Avatar
dill
i know this could be fucking hard but you could also get rid of the page turn buttons and make the reader like nickel's one
like nickel's one
only in terms of turning pages though
Avatar
i'm afraid of this downloading and running stuff for the emu with sudo
Avatar
You might use a VM if you prefer
Avatar
that's in order to get the filesystem permissions correct, right?
Avatar
I could've used fakeroot
7:15 PM
yeah
Avatar
yeh, probably fakeroot then
Avatar
But you can look at the release.sh script if you want, it's not harmful at all
7:16 PM
I run it as root all the time here
7:18 PM
I'm testing it on a Debian VM right now, will get back to you with deps
7:18 PM
(because it's not a good idea to run the script twice)
Avatar
generally, i wouldn't run a script from someone as root even if they say its safe
Avatar
(or you have to deal with unmounting /tmp/inkbox/* and disconnecting nbd0, then cleaning up all of this)
7:19 PM
Well, up to you to judge
7:20 PM
But maybe a VM is better for this You'll run a VM inside the VM, but hey, it works anyway
Avatar
Avatar
tux-linux
I could've used fakeroot
I forgot about fakeroot while making the script, that's why it isn't there
7:28 PM
Wow it failed because bc was missing 😅
Avatar
i'm trying it with fakeroot instead of sudo
Avatar
Though, kernel building also runs things as root, to preserve ownership in initrds
7:32 PM
So maybe a Debian VM would be better
7:32 PM
IIRC it's just basic mkdir and cp, so shouldn't be too harmful
Avatar
@rsjn: Got it working on Debian 11 with the following dependencies: sudo apt install build-essential qemu-system-arm git u-boot-tools swig python-dev python3-dev bison flex squashfs-tools bc (edited)
8:11 PM
You may add -nographic to the qemu-boot script to boot in console-only mode Also, you can add -snapshot for a non-persistent boot
8:13 PM
To connect to the Qt VNC server once it starts (a few minutes maximum after udhcpc gets its lease), connect to port 5901 on host VM/PC. If it closes when you do a particular action, for example getting out of Settings, try connecting again after a few seconds, it means the application has restarted.
Avatar
Avatar
tux-linux
@rsjn: Got it working on Debian 11 with the following dependencies: sudo apt install build-essential qemu-system-arm git u-boot-tools swig python-dev python3-dev bison flex squashfs-tools bc (edited)
what do you mean in debian 11? a debian 11 qemu img?
8:26 PM
A Debian 11 VM
Avatar
what do you mean when you say VM
8:29 PM
what format? virtualbox? qemu? vmware?
Avatar
Well, if you ran the emulator from a VM
8:29 PM
Doesn't matter
Avatar
ok, but i want to know what you did
Avatar
Well, I use XCP-ng here to manage my VMs on the LAN, the hypervizor is Xen
8:30 PM
You can use qemu-system-x86_64
8:31 PM
e.g. qemu-system-x86_64 -hda debian.img -cdrom debian.iso -enable-kvm -m 8G Create debian.img like this: qemu-img create -f qcow2 debian.img 32G
Avatar
for some reason i thought you were a student
Avatar
I am one
8:32 PM
But... what does that have to do with this?
Avatar
dunno, sounds like you have a second machine running VMs
Avatar
It was given by a company which offered me work Mac Pro 128G RAM, 12C/24T
8:33 PM
It's quite useful
Avatar
i'll likely just make a qemu image running debian and then run the bootstrap in it, but the less work i have to do the better
8:34 PM
if you want to put a pre-made qemu image up, that would be nice
Avatar
Maybe there are some already-made Debian QEMU images out there
8:35 PM
Yeah, true
Avatar
Avatar
tux-linux
Maybe there are some already-made Debian QEMU images out there
yes, there are
8:35 PM
that's why i was asking you what you did, usually distros publish a few VM images in different formats
Avatar
Well, I took the Debian netinstaller and started from scratch on a new VM, to see what deps were required to successfully execute the bootstrap script and boot the emulator with no problems
8:37 PM
Do you have a machine with fairly decent specs? Because emulating ARM is quite the task for the CPU... 😅
Avatar
yeah, i have a pretty good machine for work stuff
8:39 PM
not sure i will use that for this, though
8:39 PM
usually i use my laptops
Avatar
Nice The main VM I use for emulating InkBox has 16G RAM, 8 cores and 150GB storage I guess 4G of RAM could do, emulator is just using 1G, and 4 cores should be enough for a minimum configuration
Avatar
yeh, this is what i meant about being a student. as a student, i had a dinky laptop
Avatar
On the scratch machine I just tested it in, it was horrendously slow, probably because I have only 1 CPU core On my main machine, it runs quite fast though, almost the same speed as Kobos when fully started up
8:42 PM
Up until September, I had a Dell Latitude E5530, which was... okay, but clearly not enough for what I was doing on it 😅
8:43 PM
Once September arrived, a guy from the company that wants me to work for them donated a desktop PC and a ThinkPad T450, which was a much-needed hardware upgrade
8:44 PM
Here are the specs of the desktop PC: nicolas@gentoo-ryzen ~> neofetch -/oyddmdhs+:. nicolas@gentoo-ryzen -odNMMMMMMMMNNmhy+-` -------------------- -yNMMMMMMMMMMMNNNmmdhy+- OS: Gentoo Base System release 2.8 x86_64 `omMMMMMMMMMMMMNmdmmmmddhhy/` Host: B450M DS3H omMMMMMMMMMMMNhhyyyohmdddhhhdo` Kernel: 5.16.0-gentoo-x86_64 .ydMMMMMMMMMMdhs++so/smdddhhhhdm+` Uptime: 4 days, 4 hours, 40 mins oyhdmNMMMMMMMNdyooydmddddhhhhyhNd. Packages: 1437 (emerge) :oyhhdNNMMMMMMMNNNmmdddhhhhhyymMh Shell: fish 3.3.1 .:+sydNMMMMMNNNmmmdddhhhhhhmMmy Resolution: 1920x1200, 1440x900, 1600x900 /mMMMMMMNNNmmmdddhhhhhmMNhs: DE: Plasma 5.23.5 `oNMMMMMMMNNNmmmddddhhdmMNhs+` WM: KWin `sNMMMMMMMMNNNmmmdddddmNMmhs/. Theme: Breeze Dark [Plasma], Breeze [GTK3] /NMMMMMMMMNNNNmmmdddmNMNdso:` Icons: [Plasma], breeze-dark [GTK2/3] +MMMMMMMNNNNNmmmmdmNMNdso/- Terminal: konsole yMMNNNNNNNmmmmmNNMmhs+/-` Terminal Font: Consolas 10.5 /hMMNNNNNNNNMNdhs++/-` CPU: AMD Ryzen 7 3800XT (16) @ 3.900GHz `/ohdmmddhys+++/:.` GPU: AMD ATI Radeon Pro WX 4100 `-//////:--. Memory: 6660MiB / 32052MiB nicolas@gentoo-ryzen ~>
8:45 PM
So now Gentoo runs well on it and InkBox compiles in 30s 👍
8:46 PM
I'll see if I can make you a pre-installed emulator QEMU image
Avatar
which kobos do you have?
Avatar
Touch B, Mini, Touch C, Libra H2O, Aura, Glo HD, Glo Aura and Glo HD are half-working though (broken screen)
Avatar
Well can still use Inkbox on the Mini to make PDF handy reference cards. Libre Office Page Config to make Mini screen size B6 (ISO) with the right margins get's you there (edited)
10:18 PM
@tux-linux Question is how does Inkbox convert PDF fonts perhaps have to export with them embedded or something
Avatar
Letter sized PDFs work well too Basically, InkBox takes the PDF and tells mutool to convert a page of it to a PNG image, then displays that PNG image onto a QGraphicsView
10:36 PM
So the fonts are converted by mutool
Avatar
I see there is a scale option but no sort of fit to screen
Avatar
Yeah, no But it's already fit to screen by InkBox
Avatar
Maybe jsut getting the aspect ratio right is the main thing
10:38 PM
Yeah, it's roughly that
Avatar
There are the default page sizes that are handed to mutool which will convert the PDF in a PNG with that resolution
10:39 PM
So as you said, it's only the aspect ratio
Avatar
Just thinking to work out DPI of screen too which is probably still high
10:45 PM
200dpi 100/25.4 = 3.9 inches 800 pixels /3.9 = 203.2 dots per inch yes thought so and smae horizontal 75mm / 25.4 = 2.9527 inches 600 / 2.952 = 203.2 dpi
Avatar
Kobo Mini has 170 dpi
Avatar
Font size experiments 10 small 12 nice especially Arial
10:54 PM
Shame about the glare on an eink panel
Avatar
SSH to the Kobo and do this chroot /kobo fbgrab /tmp/screen.png then SCP /kobo/tmp/screen.png to your computer it takes a screenshot
Avatar
Ok that might be useful though trying to get a feel for what it looks like for real.
Avatar
yeah sure
10:58 PM
Looks nice
11:07 PM
Landscape for images is the trick
Avatar
Nice
Avatar
14pt Times one with the feet for easier eyes is hard work
11:17 PM
Avatar
Try Libre Baskerville, maybe you'll like it
11:17 PM
Also, Bitter is very good too
Avatar
File choosing window might be buttons missing like close open and scroll
Avatar
Yeah, unfortunately I don't know how to fix that Doesn't happen on models with bigger screens like Glo
11:18 PM
You can always search in local storage otherwise
Avatar
Landscape mode?
Avatar
And you seem to have the "too large recent book buttons" problem sorry for that
11:19 PM
...difficult?
11:19 PM
Maybe could it be possible
11:19 PM
idk
Avatar
Well definitely makes sense for Libra H2O looks nice in landscape
11:26 PM
https://www.laptopmag.com/uk/reviews/ereaders/kobo-mini It says here 167dpi how do they calculate that I wonder I got 800 pixels in 3.9 inches making 200dpi
The Kobo Mini's 5-inch display gives e-reader fans a portable and affordable option, but the reading experience feels cramped compared with the competition.
11:28 PM
And this site agrees with me. https://pixelcalculator.com/en
Online Calculator / Converter for image processing, printing, and editing. Resolution (Pixel, Mpx) ↔ Pixel density (DPI, PPI) ↔ Image size (mm, cm, in)
11:28 PM
If anything it's higher than 200
11:31 PM
dpi = √(width^2+height^2 )÷screen size
Avatar
I get 200 actually
Avatar
Well Times New Roman 16pt on Libre Office is tolerbable get about 20lines of text
Avatar
@tux-linux how do you test inkbox on all the readers? manually?
12:25 AM
But what do you mean exactly?
12:27 AM
I have one unified rootfs and separate kernels, so I don't always test a new release on all models, I can afford to check just one for example
Avatar
yeah, i was wondering how you handled coordinate rotation (for example) - if you went and tested all devices
12:28 AM
once you have everything setup well, i imagine you don't have to re-test all devices
Avatar
Yeah
12:30 AM
Rotations are handled here, see start of script: https://github.com/Kobo-InkBox/kernel/blob/master/initrd/common/rcS-std
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
and what about touch rotation?
Avatar
It's handled automatically by Kobo platform plugin
Avatar
ok, i see
Avatar
@rsjn : Unfortunately, the compressed QEMU image file weighs 5.3G, which causes two problems: 1) I can't really upload it anywhere, and space is fairly limited at 23.163.0.39; 2) Even if I could, it would take ages on my 200KB/s upload connection, and no one in the house here wants a bandwidth throttle for 5+ hrs ;p I suggest you install Debian 11 on a VM (from the netinstall iso, select "SSH server" and "Standard system utilities" whilst installing) with the following packages: sudo apt install build-essential qemu-system-arm git u-boot-tools swig python-dev python3-dev bison flex squashfs-tools bc openbox tint2 xdm xinit gnome-terminal tigervnc-viewer And you add this to your ~/.config/openbox/start.sh: tint2 & Reboot. Then, you clone the emu repository and you run env GITDIR=${PWD} ./bootstrap.sh, you start the emulator from X11 and connect to the VNC server with vncviewer (TigerVNC) at 127.0.0.1:5901. There's probably a way to map again the port to your host machine so you can access it there too. But that basic setup will work otherwise. (edited)
Avatar
Avatar
tux-linux
@rsjn : Unfortunately, the compressed QEMU image file weighs 5.3G, which causes two problems: 1) I can't really upload it anywhere, and space is fairly limited at 23.163.0.39; 2) Even if I could, it would take ages on my 200KB/s upload connection, and no one in the house here wants a bandwidth throttle for 5+ hrs ;p I suggest you install Debian 11 on a VM (from the netinstall iso, select "SSH server" and "Standard system utilities" whilst installing) with the following packages: sudo apt install build-essential qemu-system-arm git u-boot-tools swig python-dev python3-dev bison flex squashfs-tools bc openbox tint2 xdm xinit gnome-terminal tigervnc-viewer And you add this to your ~/.config/openbox/start.sh: tint2 & Reboot. Then, you clone the emu repository and you run env GITDIR=${PWD} ./bootstrap.sh, you start the emulator from X11 and connect to the VNC server with vncviewer (TigerVNC) at 127.0.0.1:5901. There's probably a way to map again the port to your host machine so you can access it there too. But that basic setup will work otherwise. (edited)
what's the easiest device to flash with the OS?
Avatar
Anything of N905C, N905B, N613 or N705 i.e. Touch C, B, Glo or Mini
6:12 AM
I suggest Touch B, although slower than Glo you'll have Wi-Fi support
Avatar
@tux-linux I managed to get it compiled, however when I run QEMU using the scrpt it powers down with "Flash device refused suspend due to active operation (state 20)"
10:53 AM
Here's the full output
11.52 KB
Avatar
@btwarch147 You should git pull the repo, there's a missing make_devicenodes.sh step that fixes the impossible boot problem you're having (edited)
11:13 AM
You're almost there!
11:14 AM
Also, I have some new docs in the repo: https://github.com/Kobo-InkBox/emu/blob/main/README.md
InkBox OS emulator. Contribute to Kobo-InkBox/emu development by creating an account on GitHub.
Avatar
@tux-linux The N613 ,N705 have no wifi. N905C does it have wifi?
Avatar
Nope, only N905B due to it using a different chipset (imx508)
Avatar
So that's advertised as the Touch B I guess
Avatar
Yeah
Avatar
That is a good one to switch to your OS adverts on the normal distro how annonying
Avatar
What do you mean?
Avatar
The Kobo Touch (also called the "Kobo Touch eReader") is the third generation of the Kobo e-reader device designed by Kobo Inc. It was revealed on 23 May 2011 and was released in the U.S. on 10 June 2011 at a price of $129.99.The Kobo Touch 2.0, the successor to the Touch, was released in September 2015.
11:33 AM
"The first was the original Kobo Touch; the second was the model with advertisements; the third was the low-cost model introduced after the release of the Kobo Glo"
Avatar
Yeah ... Touch N905A (original) has an eMMC, that's why it wasn't my first choice
11:35 AM
Though someone did find a way not a long time ago to un-brick the device if ever it happened : https://www.mobileread.com/forums/showpost.php?p=4185784&postcount=11 So maybe I could port InkBox to it too (edited)
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
You've not made a distro yet for the Clara
Avatar
Well ok, maybe not entirely un-brick but anyway
Avatar
You can get a working Linux on again afterwards I guess
11:37 AM
Dual boot btw would be a great place to get too with the ones with swappable cards
Avatar
No, they're too expensive I have some testers on the Git repository, but communication is fairly slow It's better to have the device in hand when I want to port InkBox to it
Avatar
Pity no Wifi on the GLO I quite liiked the resolution 1024x768
Avatar
The problem with the dual-boot for devices with external SD cards is that U-Boot (bootloader) loads the same kernel for two rootfs, so basically InkBox wouldn't work at all. What it does is just change the bootargs from root=/dev/mmcblk0px to /dev/mmcblk1px
11:40 AM
Yeah, actually 1024x758 but I agree
Avatar
The Kobo Glo is the fourth generation of Kobo eReader devices designed and marketed by Kobo Inc. It was revealed on 6 September 2012 and arrived at retail 14 October 2012 with a price of $129.99 USD/CAD. It is the successor to the popular Kobo Touch was introduced alongside the Kobo Mini and Kobo Arc. The Glo was succeeded in 2015 by the higher-...
Avatar
Well, FBInk on mine clearly says 1024x758 ;p
Avatar
On the right side it says 768 it is wrong I mean. Listed as 1024x758 later (edited)
Avatar
The nice thing about the Glo is that it's slightly faster but has the same chipset It's overclocked to 1GHz Mini & Touch are at 800MHz Maybe there could be a way to overclock those too
11:43 AM
Overclocking is done by U-Boot
Avatar
@tux-linux Think I've a plan sell my Kobo Mini buy a Kobo Touch B on ebay to replace it. Buy a Kobo Sage for my daily reading as upgrade to Kindle
Avatar
Should be a nice move
1:16 PM
Be sure to check for the B in the N905 model number
Avatar
@tux-linux Bit torrent might be answer to share your large Dev files
2:29 PM
@tux-linux now I appreciate more the different hardware you support retro text based games starting with c64 a great way to go. Small screen 800x600 pixels works in your favour as does processor
Avatar
Success! Thanks for the help
Avatar
The model number will be in the device's serial number
Avatar
Avatar
btwarch147
Success! Thanks for the help
Congrats !! Nice that it works !
Avatar
Avatar
Daboone72
@tux-linux Bit torrent might be answer to share your large Dev files
At a... terrible transfer rate 😂
Avatar
Well once it's up though then three people can share it and also download and upload at same time
Avatar
@tux-linux Emulator works great, what would you say my chances of recovery are if I was to attempt to install inkbox on my libra and it went wrong?
Avatar
90%?
10:17 PM
But there's a specific procedure to follow, I got it to work on mine Tell me when you want to start (if you want to)
10:19 PM
You'll preferably need to connect it to serial
Avatar
Also, the great thing with the Libra is that you can dual-boot Nickel and InkBox
10:39 PM
There's an SPL kernel that kexec's the appropriate kernel based on a power button event
Avatar
You can that's great
Avatar
Unfortunately kexec is not reliable on 2.6.35.3 kernels, so porting that for Mini/Touch/Glo is difficult
Avatar
I am deciding between Libra 2 as it's a great bit of hardware and the Sage which has the has the hand writing option
Avatar
The Sage is Allwinner-based, so no InkBox support at all there yet (different display driver) The Libra 2 should be fine
tibudiyanto joined the server. 1/17/2022 1:44 AM
Avatar
Hello !
Avatar
hey!
1:46 AM
browsing through reddit and saw this OS!
Avatar
Nice that you registered in!
Avatar
seems a very cool product. im wondering do you have support for Aura H20 ed 2?
1:46 AM
Model N867
Avatar
Not at the moment, sorry It might come in the future
1:47 AM
If your want to help testing it would be great!
Avatar
would love to help
Avatar
Avatar
tibudiyanto
browsing through reddit and saw this OS!
which post??
Avatar
I'm a software engineer too so i probably could help you debug something if needed
1:49 AM
just keep me posted
Avatar
Avatar
tibudiyanto
Click to see original message
Sticker
Avatar
Avatar
rsjn
which post??
hmmm just closed my browswr but will checkback later
Avatar
no worries
Avatar
Avatar
tibudiyanto
I'm a software engineer too so i probably could help you debug something if needed
Do you have experience with Linux?
1:59 AM
@rsjn This one: https://www.reddit.com/r/linux/comments/oddesp/inkbox_os_15_custom_opensource_os_for_ereaders_is/ (well, probably) One of the few that received a lot of feedback, but actually not a lot of people tried it out, as far as I can see
Avatar
Avatar
tux-linux
@rsjn This one: https://www.reddit.com/r/linux/comments/oddesp/inkbox_os_15_custom_opensource_os_for_ereaders_is/ (well, probably) One of the few that received a lot of feedback, but actually not a lot of people tried it out, as far as I can see
"not a lot of people tried it out" - dunno man, gotta make it easier and easier to try
2:01 AM
for remarkable, we had individuals writing software apps and decided to build a centralized repo of software + bootstrap script to get the repo installed
Avatar
Yeah, I saw that a little bit whilst browsing through GitHub a few days ago
Avatar
not sure if people just don't like hacking their kobos
Avatar
Might be that too
Avatar
i'm going to try out the nickel menu add on for inkbox before i try the OS
2:03 AM
it looks like its just a QT app i can run
Avatar
It's quite outdated
2:03 AM
from March 2021
2:03 AM
We're now at InkBox 1.8/1.9; that was InkBox 1.3
Avatar
yeah, i saw 1.3 from april
Avatar
ah well april then
Avatar
is it because the qt libraries aren't aligned with the base OS?
Avatar
Avatar
tux-linux
Do you have experience with Linux?
im daily driving linux. I know my basics.
Avatar
No, it's because a lot of features needed a proper OS to work (e.g. X11)
Avatar
Avatar
tibudiyanto
im daily driving linux. I know my basics.
Could you set up a serial connection with your Kobo?
Avatar
that means i need to open my kobo right?
Avatar
...yeah
Avatar
hmmmm
Avatar
i know
Avatar
id rather not open it tbh haha
2:12 AM
what cable do i need
Avatar
I did it with my Libra, it wasn't a disaster
Avatar
lemme purchase that beforei open the device (edited)
Avatar
Three wires and a serial to USB adapter, or RPi, or Arduino or whatever that can take serial input
2:13 AM
For the wires, you can strip an ethernet cable and get out three wires from it
2:15 AM
It seems your Kobo has an eMMC; this makes porting harder, but still possible
2:18 AM
Normally, if somehow you brick the device, it will be possible to recover it by downloading a copy of U-Boot (the bootloader) in RAM and then bootstrap the default Nickel factory image. But there's a lot of things that need to go wrong before we get to that point
2:19 AM
My Libra too has an eMMC and I didn't brick it, so it's definitely possible to play safe and keep the device working
Avatar
ok
2:20 AM
hardware wise, does it seem like its compatible with the OS?
Avatar
Absolutely
2:20 AM
Same chipset as the Libra (imx6sll) (edited)
Avatar
gotcha
2:27 AM
alrigtht imma get the hardware and report back
👍 1
2:31 AM
hmm do i need soldering iron to connect the serial?
Avatar
Not necessary
Avatar
cant find a good dissasembly instruction online
2:32 AM
That's my setup ;p
Avatar
Avatar
tibudiyanto
cant find a good dissasembly instruction online
An Exacto and a credit card should do, if you're careful
Avatar
got it
2:33 AM
seems like u r using an arduino. will an RPI works?
Avatar
It's not an Arduino, it's a Lichee Pi Zero
2:34 AM
But yeah, RPi works
Avatar
oh
2:34 AM
ok
Avatar
Avatar
tux-linux
It's not an Arduino, it's a Lichee Pi Zero
Nice $15 SD-sized Linux board 64MB RAM and 1.2GHz CPU
Avatar
Avatar
tux-linux
Not at the moment, sorry It might come in the future
nope, no internal SD
2:52 AM
hi, @tibudiyanto :D (edited)
Avatar
Avatar
tux-linux
It seems your Kobo has an eMMC; this makes porting harder, but still possible
.
Avatar
Avatar
tibudiyanto
that means i need to open my kobo right?
which is FUCKING HARD
2:54 AM
i tried
Avatar
oooh true
2:55 AM
Welp, good luck @tibudiyanto I just remembered that @dill had a bad time opening it
Avatar
less than 1 mm six-sided screws.
2:56 AM
pain
Avatar
hmmmm
Avatar
Funny, the brightness button on the Glo is recognized as KEY_KATAKANA by evtest: kobo:/# evtest /dev/input/event0 Input driver version is 1.0.0 Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0 Input device name: "mxckpd" Supported events: Event type 0 (EV_SYN) Event type 1 (EV_KEY) Event code 28 (KEY_ENTER) Event code 35 (KEY_H) Event code 59 (KEY_F1) Event code 60 (KEY_F2) Event code 61 (KEY_F3) Event code 62 (KEY_F4) Event code 65 (KEY_F7) Event code 66 (KEY_F8) Event code 90 (KEY_KATAKANA) Event code 103 (KEY_UP) Event code 105 (KEY_LEFT) Event code 106 (KEY_RIGHT) Event code 108 (KEY_DOWN) Event code 116 (KEY_POWER) Properties: Testing ... (interrupt to exit) Event: time 1642386123.932116, type 1 (EV_KEY), code 90 (KEY_KATAKANA), value 1 Event: time 1642386124.152115, type 1 (EV_KEY), code 90 (KEY_KATAKANA), value 0
Avatar
Well I ordered a N905B don't know what color back I'll get but it will be enough to get going. Placed a watch for a Clara HD for £59 which is a great price
👍 1
Avatar
Nice ! Yeah, quite a nice price for the Clara
4:56 PM
Yesterday I found a Glo HD on Kijiji $20 (canadian), I immediately sent a message ;p
4:56 PM
Haven't received any reply yet though
Avatar
Kobo N905B's though are hard to buy most people don't know what they have. Had to go to a electronic exchange place they are used to identifying them
4:57 PM
Just looking at another serial number I don't think helps KG31C0200349E
Avatar
Oh That's strange
Avatar
Software version 2.1.5 10/12/12 that might be morehelpful
Avatar
Normally they have the device identifier
4:58 PM
hmm
Avatar
s 2011 was Kobo first edition 2015 was Kobo 2.0 N905C so can't be Kobo 2.0 and most likely Kobo N905B
4:58 PM
I'm worried
Avatar
Ahh it has an SD card slot must be the first edition
Avatar
But hey, even if it's not a Touch B, you get the larger screen and a possibility to help debugging Wi-Fi on this crappy Broadcom hardware (edited)
4:59 PM
All Touches have an external SD slot
Avatar
The 2.0 went internal didn't it as it's a mini Glo
Avatar
The Touch 2.0 oh yeah, this thing
5:00 PM
Well it's closer to the Glo HD
5:00 PM
With a smaller screen resolution
5:06 PM
My Touch B's serial number is 88xxx-KBN905B
Avatar
Ok interesting will look at mine when I get it.
5:19 PM
Meant to ask on the Kobo Forma to cover all bases is that an Allwinner chipset too as well as the Sage?
5:19 PM
Can't seem to find it with google
Avatar
When you get it, a sure way to identify it, is the presence of a closed SD card enclosure as opposed to just a slot on the Touch C
5:20 PM
No, the Forma is i.MX-based
5:20 PM
The Sage & Elipsa have the B300 Allwinner chipset, whilst the Forma has an imx6sll chipset from Freescale/i.MX
Avatar
So that could one day be a valid 8 inch option
Avatar
Yes, too
5:21 PM
Well, I don't know how to deal with the Allwinner ones, but I'm not saying it's impossible to port InkBox to it
Avatar
Libra 2 is the one I am leaning too the most I think 32gb of space out the box and can be upgraded later. Plenty of room to squeze an OS on in addition to the other
Avatar
Yeah, it should be great
Avatar
I expec the forma has the 8gb soldered on eMMc
Avatar
My Libra has 8G eMMC and it did fit well
5:23 PM
Yes
5:23 PM
But now that there are recovery possibilities, it's less dangerous
5:24 PM
Andreas Kemnade's email about his experience
Avatar
Yes very nice to see.
5:26 PM
With broken display too done via a serial hookup?
Avatar
Yeah
5:36 PM
http://naberius.de/2013/06/19/collected-exploring-the-tolino-shine/ Interesting read about the Tolino shine, basically a Kobo Glo but with Android
Avatar
I was thinking about variants with some good documentation in a wiki could be great cheap future buys
Avatar
Hmm hmm
Avatar
As the it's amost like a Kobo Glo is not quite the same as it's always a Kobo Glo internally
5:40 PM
@tux-linux Going to have a crack at getting qemu up emulating the N905B tonight. I guess it's in a better place now
👍 1
5:42 PM
Will have a triple go see if can get Golang,Python,OpenJdk working on it using the chroot technique
Avatar
QEMU actually emulates a Glo with internet access, but yeah, shouldn't be much difference except for the screen resolution (edited)
Avatar
Ohh great I wanted 800x600 for development
Avatar
But the VNC thing is only for Qt, so you might prefer your Touch for developing under X11
Avatar
Hmm suppose can ssh directly to it.
5:47 PM
Ok so then virtual alpine it is for first round
Avatar
Well, you have access to the serial console in the emulator (edited)
Avatar
This will you find interesting I paid £30 for my Touch that includes the eInk and the lithum battery and of course a computer. https://www.waveshare.com/product/displays/e-paper/epaper-1.htm
Avatar
Yeah, those are expensive
5:49 PM
I'm trying to build an InkBox reader out of a Banana Pi M2 Zero and I'm still deciding on which one to buy, and if it will work or not
Avatar
£31.46 for a 5.83 inch Epaper 648x480 black and white without PCB
Avatar
I ordered this https://www.ebay.ca/itm/293178985197 to test grounds a bit and see whether I can do it or not
Find many great new & used options and get the best deals for Black 1.54 inch e-Paper/e-Ink Display Module 152x152 for Arduino,Raspberry Pi at the best online prices at eBay! Free shipping for many products!
Avatar
I was thinking go 10 inch can do all sorts with it then. https://www.waveshare.com/product/displays/e-paper/epaper-1/10.3inch-e-paper-d.htm
1872×1404, 10.3inch flexible E-Ink raw display, parallel port, without PCB
5:53 PM
1872×1404, 10.3inch flexible E-Ink display HAT for Raspberry Pi, IT8951 controller, USB/SPI/I80 interface
5:54 PM
When you 3D print a case for it proportionally it doesn't feel as thick then and there's plenty of layout room for batterys and the like
5:55 PM
5.65inch Colorful E-Paper E-Ink Raw Display, 600×448 Pixels, ACeP 7-Color, Without PCB
Avatar
Would I absolutely need a serial port to unbrick my Kobo? I'd rather not have to disassemble it to keep it waterproof.
Avatar
@tux-linux Just to say typical someone came back to me with one on market place serial number N905B1B308073
👍 1
Avatar
Avatar
btwarch147
Would I absolutely need a serial port to unbrick my Kobo? I'd rather not have to disassemble it to keep it waterproof.
It's not sealed
10:49 PM
(my Libra popped right open with no seals, only the PCB is tropicalized) (edited)
Avatar
The resolution is not a lot of fun
Avatar
Avatar
btwarch147
Would I absolutely need a serial port to unbrick my Kobo? I'd rather not have to disassemble it to keep it waterproof.
There might be a way of activating fastboot by pressing both the power and a page turn button at the same time while booting
11:09 PM
But you'll need serial port for debugging InkBox kernel
Avatar
Avatar
Daboone72
This will you find interesting I paid £30 for my Touch that includes the eInk and the lithum battery and of course a computer. https://www.waveshare.com/product/displays/e-paper/epaper-1.htm
It also includes a native Linux display driver, quite nice
Avatar
my h2o2 is no longer waterproof lmao
Avatar
It's not the same way of waterproofing on the Libra
Avatar
Online library looks nice on Libra H2O
kevin joined the server. 1/18/2022 11:06 AM
Avatar
Hello!
Avatar
So I can use uuu without a serial port?
5:27 PM
I think I'll give it a go
Avatar
Avatar
kevin
Click to see original message
Sticker
Avatar
30 usd for glo hd with charging port issues?
Avatar
@kevin I wouldn't, have a harder you can get Kobo Touch's for next to nothing all working and they have swappable SD card and support wifi, to clarify the N905B does. Tip is get them to give you the serial number or a pic of the bottom of the box the serial number and hence verison N905B will be on there (edited)
Avatar
@Daboone72 Where I'm based, kobo touch's are rare and going for 50-70 usd
Avatar
Maybe a Clara HD get tux to give you an image.
Avatar
I could do with an image as well. If he's made one I know he has for the Libra H2O already. That's another way to go
11:44 AM
Apparently you can multiboot that one. Shame fixed 8Gb on board. But if you check your docs it's hard to get that many
11:44 AM
Unless your a comic fan
Avatar
Avatar
kevin
30 usd for glo hd with charging port issues?
@Daboone72 points are good, but I think I would take it. There's a porting possibility there, plus I might get one soon. If the Kobo can power on and the charger port can work in some way, I think it would be worth it.
Avatar
But no charging and no connectivity that sucks
12:40 PM
Swapping a battery over is not cheap I did for the Kobo Mini and ended up at £50
12:41 PM
That's $68.19
Avatar
Wi-Fi is rtl8189 IIRC, very easy to port
Avatar
Now you tell me I fancied a Glo but you said wifi was a no go
Avatar
Well, if he just wants to test InkBox
12:41 PM
He found a Glo HD
12:42 PM
Not a Glo
12:42 PM
Glo HD is imx6sl, not imx507 Better screen (300 PPI)
Avatar
AAhh yes much 1448 x1072
Avatar
Yeah
Avatar
Ahh that's perfect for what I want;.
Avatar
Well there's no image for it yet though But yeah, it's a nice device
Avatar
And 4GB internal is enough for some code
12:49 PM
Post market OS have done a little work but no mention fo anything working yet. https://wiki.postmarketos.org/index.php?title=Kobo_Glo_HD_(kobo-glo-hd)&mobileaction=toggle_view_desktop
Avatar
You can replace the microSD for a larger one too
12:49 PM
It's on kernel 3.0.35, so maybe it's possible
Avatar
Ohh there's a B version hmm
12:50 PM
Kobo N437
12:50 PM
Or maybe it stands for black I hope not
Avatar
Huh? You speaking of the Touch 2.0?
12:51 PM
"Kobo N437 Glo HD 6", B"
Avatar
It doesn't exist
12:52 PM
Probably a mistake
Avatar
Time to dive into Wiki
12:52 PM
Maybe UK market?
Avatar
Possibly?
Avatar
I think typo like you said
12:54 PM
N437-KJ-BK-S-EP as that's the black code
12:56 PM
So the clara is thinner and lighter with more memory
12:57 PM
And infrared touch screen and Comfort Pro on the Clara
Avatar
Yeah
Avatar
Avatar
Daboone72
So the clara is thinner and lighter with more memory
Only 512M memory, same as Glo HD But you were probably speaking of the storage space
Avatar
Yeah it's pmOS-compatible
Avatar
And infrared touch screen wonder if they last
1:00 PM
"So, what benefits does infrared touchscreen technology offer? For starters, they offer a superior level of strength and durability"
1:00 PM
Not all touchscreen devices use capacitive or resistive technology. While these are the two most popular types of touch-sensing technology, there are others available, including infrared (IR). So, what is an IR touchscreen exactly, and how does it work? Overview of Infrared Touchscreen Technology IR touchscreen devices support touch-based input ...
Avatar
Well honestly infrared touch screens are not that bad
Avatar
There's one on ebay for £69 + £2.8 postage
1:02 PM
Well for indoors where I'll have mineand no dirt it's great (edited)
Avatar
A bit expensive maybe?
1:02 PM
As you want
Avatar
it is a bit can make an offer though
1:03 PM
If you can multi boot a Libra and a Libra 2 I'm probably better off with one of those
Avatar
Don't know exactly how pounds line up with $CA, but here I'd try for $40
1:04 PM
I don't know about kexec reliability on the Glo HD
Avatar
That's very cheap I bough the Kobo Touch N905B for that.
1:05 PM
I was thinking mid range 60 USD which is about £45 here.
Avatar
Oh I got my Touches for $25 or something 😂
1:06 PM
Even the Glo was a good deal at $30
Avatar
I guess the swappable SD card is popular here in the markets they probably swap them for 32b and sell them.
👍 1
1:06 PM
Though I did get a 12 month warranty for mien
Avatar
Oh ok Not me
Avatar
But they go for that on ebay as well
1:09 PM
Ohh there's one for £25 2 days left on it./
1:13 PM
I got alpine 3.1.5 on a virtual machine btw x86 just to start feeling my way round will make setup less painful when do arm. Can't find golang for it yet though. I suspect unconfigured package sources
👍 1
Avatar
Add community in /etc/apk/repositories maybe?
Avatar
Thanks great idea
1:43 PM
Great community was commented out why on earth I don't know
Avatar
Avatar
Daboone72
I got alpine 3.1.5 on a virtual machine btw x86 just to start feeling my way round will make setup less painful when do arm. Can't find golang for it yet though. I suspect unconfigured package sources
Are you on 3.15 or 3.1.5??
Avatar
@tux-linux alpine-standard-3.15.0-x86_64.iso
5:04 PM
@tux-linux alpine-virt-3.15.0-armv7.iso was my first choice but there only semeed to be qemu x86 didn't know how to fire it up with the right CPU option
Avatar
Yeah, qemu-system-arm is quite a bit complicated It doesn't work out of the box
Avatar
@tux-linux Would you be able to send some instructions for installing inkbox on a libra?
Avatar
Yes, no problems As soon as I have time
👍 1
Avatar
@tux-linux And don't forget there's bash history if you've cranked up the history value the commands might be there.
9:28 PM
Am planning to use mine to document the Alpine Linux install steps I did.
👍 1
Avatar
I use fish, don't know if you heard about it Very nice, although non-POSIX compliant, but worth using anyway (edited)
Avatar
Well I'm slowly getting to use to zsh with the https://ohmyz.sh/ add on after seeing a Clojure guy use it
Oh-My-Zsh is a delightful, open source, community-driven framework for managing your ZSH configuration. It comes bundled with several helpful functions, helpers, plugins, themes, and a few things that make you shout... OH MY ZSH!
10:45 PM
Status bar themes with git status very nice
10:45 PM
🙃 A delightful community-driven (with 2,000+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, pyth...
10:46 PM
Web based config is nice and man pages possibly
Avatar
zsh is very nice too
Avatar
Avatar
Daboone72
But no charging and no connectivity that sucks
I might attempt a fix. The port is apparently loose
Avatar
@tux-linux I'm thinking of joining your Kobo Clara HD party the Touch I just bought isn't a B as it turns out confusing grade B I think
3:14 PM
There's a Kobo Clara HD 24 month warranty for £90 a bit more than I want to spend. But with yourself working actively I see past 7 days on a version and postmarket proved working even with wifi it's all looking good.
3:15 PM
And get a decent high res screen 800x600 is lower res that most cheap color screens of 1280x800 or even an old 1024x600
Avatar
@tux-linux Update I have bought a Clara HD after trying out the install for postMarketOS
Avatar
Wow very nice ! Keep me posted, you'll probably be very helpful in porting
Avatar
Avatar
Daboone72
@tux-linux Update I have bought a Clara HD after trying out the install for postMarketOS
you have postmarket running on it?
8:05 PM
@tux-linux I checked my work machine specs out but haven't figured out the gpu yet
Avatar
You don't really need a powerful GPU
8:57 PM
Only CPU Graphics are emulated
Avatar
@rsjn No I just compiled the postmarket os image to be sure it was complete enough mainline kernel and multi choice of window managers Wayland nice get RDP access
Avatar
@tux-linux Ahh if you could just get the glo hd going with wifi I'd be happy man 🙂 (edited)
Avatar
It should be possible The driver is quite easy to port
Avatar
@Daboone72 once you get the Clara, create a thread in #porting if you want. Will probably be easier to do that way
Avatar
@tux-linux what equipment required to help port?
Avatar
Serial connection
10:50 PM
See the beginning of the Libra H2O porting thread in #porting
Avatar
Hello everyone, I just learnt that I had caught COVID recently, currently I'm doing relatively well but I don't know how it will be in the next days. I'm not considered 'at risk', so don't be too worried. This message is to inform you that I might have limited availability for some time, so be patient if I'm not responding quickly. Thanks! (edited)
😩 2
Avatar
rest up!!
👍 2
andi joined the server. 1/23/2022 9:16 PM
Avatar
hello !
Avatar
get well soon tux!
👍 3
Avatar
@tux-linux Well got my Clara HD it's a refurbished one though with a warranty. I won't be busting it open straight away will evaluate it for while make sure they fixed what was wrong in the first place.
👍 1
Avatar
Plus since it's the same 6 inch screen size as my old Kindle will be good todo evaluation of some Amazon book conversion.
3:04 PM
@tux-linux Will get a Kobo Touch soon though that will be fun to develop some stuff for.
👍 1
Avatar
I'm kind of surprised by how people say that InkBox is fast. I just received a donation (thanks go to the someone who donated), and there was a note saying that the someone who donated found the system "stunningly fast". Very nice indeed, but I can't figure out why. I mean, it takes 2 minutes to boot with X11, ~1 minute without, and there's a giant squashfs/overlayfs/FUSE overhead that slows down the whole system for the benefit of saving space. Do you find InkBox fast?
Avatar
probably the DU updates?
Avatar
DU, you mean fast eInk refresh?
Avatar
I don't think there is that in InkBox
6:00 PM
Not any kind of A2 either even for Mark 7 (fbink-xdamage was not compiled for that)
6:01 PM
As for kobo-platform-plugin, I've never seen it doing fast refreshes
Avatar
That's probably because of the contrast with nickel, which is generally terrible at UI interactivity
Avatar
Maybe you're right... I haven't used Nickel in months
Avatar
hmm, if you are all opening your devices... Do you know a part number or something of that battery connector commonly used
8:05 PM
seen that one in the Kobo Clara HD, the Tolino Shine 2 HD, the Tolino Shine 3, Probably also in Kobo Glo HD
8:05 PM
in Libra H2O the battery is soldered...
Avatar
Nope, maybe you'll learn something of my PCB picture in the Aura 2 thread
Avatar
without connector
8:06 PM
yes that connector looks same as in tho Kobo Clara HD
8:07 PM
would like to have something for measuring currents in between, to check for suspend currents, etc.
Avatar
I have a multimeter here (not available right now though) (edited)
8:08 PM
I know that some Kobos can work without battery with just USB plugged in
Avatar
yes, they can
Avatar
The Mini can
Avatar
probably all with rc5t619 in it
Avatar
But newer ones don't want to boot, probably require too much power
8:09 PM
it's not tps6185 something?
Avatar
that is for the display
Avatar
but probably the peak currents might give problems
Avatar
Yeah, the Glo is borderline, it can power on without battery but after a certain time it just freezes for no appparent reason
8:11 PM
(probably too much CPU load)
8:12 PM
The Touches can work without battery too
8:13 PM
I have a Touch C which is so broken that the battery was forever disconnected and I need to "boost" it over serial with 3.3V VCC after plugging it via USB otherwise it doesn't power on
8:13 PM
Once it is powered on though, it works no problem
8:13 PM
And just USB power is sufficient
Avatar
probably also depends on how thick the wires in the usb cable are
8:14 PM
and many small mechanical issues
Avatar
Maybe
Avatar
about that current measurement thing: I am thinking about automated tests with suspend current, and with the ability to just reconnect the battery and return to normal usage
Avatar
I know you can hotplug the battery in Kobos
8:16 PM
I do that fairly frequently
Avatar
well would like to insert the multimeter betwenn BAT+ and the PCB, so having some adaptor would be nice, and have stable connections, I really would like to see something like a digikey part number for that connector
Avatar
Maybe could you find that on replacement battery listings?
Avatar
@Daboone72 Maybe you should buy an Aura 2 N236 instead; the screen is much better than on the Touch and InkBox support is almost finished for it. Also I bought a Glo HD earlier today so maybe we'll have a chance to see it ported there too 😉 (edited)
Avatar
@tux-linux Thanks though I've spent enough now I have a Touch and a Clara HD
Avatar
Oh, I thought you didn't buy the Touch yet
11:20 PM
Nice anyway
11:20 PM
Touch B?
Avatar
The Glo would have been nice but I need a stable distribution
11:21 PM
Yes Touch B N905B
Avatar
What Glo are we talking about?
11:21 PM
Nice
Avatar
Glo HD the one with the Clara screen that's alot cheaper
Avatar
The Kobo Glo itself is fully supported The Glo HD isn't
11:21 PM
hmm
Avatar
I want Wifi though
Avatar
oh yes
11:21 PM
true
Avatar
well, Glo HD should be easy to have mainline kernel support
Avatar
that would be awesome
11:22 PM
it's mx6sl too
11:22 PM
On my broken one, only the mainboard works, no screen, but it sure can be used for testing The new one I bought should be nice for InkBox
Avatar
Should be but no one's done it yet it seems. Even postmarket OS not much mileage on it yet.
Avatar
@andi is a master on this 🙂
11:22 PM
He ported mainline to Clara HD
Avatar
Bit surprised though looks like will have the pop the case of the Touch as that SD card slot is in addition to the OS
11:23 PM
Broken Glo?
Avatar
Yep That model also has the strangest internal SD slot I've ever seen
11:23 PM
Well, the screen is borked
11:23 PM
mainboard works
11:24 PM
I used it as a Mediawiki server some time ago (edited)
Avatar
I know some Austrian guy who tried to create a devicetree
11:24 PM
for the Kobo Glo HD
Avatar
I think it's linked on the pmOS wiki page
11:25 PM
There
11:25 PM
Tolino Shine device should help with mainline dts
Avatar
Yes but not in same shape as the clara hd page
11:25 PM
Features all blank
Avatar
yeah, definitely needs some work
11:27 PM
I'm sure it will happen just don't want to be writing code as well as hacking kernels at the same time
11:27 PM
Even the comfort pro light works on the Clara and you can plug in a keyboard nice
Avatar
have you tried postmarketos there?
11:28 PM
on the Clara
Avatar
comfort pro is just another sysfs path you can change/write to (edited)
11:28 PM
but yeah
Avatar
Not yet on the clara it's still under warranty
👍 1
11:28 PM
My plan is test ebook conversion of my Kindle colleciton on the clara then get a Libra 2 or even a Forma 8 inches would be nice.
11:29 PM
Then can flog my Kindle and use the Clara for project work.
Avatar
I have dualboot (directly from the bootloader) on my Clara
Avatar
that's cool
Avatar
andi That's great to here though isn't it without some pain though?
11:30 PM
rewrite each time or something?
Avatar
well, if update is too aggressive I need to rewrite uboot env
11:31 PM
but that can be done via fastboot
11:31 PM
and the original system gets no wifi when I am travelling
11:31 PM
selection is via led blinking and power button
Avatar
What I find that sucks in 2009.08 U-Boots is that there's not any kind of if/elif/else scripting in the prompt
11:32 PM
Nice that you can dual-boot just by writing a different env
Avatar
well, the clara has a more recent U-Boot
Avatar
yeah, useful
Avatar
Thanks andi makes me more pleased with my choice. Was worth the extra £30 it seems.
Avatar
there is documentation about my dualboot
Avatar
If can boot to the original software?
Avatar
nice
11:34 PM
well, basically I have triple-boot
11:34 PM
1. vendor kernel with debian system
11:34 PM
2. mainline kernel with the same debian system
11:35 PM
3. original system
Avatar
@tux-linux For you Clara is a great port reviewed as being a nice reader for most folks
Avatar
Yeah
11:35 PM
First I'd need to get one at a fair price ;p
11:35 PM
They still sell for like $80-100 here
11:36 PM
Being a student, price limit for a Kobo is about $30 max...
Avatar
$ = USD or CAD
Avatar
CAD (edited)
Avatar
A bargain I payed $154 Canadian equivalent for mine
Avatar
that's a lot-
Avatar
And Kobo Glo's go for that here $80-100 here
Avatar
The Glo HD was $20
11:37 PM
(minus shipping)
Avatar
The Clara's are still sold new for £120
Avatar
that was good luck
Avatar
£120 is $205.25 Cnaadian
Avatar
that's more expensive than in new condition 😂 (edited)
Avatar
Must be import duty and local pricing.
Avatar
I guess
11:39 PM
Kobo is based in Canada too, so I guess prices might be slightly lower here
Avatar
well, I got my Clara in 2019 for about 150 CAD equivalent
Avatar
The only Kobos I had "new" were the Glo HD somewhere near 2015 and the Libra H2O at full price in July 2020 (edited)
11:40 PM
The two were worth it
11:40 PM
Glo HD is basically as good as you can get as the Clara IMO
Avatar
The bloke I bought my touch from has put a screen protector on, now need to figure out how to remove it.
Avatar
screen protectors on e-readers are a strange idea
11:43 PM
Better to get a cover
Avatar
Crazy in my mind have got glare
Avatar
I have removed the back part of my clara case
11:44 PM
and put it into a cover
Avatar
that's a nice idea
11:44 PM
I should do that with my Libra
Avatar
and glued a bicycle holder adaptor on it
Avatar
Yay got the protector off already looks better without the bubbles
Avatar
survived >10000 km (edited)
Avatar
nice
Avatar
I like the feel of the back of the Touch very nice
👍 1
Avatar
and then I have a second cover
11:46 PM
with holes above the serial port
Avatar
That's handy
Avatar
and a pogo pin adaptor
Avatar
That is a good idea I like pogo pins
Avatar
The RetroFlag Gpi Case uses them no soldering
Avatar
cool
11:47 PM
I'm still at my Ethernet cables/wires ;p (edited)
11:48 PM
Only disadvantage is it's difficult to see what's on the display when you're connected to serial
Avatar
@andi So that's a little daughter circuit board?
Avatar
I have one with just the wires attached, this one has a BLE SoC
11:49 PM
so I can debug it wireless
Avatar
that's nice
Avatar
Is it stable bluetooth serial?
Avatar
it is on its limits
11:50 PM
ordinary bluetooth is not that problematic
11:50 PM
but BLE is more problematic
11:51 PM
if I am not using BLE, I have the pogo pins on a small board and just soldered wires on the other side
Avatar
What pitch for the pogo pins to line up with the Tx/Rx?
Avatar
main serial port: 2,54mm
11:52 PM
secondary I guess 1.5mm or something
11:53 PM
TP198 is usually another serial port
11:53 PM
it is not always enabled
11:53 PM
proven to work on the Kobo Clara HD, the Tolino Shine 3 and the Tolino Shine 2HD
Avatar
we could test it on the libra if you want
11:54 PM
oh actually is there one
Avatar
hmm, there is no TP198 on the libra I guess
Avatar
Maybe there are no holes
11:55 PM
just pads
11:55 PM
and we didn't see it
Avatar
yes, TP198 is just pads
11:55 PM
a group of 4 pads
Avatar
Oh, I thought you were talking about some other serial port with holes, like the ones you can find on the Glo HD (edited)
11:56 PM
But Aura 2 has TP198 too
11:57 PM
I have some ideas to streamline devicetree production..
Avatar
hmm?
Avatar
so maybe I can also help for the Kobo Glo HD
Avatar
That would be awesome
11:58 PM
Well, I'll make a porting thread, once it arrives we can have a look (edited)
Avatar
I will first do some final clean up of my EPDC drm driver
👍 1
11:59 PM
and then send it to the kernel mailinglist for review
👍 1
Avatar
I also have my broken one currently so I can take some detailed pictures of the PCB
SheepyChris joined the server. 1/29/2022 2:34 AM
Avatar
heya, the download link for the inkbox kobo mini OS seems to be down. are there any reuploads of it? (edited)
Avatar
Which download link are you talking about?
Avatar
Don't use that domain
2:36 AM
New one is at http://23.163.0.39
Avatar
...it's the one linked in the main website, lol
2:37 AM
alright
Avatar
oh really
2:37 AM
I'll change it then
2:37 AM
So change address but same path
Avatar
thank you 🙏
👍 1
Avatar
I just picked up a kobo mini from the thrift store for 8 dollars today, I was absolutely not expecting it could do linux haha
👍 1
2:38 AM
quite a glad surprise
Avatar
yep
Avatar
worked first try :D
👍 1
😀 1
3:05 AM
I've used a microSD card that's a bit larger than the original (64gb vs 4gb lol), does the operating system automatically partition the remaining storage or would I need to create a new one?
Avatar
No, you would need to extend the onboard file (which is exported on USB) to fit the card
Avatar
ahh, gotcha
Avatar
It's on p4/onboard
3:06 AM
You could practically just delete it and create a new one
3:07 AM
dd if=/dev/zero of=onboard bs=1M count=8192 for 8G
3:07 AM
then
3:07 AM
mkfs.vfat onboard
3:07 AM
And it's done
Avatar
quite easy heh
3:10 AM
how would you exit a kobox application? I think netsurf might've hang
3:11 AM
Did you open a menu?
Avatar
I think so lol
Avatar
Netsurf has the magic and mysterious capacity to hang the VNC touch viewer which passes touch input to X
3:11 AM
So you've hit that
Avatar
wew
Avatar
It only happens to Netsurf
3:11 AM
You can reset the device
3:11 AM
There's a way to quit Netsurf without hanging it
Avatar
that's a shame, I love netsurf
Avatar
But there's no wi-fi on your model
Avatar
Avatar
tux-linux
Netsurf has the magic and mysterious capacity to hang the VNC touch viewer which passes touch input to X
When you open a menu
Avatar
ahh true
Avatar
To quit, there's a button on the far top right with an x (missing icon) icon, click there, and IIRC it's File -> Quit
3:13 AM
Did you update it to v1.8?
Avatar
not yet, still getting familiar with it
👍 1
3:15 AM
but thank you for the info
👍 1
Avatar
Don't forget this Note: Prior to version 1.6, InkBox had to be upgraded one version at a time. If your device's factory image ships with version 1.5, you need to closely follow the upgrade instructions here.
3:15 AM
(in the readme)
Avatar
hi, chris
Avatar
hello!
Avatar
InkBox now has a DISPLAY_DEBUG flag, which allows to print the output that is usually seen only on serial on the screen. Helpful for debugging. https://github.com/Kobo-InkBox/kernel/commit/377a2e83c1ac4da87ef957bb229eec371e0049fb Video here: https://photos.app.goo.gl/p4U6mJY2khLZS3Yo7
This flag uses InkVT (from NiLuJe&#39;s fork: https://github.com/NiLuJe/inkvt , thanks to @llandsmeer too) to display the entire output of the rcS on the eInk screen when it usually is on the s...
7:03 PM
so does boot up look at the moment on the Tolino Shine 2 HD
Avatar
niice
7:04 PM
Mine isn't a full console really
7:04 PM
But redirecting rcS output to a fifo, then piping that fifo into inkvt is enough to debug most things
Avatar
yes, it already helps a lot
👍 1
7:06 PM
but somehow having messages scrolling down on the screen during boot feels nice
Avatar
inkvt scrolls down too ;p
Avatar
in that video my drm driver is in action. It gets rectangles from the console automatically using standard apis
👍 1
7:24 PM
I even get rectangles for the blinking cursor
Avatar
nice!
Avatar
there is /sys/class/graphics/fbcon/cursor_blink to turn that blinking off. unnecessarily consumes power
Avatar
didn't know about it useful
Avatar
I did not know it before, I started with filtering out those refreshes in my driver. first I thought about escape sequences like \033[33m to get colored text
Zilding joined the server. 2/1/2022 3:02 AM
Avatar
Avatar
Zilding
Click to see original message
Sticker
k2002 joined the server. 2/4/2022 3:10 PM
Avatar
Avatar
k2002
Click to see original message
Sticker
Avatar
Avatar
k2002
Click to see original message
phodina joined the server. 2/5/2022 7:20 PM
Avatar
Avatar
phodina
Click to see original message
Sticker
Avatar
Avatar
phodina
Click to see original message
Avatar
Avatar
phodina
Click to see original message
Avatar
If anyone has a fix for this, I'm open : https://github.com/Rain92/qt5-kobo-platform-plugin/issues/3
Hello, finally decided to update the platform plugin, since the old one from March didn&#39;t work properly with the Glo HD in InkBox. I get the following build error: nicolas@gentoo-ryzen ~/Do...
7:18 PM
The old platform plugin from March works with all devices except the Glo HD; on it, touch input only works once, and in a "constantly pressed" state, like if you were holding your finger on the button. Once you touch somewhere else, it "releases", then you can touch the same area again and it starts over. Interesting thing is that there is no way of touching somewhere else and activating something else than what you touched previously. (edited)
7:20 PM
Also, killing the inkbox-bin process triggers (most of the time) a kernel fault related to QEvdevTouch.
7:26 PM
https://photos.app.goo.gl/j9mvKSiYtYRyynDY6 Video to better explain what I was saying
Avatar
Kernel traces are like that
7:48 PM
I just tested with compiled libkobo.so from latest UMR release and nothing has changed. Quite worrying...
Avatar
@NiLuJe or @andi (or anyone else that would want to help), if you have any insight on this, I would be immensely grateful. If I don't get touch working with Qt on the Glo HD, support for this device will basically be useless.
Avatar
It seems event codes are different compared to the similar (hardware-wise) Aura SE: code 57 on the Glo HD always has value 1
8:41 PM
Avatar
well, some kind of kernel bug...
Avatar
then I hate Kobo kernels
Avatar
do I really want to debug that old kernel
Avatar
It does that under the stock Nickel one too (when the outdated InkBox add-on is installed)
Avatar
I was a bit busy with the FOSDEM this weekend
Avatar
no problem; also I discovered the issue only a few hours ago
8:50 PM
I'll be sure to watch your FOSDEM talks too
Avatar
It was really important to get people connected
8:53 PM
Alistair is doing mainlining on remarkable 2
Avatar
Nice
Avatar
and smaeul is doing mainlining on the pine note
👍 1
8:55 PM
The Kobo Clara, Libra, and the other devices share the same touchscreen driver
Avatar
That is capacitive
8:55 PM
right?
Avatar
Glo HD has IR
Avatar
cyttsp5
8:55 PM
zforce_ir I guess
Avatar
yeah
8:56 PM
zForce neonode NN1001
8:59 PM
It seems drivers/input/touchscreen/zforce_i2c.c is the interesting file
Avatar
yes, same on the Tolino Shine 2HD
9:00 PM
drivers/input/touchscreen/zforce_ts.c
9:00 PM
on mainline
Avatar
Do you think replacing 1 by 0 in ABS_MT_TRACKING_ID should be done somewhere (line 154)? (edited)
Avatar
Avatar
andi
drivers/input/touchscreen/zforce_ts.c
Would it be possible to use this code in the vendor kernel then?
Avatar
kernel versions differ so much
9:04 PM
probably hard
Avatar
hmm
Avatar
well, I guess the real problem there is the overlong kernel commandline
Avatar
Basically it seems that Qt is not realizing that finger has left the screen and it leaves that button pressed Now, on to why you cannot press anything else but what you initially clicked after that, I don't know... (edited)
Avatar
at least for that kernel oops in the issue
Avatar
cmdline in InkBox is console=ttymxc0,115200 rootwait rw hwcfg_p=0x9ffffe00 hwcfg_sz=110 waveform_p=0x9f9ba800 waveform_sz=6575584 mem=505M boot_port=1 rootfstype=ramfs root=/dev/ram0 rdinit=/sbin/init printk.time quiet
9:06 PM
But it doesn't work in Nickel either
Avatar
Avatar
andi
drivers/input/touchscreen/zforce_ts.c
Where can I find the source?
Avatar
well, e.g. in my kernel branches, in the Clara/Libra kernels
👍 1
Avatar
ok, so it's mainline-ed
Avatar
interesting Clara Vendor kernel has both, zforce_i2c and zforce_ts
Avatar
Glo HD only has zforce_i2c
9:19 PM
ok, well, it stopped early drivers/input/touchscreen/zforce_i2c.c:19:33: fatal error: linux/gpio/consumer.h: No such file or directory #include <linux/gpio/consumer.h>
9:19 PM
might try transplanting this file in include/ ?
Avatar
what are you doing
9:20 PM
?
9:20 PM
compiling just the Glo HD kernel?
Avatar
trying to compile the zforce_ts
9:20 PM
yeah, with glo hd kernel (edited)
9:21 PM
(I renamed zforce_ts to zforce_i2c)
Avatar
I doubt that is is helpful
9:22 PM
there is probably more trouble ahead, even you need to add platform data
Avatar
yeah, just trying things out don't know what to do really
Avatar
Ok, we get this
9:43 PM
I'll try comparing current sources with those ones (https://github.com/kobolabs/Kobo-Reader/blob/177f41b09f3225e76259063b76b3cf8a3b192c92/hw/imx6sl-glohd/kernel.tar.bz2) to see if anything changed in zforce_i2c.c
9:48 PM
diff
Avatar
The QPA should probably just handle ABS_MT_TRACKING_ID properly
9:54 PM
I mean, what the kernel does is probably wonky,n but then none of the Kobo kernels have sane input reports
Avatar
Thanks for replying! Hmm. What would you mean by "handling ABS_MT_TRACKING_ID properly"? (edited)
Avatar
The H2O has the same quirk: there's no slot 0
9:55 PM
first contact takes slot 1 instead of 0
Avatar
So that's the problem
Avatar
Which should be mostly harmless to a sane userland state machine
9:57 PM
(IIRC, until I hacked around it in KOReader, it basically just ate the firts tap)
Avatar
Avatar
tux-linux
Do you think replacing 1 by 0 in ABS_MT_TRACKING_ID should be done somewhere (line 154)? (edited)
Or maybe that could be modified to 0?
Avatar
As for the build issue, compiler's right, that's a syntax error
9:59 PM
A Qt5 platform backend plugin for Kobo E-Ink devices. - qt5-kobo-platform-plugin/kobodevicedescriptor.cpp at e2f39a0eef1dbf6a65c579be7184c82b5c3834e9 · Rain92/qt5-kobo-platform-plugin
9:59 PM
shoudl read .touchscreenSettings = {.swapXY = false, .hasMultitouch = false},
9:59 PM
(same for every other device, C/P snafu)
Avatar
Hmm It hasn't made a difference though, using the latest compiled version Might still try, thanks
Avatar
Avatar
NiLuJe
shoudl read .touchscreenSettings = {.swapXY = false, .hasMultitouch = false},
And that for every other device description below, I guess?
Avatar
But to work properly, ABS_MT_TRACKING_ID should have a value of -1 at some point, right?
10:08 PM
else if (data->code == ABS_MT_TRACKING_ID) { qCDebug(qLcEvdevTouch) << "EV_ABS TRACKING_ID " << data->value; m_currentData.trackingId = data->value; if (m_typeB) { if (m_currentData.trackingId == -1) { m_contacts[m_currentSlot].state = Qt::TouchPointReleased; qCDebug(qLcEvdevTouch) << "EV_ABS TRACKING_ID -1 touch point released"; } else { m_contacts[m_currentSlot].state = Qt::TouchPointPressed; m_contacts[m_currentSlot].trackingId = m_currentData.trackingId; qCDebug(qLcEvdevTouch) << "EV_ABS TRACKING_ID !-1 touch point pressed"; } } } That's what it seems to be in old march commit, qevdevtouchhandler.cpp, lines 619-637 (edited)
Avatar
But... that's what happens on the Aura SE when I click on a button and the QPA actually works: Event: time 245.724530, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0 Event: time 245.724541, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1 Event: time 245.724542, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1 Event: time 245.724546, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 965 Event: time 245.724548, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 272 Event: time 245.724551, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 245.724554, type 3 (EV_ABS), code 0 (ABS_X), value 965 Event: time 245.724557, type 3 (EV_ABS), code 1 (ABS_Y), value 272 Event: time 245.724561, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 1024 Event: time 245.724564, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 Event: time 245.724568, -------------- SYN_REPORT ------------ Event: time 245.854074, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 0 Event: time 245.854078, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0 Event: time 245.854080, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0 Event: time 245.854089, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 965 Event: time 245.854092, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 272 Event: time 245.854095, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 245.854103, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0 Event: time 245.854105, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 Event: time 245.854107, -------------- SYN_REPORT ------------ ABS_MT_TRACKING_ID never becomes -1...
Avatar
Because Kobo ;p
10:15 PM
It never happens on any Kobo
10:16 PM
(it should, though)
Avatar
So the QPA relies on something else, I guess?
Avatar
So we have to detect contact lifts in other ways
10:16 PM
(usually, a pressure-like event hitting 0)
10:16 PM
Or just doing insane trickery to basically keep track of slots in userland
10:16 PM
Which is dumb
10:17 PM
But, oh, well
Avatar
So, TOUCH_MAJOR and WIDTH_MAJOR?
10:17 PM
Event: time 1366.114983, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 1366.114987, -------------- SYN_REPORT ------------ Event: time 1366.163248, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1 Event: time 1366.163253, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1 Event: time 1366.163256, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1 Event: time 1366.163260, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 865 Event: time 1366.163264, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 686 Event: time 1366.163272, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 1366.163276, -------------- SYN_REPORT ------------ Event: time 1366.172825, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1 Event: time 1366.172830, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1 Event: time 1366.172833, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1 Event: time 1366.172837, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 869 Event: time 1366.172841, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 688 Event: time 1366.172849, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 1366.172853, -------------- SYN_REPORT ------------ Event: time 1366.182036, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1 Event: time 1366.182042, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0 Event: time 1366.182045, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0 Event: time 1366.182049, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 869 Event: time 1366.182053, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 688 Event: time 1366.182058, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0 Event: time 1366.182062, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 Event: time 1366.182065, ++++++++++++++ SYN_MT_REPORT ++++++++++++ But Glo HD makes those become 0 and it still doesn't work
Avatar
KOReader uses ABS_MT_TOUCH_MAJOR == 0 to fake a lift on those, yeah
10:20 PM
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - FBInk/finger_trace.c at cfea2676d970e375c6d0228ad691a9431becbef2 · NiLuJe/FBInk
Avatar
Ok, that one is a clean touch-release event sequence from the Glo HD: Event: time 31.145869, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1 Event: time 31.145900, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 1 Event: time 31.145903, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 1 Event: time 31.145914, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1018 Event: time 31.145917, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 346 Event: time 31.145921, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 1024 Event: time 31.145930, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 1 Event: time 31.145933, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 31.145946, -------------- SYN_REPORT ------------ Event: time 31.213910, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value 1 Event: time 31.213925, type 3 (EV_ABS), code 48 (ABS_MT_TOUCH_MAJOR), value 0 Event: time 31.213927, type 3 (EV_ABS), code 50 (ABS_MT_WIDTH_MAJOR), value 0 Event: time 31.213936, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 1018 Event: time 31.213939, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 346 Event: time 31.213943, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0 Event: time 31.213945, type 1 (EV_KEY), code 330 (BTN_TOUCH), value 0 Event: time 31.213947, ++++++++++++++ SYN_MT_REPORT ++++++++++++ Event: time 31.213954, -------------- SYN_REPORT ------------
10:21 PM
Ok, so ABS_MT_PRESSURE, except that on the Glo HD it seems to be ABS_PRESSURE
10:25 PM
Whoa, that's a lot of warnings
Avatar
old gcc?
Avatar
11.2.1...
Avatar
then wrong syntax again ;p
Avatar
This is the file as it is currently
Avatar
don't have the tc set up to check
Avatar
I... think I followed your instructions correctly?
Avatar
that doesn't work in c++ or something, iirc (edited)
Avatar
hmm, reading some stackoverflow question about it
Avatar
Strange, it seems it detects it has been depressed
11:07 PM
Avatar
Also, what in the world is gIsCustomerUi?
Avatar
not so clear idea, look around where it is used elsewhere
Avatar
I did
Avatar
it is only clear that it has to be removed...
Avatar
It's an extern int
11:31 PM
build@inkbox:~/inkbox/kernel/kernel/linux-3.0.35-n437$ grep -rI "gIsCustomerUi" . ./arch/arm/mach-mx6/mx6sl_ntx_io.c:extern int gIsCustomerUi; ./arch/arm/mach-mx6/mx6sl_ntx_io.c: iPwrKeyState,g_power_key_debounce,gIsCustomerUi); ./arch/arm/mach-mx6/mx6sl_ntx_io.c: //if (gIsCustomerUi) ./arch/arm/mach-mx6/board-mx6sl_ntx.c:int gIsCustomerUi; ./arch/arm/mach-mx6/board-mx6sl_ntx.c: gIsCustomerUi = (int)gptHWCFG->m_val.bUIStyle; ./arch/arm/mach-mx6/board-mx6sl_ntx.c: if (gIsCustomerUi) ./drivers/misc/ntx-misc.c:extern int gIsCustomerUi; ./drivers/input/touchscreen/zforce_i2c.c:extern int gIsCustomerUi; ./drivers/input/touchscreen/zforce_i2c.c: if (gIsCustomerUi){ ./drivers/input/touchscreen/zforce_i2c.c: if (gIsCustomerUi) ./drivers/input/touchscreen/elan_touch_i2c.c:extern int gIsCustomerUi; ./drivers/input/touchscreen/elan_touch_i2c.c: if (gIsCustomerUi) ./drivers/input/touchscreen/elan_touch_i2c.c: if (gIsCustomerUi) ./drivers/input/touchscreen/elan_touch_i2c.c: if (gIsCustomerUi) ./drivers/input/keyboard/tle4913_keypad.c:extern int gIsCustomerUi; ./drivers/input/keyboard/tle4913_keypad.c: if(gIsCustomerUi) { ./System.map:80b600c8 B gIsCustomerUi ./.tmp_System.map:80b600c8 B gIsCustomerUi build@inkbox:~/inkbox/kernel/kernel/linux-3.0.35-n437$
Avatar
hmm a switch between android and non-android probably
11:34 PM
bUIStyle = 2 '\002' = android, 1 = kobo firmware
11:35 PM
Where did you find that?
Avatar
do not remember exactly where, but I compared with the HWCFG stuff I have
11:42 PM
if(2==gptHWCFG->m_val.bUIStyle) { // android .
11:42 PM
drivers/video/fbdev/mxc/mxc_epdc_v2_fb.c in Kobo Clara HD Kernel
Avatar
Yup, it's the NTX toggle for stock/android/custom UI
11:53 PM
Which mainly fucks with input & rotation
Avatar
*cries out of despair*
Avatar
Ok, here's the two QPA debug logs compared
12:06 AM
I'm trying to decide whether I bash my head against the kernel or the QPA to fix this problem (edited)
Avatar
if( (1 == id) && (g_touch_pressed&(1<<2)) ) // id 2 still pressed What does this mean? (line 168 of zforce_i2c.c)
12:36 AM
This file is cryptic
Avatar
IT WOOOOOOOORKSSSS
😀 1
12:47 AM
Only with the following modifications diff --git a/kernel/linux-3.0.35-n437/drivers/input/touchscreen/zforce_i2c.c b/kernel/linux-3.0.35-n437/drivers/input/touchscreen/zforce_i2c.c index 28152989d5..dea91ac2a8 100755 --- a/kernel/linux-3.0.35-n437/drivers/input/touchscreen/zforce_i2c.c +++ b/kernel/linux-3.0.35-n437/drivers/input/touchscreen/zforce_i2c.c @@ -163,17 +163,19 @@ static void _zForce_ir_touch_report_touch_up(char id) input_report_abs(zForce_ir_touch_data.input, ABS_MT_WIDTH_MAJOR, 0); input_report_abs(zForce_ir_touch_data.input, ABS_MT_POSITION_X, last_x[id]); input_report_abs(zForce_ir_touch_data.input, ABS_MT_POSITION_Y, last_y[id]); + input_mt_sync(zForce_ir_touch_data.input); input_report_abs(zForce_ir_touch_data.input, ABS_PRESSURE, 0); input_report_key(zForce_ir_touch_data.input, BTN_TOUCH, 0); if( (1 == id) && (g_touch_pressed&(1<<2)) ) // id 2 still pressed { - input_mt_sync(zForce_ir_touch_data.input); + // input_mt_sync(zForce_ir_touch_data.input); input_report_abs(zForce_ir_touch_data.input, ABS_MT_TRACKING_ID, 2); input_report_abs(zForce_ir_touch_data.input, ABS_MT_TOUCH_MAJOR, 1); input_report_abs(zForce_ir_touch_data.input, ABS_MT_WIDTH_MAJOR, 1); input_report_abs(zForce_ir_touch_data.input, ABS_MT_POSITION_X, last_x[2]); input_report_abs(zForce_ir_touch_data.input, ABS_MT_POSITION_Y, last_y[2]); } + input_sync(zForce_ir_touch_data.input); } else { input_report_abs(zForce_ir_touch_data.input, ABS_MT_TRACKING_ID, id);
12:48 AM
I tried to follow the Aura SE events order, and it paid off!
12:48 AM
Thanks to everyone who has helped in some way!
Avatar
Ok, Kobo kernels are literal shit. It does work, but when I try to launch X11, it segfaults everywhere and finally it comes to a general device crash. I don't doubt it will do that too in other situations within InkBox itself
Avatar
Well, fine. If it works from time to time, then there must be a way to make it work definitely. I hope it's not some kind of unfixable void that will stay there forever...
Avatar
Ok, slowly progressing... When restarting the QPA, I get this, will investigate...
Avatar
This happens with current commit https://github.com/Kobo-InkBox/kernel/commit/2139b799d73e6ed0d25b0fd77ac1d7292a613a60 It seems there's a bad pointer somewhere in the code, I'll try to see where it could be...
dr. joined the server. 2/12/2022 6:46 PM
Avatar
Hello!
Avatar
Avatar
dr.
Click to see original message
Avatar
Avatar
tux-linux
Hello!
Hello
6:50 PM
so I have my professor's kobo which is not booting up, I tried flashing the original firmware (.img) file I got on mobilereads but it still doesn't boot up. I tried logging serial messages here they are. Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel (edited)
Avatar
hardware brick?
Avatar
Yes, this is a more appropriate place
Avatar
Now after searching I came across your project. Now I would like to port this firmware to AURA HD
Avatar
But we can continue here too
6:51 PM
oh
6:51 PM
Model number?
Avatar
Avatar
dill
hardware brick?
umm that device was sitting for a while and now it's not booting up
Avatar
oh, got it
Avatar
Avatar
tux-linux
Model number?
N204B
Avatar
It should be possible
Avatar
Hello, Sorry if this is obvious, but any chance for the Aura HD? Love the software, it looks really good. I think there are a lot of these Kobos that could be repurposed with what you&#39;ve wr...
Avatar
Avatar
dr.
so I have my professor's kobo which is not booting up, I tried flashing the original firmware (.img) file I got on mobilereads but it still doesn't boot up. I tried logging serial messages here they are. Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel (edited)
what OS did you use?
Avatar
Avatar
dill
what OS did you use?
Windows
👍 1
6:52 PM
is that a problem?
Avatar
nope! just curious
Avatar
I tried win32diskimager
Avatar
try balenaEtcher
Avatar
but the device is communicating
6:53 PM
I have one question, If this doesn't work, can we port a firmware and try that?
Avatar
Avatar
dr.
Windows
For porting InkBox it is highly recommended to have a Linux computer/install (edited)
Avatar
Avatar
dill
try balenaEtcher
sure doing it riht away.
Avatar
Avatar
tux-linux
For porting InkBox it is highly recommended to have a Linux computer/install (edited)
I have it man
Avatar
Avatar
dr.
I have one question, If this doesn't work, can we port a firmware and try that?
sure
Avatar
I'm into the hardware hacking side
Avatar
The boot logs clearly show this isn't an hard brick
Avatar
Avatar
dr.
but the device is communicating
oh, hm. you could also see if the screen is broken. is the light just continuously flashing?
Avatar
in ebooks kindles mostly
Avatar
Avatar
dill
oh, hm. you could also see if the screen is broken. is the light just continuously flashing?
screen is not broken
Avatar
I'll send the full logs just a sec
👍 1
Avatar
Avatar
dr.
in ebooks kindles mostly
What do you do with them?
Avatar
can I screen share?
Avatar
yes But a copy-paste of the log would be better
6:55 PM
For later consultation
Avatar
Avatar
tux-linux
What do you do with them?
I downgraded them and then jailbroke them
6:55 PM
sure
Avatar
Avatar
dr.
I downgraded them and then jailbroke them
So you have some Linux knowledge I guess
6:55 PM
which is good
Avatar
U-Boot 2009.08-dirty-svn ( 3月 01 2013 - 11:22:42) CPU: Freescale i.MX50 family 1.1V at 800 MHz mx50 pll1: 800MHz mx50 pll2: 400MHz mx50 pll3: 216MHz ipg clock : 66666666Hz ipg per clock : 66666666Hz uart clock : 24000000Hz ahb clock : 133333333Hz axi_a clock : 400000000Hz axi_b clock : 200000000Hz weim_clock : 100000000Hz ddr clock : 200000000Hz esdhc1 clock : 80000000Hz esdhc2 clock : 80000000Hz esdhc3 clock : 80000000Hz esdhc4 clock : 80000000Hz Board: MX50 RDP board Boot Reason: [POR] Boot Device: SD I2C: ready DRAM: 512 MB MMC: FSL_ESDHC: 0, FSL_ESDHC: 1, FSL_ESDHC: 2 In: serial Out: serial Err: serial [_get_sd_number] g_sd_number:2 MMC read: dev # 2, block # 1023, count 1 partition # 0 ... 1 blocks read: OK MMC read: dev # 2, block # 1024, count 1 partition # 0 ... 1 blocks read: OK ram p=70000000,size=536870912 MMC read: dev # 2, block # 18431, count 1 partition # 0 ... 1 blocks read: OK no "logo" bin header
6:55 PM
MMC read: dev # 2, block # 14335, count 1 partition # 0 ... 1 blocks read: OK MMC read: dev # 2, block # 14336, count 2229 partition # 0 ... 2229 blocks read: OK Kernel RAM visiable size=510M->510M init TPS65185 power ... Relock PLL1 to 1GHz ... mx50 pll1: 1000MHz mx50 pll2: 400MHz mx50 pll3: 216MHz ipg clock : 66666666Hz ipg per clock : 66666666Hz uart clock : 24000000Hz ahb clock : 133333333Hz axia clock : 400000000Hz axi_b clock : 200000000Hz weim_clock : 100000000Hz ddr clock : 200000000Hz esdhc1 clock : 80000000Hz esdhc2 clock : 80000000Hz esdhc3 clock : 80000000Hz esdhc4 clock : 80000000Hz Hit any key to stop autoboot: 0 MMC read: dev # 2, block # 2047, count 1 partition # 0 ... 1 blocks read: OK no kernel image signature ! MMC read: dev # 2, block # 2048, count 8192 partition # 0 ... 8192 blocks read: OK

Booting kernel from Legacy Image at 70800000 ...

Image Name: r6427
#1027 Mar 28 15:02:51 Created: 2013-03-28 7:02:55 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1934696 Bytes = 1.8 MB Load Address: 70008000 Entry Point: 70008000 Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
6:55 PM
It's stuck after that and light goes out
Avatar
Avatar
tux-linux
So you have some Linux knowledge I guess
umm Yeah I used it for couple of years
6:56 PM
I work as a Hardware Design Engineer
Avatar
nickel problem i guess? reflashing with etcher would be better, just to be sure. nickel shouldn't have a problem but it's always possible (edited)
Avatar
Kernel problem
Avatar
and I am an Electronics and Telecommunication Engineer
Avatar
cool
Avatar
Avatar
tux-linux
Kernel problem
Yeah I also think the same
6:57 PM
I have one more question
6:57 PM
should I format the sd card before flashing?
6:57 PM
and if yes then how
Avatar
btw what's nickle
Avatar
You just flash it
Avatar
Avatar
tux-linux
no
okay
Avatar
It overwrites the entire card
Avatar
because it caused errors before if I tried without formatting (edited)
Avatar
nickel is the stock firmware
Avatar
Did you take the right image for the Aura HD? Not for any other model?
Avatar
Avatar
tux-linux
Did you take the right image for the Aura HD? Not for any other model?
yeah I requested from mobilereads
6:58 PM
do you have one which you can give?
Avatar
link thread please?
Avatar
Avatar
dill
link thread please?
davidfor personal message
6:59 PM
no thread
6:59 PM
I have one
6:59 PM
just a sec
Avatar
ok Possibilities then are probably corrupted SD card
7:00 PM
or permanent hardware damage somehow
Avatar
Avatar
tux-linux
ok Possibilities then are probably corrupted SD card
I tried a different sd card too
Avatar
then something's really wrong
Avatar
Avatar
tux-linux
or permanent hardware damage somehow
I don't see any and I cleaned is
Avatar
how old is the kobo
Avatar
I think flashing issue
Avatar
Avatar
dill
how old is the kobo
2013
Avatar
Avatar
dill
how old is the kobo
2014 model I guess
Avatar
perhaps. tried different computer?
Avatar
It was sitting for many years
Avatar
If it doesn't work I'll try flashing in ubuntu
7:01 PM
yeah but battery is full
7:01 PM
I checked the voltage
7:01 PM
after charging
Avatar
Well U-Boot works So something worked
7:02 PM
Strange that the kernel doesn't start
Avatar
or corrupt download?
Avatar
earlier it used to get stuck at "Starting kernel ... Uncompressing Linux... uncompression error"
Avatar
Avatar
dr.
earlier it used to get stuck at "Starting kernel ... Uncompressing Linux... uncompression error"
before the flash
7:03 PM
like just when I got it and plugged in usb
Avatar
Avatar
dill
or corrupt download?
I'll try downloading again
7:04 PM
currently I am flashing with etcher
👍 1
7:04 PM
btw which time zone are you from?
Avatar
EST
Avatar
and you?
Avatar
IST, GMT +5:30
7:05 PM
India
Avatar
Cool
Avatar
oh, nice
Avatar
You're the first that is coming from India on this server I think
Avatar
I'll be moving to canada this fall
Avatar
We have people from UK, Germany, Canada, France, New Zealand and probably more
7:06 PM
Nice
Avatar
for MEng Electrical and Computer Engineering
Avatar
I'm in Canada
Avatar
oh, nice! both me and tux are canadian
Avatar
Avatar
tux-linux
I'm in Canada
Wow
Avatar
Quebec
Avatar
Avatar
dr.
India
i have pakistani heritage tho
Avatar
I got admit into uOttawa
Avatar
Avatar
dill
i have pakistani heritage tho
Wow
Avatar
very cool
Avatar
so I already made some Canadian connections
Avatar
Would love to meet you guys...........sometime soon
Avatar
maybe sometime this summer (but we got to get to know you more before!) (edited)
7:07 PM
idk
Avatar
umm this summer I'll be in india
7:08 PM
I'll come in August earliest
Avatar
ottawa is near the border
7:10 PM
so let's assume I have a corrupt firmware, but hardware is perfectly fine. Can i still port inkbox to it without a working device to test it while flashing
Avatar
Avatar
tux-linux
maybe sometime this summer (but we got to get to know you more before!) (edited)
that's the main thing
7:10 PM
alright; bye!
Avatar
thanks man!
7:11 PM
btw what do you do
Avatar
I'm an high-school student
Avatar
I work on InkBox on spare time
Avatar
you're pretty good then
7:11 PM
here I am a grad student now
Avatar
Avatar
dr.
so let's assume I have a corrupt firmware, but hardware is perfectly fine. Can i still port inkbox to it without a working device to test it while flashing
probably
7:11 PM
cool
Avatar
thanks man
👍 1
Avatar
Avatar
tux-linux
I'm an high-school student
same i guess
7:12 PM
junior high
Avatar
no etcher didin't work out
Avatar
it is really strange then
Avatar
yeah it is
7:22 PM
Avatar
This seems alright
Avatar
any suggestions ?
7:23 PM
after this device turns off
7:23 PM
light goes out
Avatar
it turns off?
7:23 PM
hmm
Avatar
white light
7:23 PM
display never comes
7:27 PM
Avatar
unrelated
Avatar
how much time it'll take to port?
Avatar
A couple of days
7:37 PM
Well, I mean, I'm not available all the time
Avatar
Avatar
tux-linux
Well, I mean, I'm not available all the time
yeah i get it
Avatar
And I'm currently trying to port it to three other devices at the same time, so...... ;p
7:37 PM
is this device one of those?
Avatar
not even
Avatar
aggh, my bad luck
Avatar
Well, it'll get ported at some point
7:40 PM
hopefully
Avatar
I'll do it
Avatar
I'll create a thread in #porting
Avatar
just need your guidance
Avatar
Avatar
dr.
I'll do it
You can look at the Libra H2O thread to see how much work it is
7:44 PM
looks like a lot of work but i'm ready
Deleted User joined the server. 2/14/2022 11:17 AM
vpuedro joined the server. 2/14/2022 11:19 AM
Avatar
Hello twice
Avatar
Hello, Im French, very good project, I Hope participate for porting the Libra H2O and the goal is to use Notions on my Kobo
Avatar
It has already been ported, but you need to install it manually. Check out the Libra porting thread for details and feel free to ask questions! BTW I speak French too
Avatar
Avatar
Deleted User
Click to see original message
Sticker
👋 1
Szybet joined the server. 2/17/2022 12:12 AM
Avatar
Well, bonjour😄
Avatar
Salut!
3:34 AM
J'ai vu ton ticket sur GitHub, c'est cool comme idée ! I saw your issue on GitHub, it's a nice idea!
4:52 AM
le kobo nia a un SD card
4:52 AM
afaik
Avatar
Avatar
dill
le kobo nia a un SD card
La Kobo Nia a une carte microSD
Avatar
sorry ;p
4:53 AM
my french is very broken
Avatar
i see
Avatar
yes, despite having learned it since grade 1
Avatar
Avatar
tux-linux
ok I might try it on my Glo HD, since it's already half-destroyed, so it won't bother me if it breaks ;p
Exactly one year ago... This brings back so much memories... (and I have come such a long way) This was basically the catalyst that led to InkBox (edited)
Avatar
Welp, GitHub is now suggesting me my own repository... (edited)
Avatar
Yeah, it's been suggesting fbink to me for the past week or so o_O
😂 1
Avatar
Avatar
tux-linux
Exactly one year ago... This brings back so much memories... (and I have come such a long way) This was basically the catalyst that led to InkBox (edited)
kobo devices are cool becouse they cant be bricked by software
1:07 PM
everything is on the sd card
Avatar
Depends on which device you're talking about...
Avatar
which device are not like that?
1:08 PM
the kobo works in that way
Avatar
Libra, Forma, Touch A, Aura One, Aura N514 just to name a few
Avatar
really? thats not good :(
1:09 PM
which are like the kobo nia? (edited)
Avatar
What's "the Kobo"?
Avatar
em kobo nia
Avatar
All targets officially supported be InkBox + other ones
Avatar
This doesn't mean there are no recovery possibilities
1:12 PM
You can trigger download mode within U-Boot or hope it will come up if your wipe the eMMC
Avatar
u-boot is on the storage too
1:12 PM
so if we need to update u-boot and it would't work it would be bricked
Avatar
Yep!
Avatar
not good
Avatar
Ikr
Avatar
installing inkbox works by flashing the sd card, but how much storage is the sd card?
Avatar
Maybe you can short eMMC contacts to trigger download mode too (Would need @andi opinion on that) (edited)
Avatar
Avatar
Szybet
installing inkbox works by flashing the sd card, but how much storage is the sd card?
All
Avatar
the file has 8Gb, but my kobo nia sd card is 16 Gb
1:14 PM
so i dont think so
Avatar
Standard InkBox images are for 4G cards
Avatar
is it easy to resize it?
Avatar
Yeah, it's not like Nickel but it's easy
1:16 PM
The onboard storage lives in p4/onboard and is a disk image
1:17 PM
Maybe you can install the emulator, you'll have a better idea
Avatar
Avatar
tux-linux
Yeah, it's not like Nickel but it's easy
good
1:20 PM
how looks installing a new kernel, like 5.*? is it even possible?
Avatar
The emulator uses 5.15.10
Avatar
for the kobo
1:20 PM
psyhical device (edited)
Avatar
But standard devices need vendor kernel or a manually ported mainline kernel
Avatar
manually, so only generating the config?
Avatar
Nothing has been done yet for the Clara
Avatar
Avatar
Szybet
manually, so only generating the config?
Much, much, much more than that
Avatar
not good :(
Avatar
Creating a DTS, matching the config, adapting the display driver, etc.
1:22 PM
i think point 2 and 3 could be done
Avatar
Device Tree Source
1:23 PM
You can ask @andi , he knows a lot more about it than me
Avatar
The primary purpose of Device Tree in Linux is to provide a way to describe non-discoverable hardware. This information was previously hard coded in source code.
1:24 PM
could't this be done using the old kernel?
1:24 PM
there isin't new hardware on it
Avatar
Yes Vendor kernel has one but maybe it won't work with the newer one
1:24 PM
Is your Kobo on 4.1.15?
Avatar
there isin't backwards compability?
Avatar
Avatar
tux-linux
Is your Kobo on 4.1.15?
yes it is
1:25 PM
and i think there is a bug the usb driver, thats why i want to update
Avatar
That's not too bad To give you an idea, some supported InkBox devices run on 2.6.35.3
Avatar
Avatar
Szybet
and i think there is a bug the usb driver, thats why i want to update
Patching vendor kernel would probably be easier
Avatar
Avatar
tux-linux
Patching vendor kernel would probably be easier
you mean applying git patches?
Avatar
Well, modifying the code
Avatar
that does not sound easy
Avatar
I did this on the Glo HD to make touch input behave
Avatar
Avatar
Szybet
that does not sound easy
Then porting mainline yourself is probably the worst nightmare you can have
Avatar
i also modified some code that i could compile the kernel
Avatar
Avatar
tux-linux
Then porting mainline yourself is probably the worst nightmare you can have
well...
1:28 PM
where do i look for patches?
1:28 PM
For example
Avatar
Well, the whole file is shit
1:29 PM
So I tried to clean it up a bit
1:30 PM
Usually Kobo vendor kernel code is not good, full of bugs with lots of pain ahead when you'll try to understand what something does
1:31 PM
Avatar
Maybe you can search through commit history
Avatar
Avatar
tux-linux
Maybe you can search through commit history
thats pain
1:32 PM
the linux kernel is huge
Avatar
Well if Google doesn't have any results
Avatar
Avatar
Szybet
the linux kernel is huge
If you filter "chipidea", pretty sure you'll get meaningful results
Avatar
i will try it
👍 1
Avatar
Maybe you can read Wiki page about InkBox too if you want to learn more on how it works: http://inkbox.ddns.net:40/wiki/index.php?title=General_information
Avatar
oh nice, it didt worked yeasterday
Avatar
We had some internet issues at home, resolved now
Avatar
Avatar
tux-linux
We had some internet issues at home, resolved now
I can't access to the wiki, maybe mirror-it somewhere will be a good idea ?
Avatar
You can't??
6:36 PM
but mirroring isin't a bad idea
6:36 PM
maybe github pages?
Avatar
hmm
Avatar
you have already a mirror on github
Avatar
The thing will be to set up syncing between them
Avatar
my bad, i was trying in HTTPS ...
6:37 PM
sorry for my bad English ...
Avatar
ah good then
Avatar
Avatar
tux-linux
The thing will be to set up syncing between them
once a day copy files?
Avatar
mediawiki is more like a whole database to deal with...
Avatar
Avatar
vpuedro
sorry for my bad English ...
welcome to the bad english club
😅 1
Avatar
Avatar
tux-linux
mediawiki is more like a whole database to deal with...
i think that someone actually made a way to mirror it
Avatar
Wrong chat, sorry
11:31 PM
but yes, its nia
Avatar
well... its something :p
Avatar
we are fighting the whole day with it
Avatar
Avatar
Szybet
Click to see attachment 🖼️
Nice!!
11:46 PM
not this chat one more time...
Avatar
Coming up in 1.9...
👏 3
Avatar
Thanks to this script, some StackExchange help and htmldoc: https://github.com/Kobo-InkBox/rootfs/blob/master/usr/local/bin/generate_system_report.sh (edited)
5:33 AM
Sample PDF from my Glo HD
fooooo joined the server. 2/24/2022 8:00 AM
Avatar
Hello!
Avatar
Avatar
fooooo
Click to see original message
Avatar
Hi @tux-linux 👋 Can we imagine a version of the kernel for Raspberry devices ? (edited)
Avatar
That's an interesting question. I'm already trying to port it to sunxi hardware (Banana Pi M2 Zero), but things don't work out very nicely. Maybe a Raspberry Pi Zero with some Waveshare eink display could be possible...
Avatar
Avatar
tux-linux
The Glo HD was $20
Was it really that cheap? used one? i bought the kobo nia for 121$...
Avatar
20$ seems very cheap! I bought a kobo libra h2o for 180€ at FNAC
1:23 AM
(FNAC is an official reseller of Kobo, they sell Kobo with custom firmware : the sleep screen is the logo of the brand) (edited)
Avatar
Avatar
tux-linux
That's an interesting question. I'm already trying to port it to sunxi hardware (Banana Pi M2 Zero), but things don't work out very nicely. Maybe a Raspberry Pi Zero with some Waveshare eink display could be possible...
I have starting something, some news in few days!
👍 1
Avatar
Avatar
vpuedro
(FNAC is an official reseller of Kobo, they sell Kobo with custom firmware : the sleep screen is the logo of the brand) (edited)
what else is on the custom firmware
Avatar
Avatar
Szybet
Was it really that cheap? used one? i bought the kobo nia for 121$...
Yes, it was really a lot of luck
Avatar
There's now an InkBox OS emulator Live system! http://23.163.0.39/bundles/inkbox/emulator/inkboxos_emulator.iso User is user and password is user Once you get to the root prompt, start a new shell with CTRL+SHIFT+T in gnome-terminal, then do while true; do vncviewer 127.0.0.1:5901; sleep 1; done and it should come up after some minutes! @rsjn, you said it had to be easy, I guess it is easy enough now? ;p (edited)
🎉 2
Avatar
ooooh! I've been looking to replace nickel, tbh. I want progress sync across my devices
👍 1
2:27 AM
also, my nickel db always gets corrupted, very frustrating
Avatar
Which one looks better? Top is with U001 (Univers open-source clone, thanks URW) and bottom is default typeface in InkBox (Inter) (edited)
12:32 AM
Same thing again with different view
Avatar
IMO, Univers looks much better in some parts of InkBox than Inter
👍 1
Avatar
yes!!
👍 2
12:21 PM
Those Arrows are not touch friendly (edited)
12:25 PM
BTW, those are height and width, no one will use the arrows, jest delete them and make it a keyboard input
Avatar
It's quite difficult to make a keyboard input there
1:28 PM
But thanks for the review anyway
1:28 PM
At the same time, that's not something the user is going to change very often
1:28 PM
(If he ever needs to change it)
Avatar
It Hurst my eyes :p
Avatar
InkBox has a new cleaner and neater website organization: (edited)
🙌 1
Avatar
nice, finally
3:17 PM
wrong chat...
Avatar
nice
Avatar
Exactly one year ago today, InkBox OS was born. @OfficerAction fixed touch input issues for the Mini in the platform plugin and thus I started building an entire operating system for the device. Quite a lot of memories...
😎 2
🎉 2
😄 2
Avatar
Avatar
tux-linux
IT WOOOOOOOOOOOOOOOOOOOOORKS
Hehe
Avatar
Avatar
tux-linux
@dill now it works on the Mini thanks to @OfficerAction who did some magic tricks with the platform plugin code
yep :P
Avatar
How is the propability to port inkbox to other ereaders, when a custom linux kernel boots, fbink works ,then it shouldnt be a big problem?
Avatar
No, you're right
3:32 PM
Porting to old Kindles would be possible, I just don't have any prior to the PW3 (which serial port is kind of broken). (edited)
Avatar
if a device is not brickable ( like kobos with sd cards ) then there is a green light for it (edited)
Avatar
Old Kindles can be put in manufacturing mode (i.e., download mode) by pressing a combination of keys at boot
sfdsafddfad joined the server. 3/8/2022 1:44 PM
Avatar
Avatar
sfdsafddfad
Click to see original message
1:48 PM
Weird nick🧐
Avatar
Avatar
sfdsafddfad
Click to see original message
Sticker
Avatar
sfdsafddfad 3/8/2022 4:09 PM
sorry, i just mash a bunch of random letters when joining discord. just stopped by to say thanks for developing inkbox and i'm new to ereaders and am looking for something linux friendly. this project caught my eye. trying to figure out which kobo to get...looking at a Clara HD. i see the port is in progress for this device.
Avatar
well, maybe you'd be better to get one that is already ported a Glo HD would be better (thanks for the review!) (edited)
Avatar
1 has clara hd a sd card as storage? 2 progress doesn't mean it will ever be done
Avatar
We don't know if the Clara HD has some issues similar to the Libra and the Nia, which makes the UI unstable at times
Avatar
Avatar
tux-linux
well, maybe you'd be better to get one that is already ported a Glo HD would be better (thanks for the review!) (edited)
And a Glo HD is basically a Clara HD but from 2015
4:11 PM
Same screen ppi, same amount of RAM, and similar CPU
4:12 PM
The official image has not been released yet (it will be when 1.9 is) but porting is fully completed for that device
Avatar
Avatar
Szybet
1 has clara hd a sd card as storage? 2 progress doesn't mean it will ever be done
1. Yes 2. We'll see...
Avatar
sfdsafddfad 3/8/2022 4:13 PM
thanks for the advice. i'm really just one day into looking at these devices. i've been partial to real paper books but humble bundle has 31 boss fight ebooks for $18 and i can't turn that down 😉
👍 1
Avatar
AFAIK, the Clara EPDC quirks are less severe, in that they're mostly limited to rota 0 @ 8bpp, and that's not Portrait on that device
4:46 PM
A Glo HD is NOT like a Clara at all. Completely different SoC & screen 😉
4:46 PM
The only similarity is the form factor 😉
Avatar
Avatar
NiLuJe
A Glo HD is NOT like a Clara at all. Completely different SoC & screen 😉
Well, I knew about the SoC, but ok, I thought the screen was the same 👍 (edited)
5:05 PM
In practice though, they are quite similar
Avatar
Avatar
NiLuJe
AFAIK, the Clara EPDC quirks are less severe, in that they're mostly limited to rota 0 @ 8bpp, and that's not Portrait on that device
Yeah, but I'm dreading an UI freeze bug like what happened to the Libra this summer (the QPA would randomly stop printing to the FB for no reason), and it seems to happen on the Nia, so I don't have much hope for the Clara...
Avatar
Wait, the Nia is an actual real device that people actually bought? 😄
5:10 PM
I've seen like, 2 users since it was released 😄
Avatar
Check out #deleted-channel
5:16 PM
;p
Avatar
well, im one of them
5:22 PM
😁
5:23 PM
this freeze its not the same that on libra, maybe sokmething diffrent
5:24 PM
and i have been using the nia at home for 2 hours now, no freeze
5:24 PM
diffrent books, anything
5:24 PM
the only diffrence is i dont launch apps, like the paint one
5:24 PM
so we will se
Avatar
Avatar
Szybet
and i have been using the nia at home for 2 hours now, no freeze
Awesome
Avatar
The Libra issues were indeed different (the WAIT_FOR ioctl just timing our for no apparent reason).
5:32 PM
The EPDC hangs are another matter (check dmesg, it's usually shouting about something at one point).
5:33 PM
And then some devices just hang, period, on top of that ^^
Avatar
I think FBInk complains about not being able to trigger a refresh (operation not permitted)
Avatar
Quick successions of refreshes are usually a great way to kill affected kernels/devices (i.e., FBInk's doom demo, or InkVT); and rota 0 @ 8bpp usually exacerbates those because there's less time spent in C-land. (edited)
Avatar
i saw that the nia has some gpio pins, maybe they are related? maybe the gpio pins controll the e-ink in some way on the libra?
Avatar
Avatar
NiLuJe
Quick successions of refreshes are usually a great way to kill affected kernels/devices (i.e., FBInk's doom demo, or InkVT); and rota 0 @ 8bpp usually exacerbates those because there's less time spent in C-land. (edited)
Well, sometimes I was reading a book page, no moving content on the screen and then I wanted to click next and it had hung
Avatar
Since you can both run custom kernels, I'd recommend trying verbose builds w/ the verbose EPDC logging enabled, that might shed some more light on this (edited)
👍 1
5:35 PM
Unless it's like sunxi where enabling verbose logging basically murders the EPDC 😄 (edited)
😂 1
Avatar
Avatar
NiLuJe
Quick successions of refreshes are usually a great way to kill affected kernels/devices (i.e., FBInk's doom demo, or InkVT); and rota 0 @ 8bpp usually exacerbates those because there's less time spent in C-land. (edited)
InkVT actually works well on the Libra with InkBox
5:36 PM
It doesn't seem to trigger the kernel bug
Avatar
I don't think I've heard of hangs on the Libra (1, the 2 is a crash-fest, apparently)
5:36 PM
Just the wait_for timeouts
Avatar
hmm
Avatar
EPERM is unfortunately what happens when the ioctl handler returns -1, a.k.a. '"we were too lazy to implement meaningful return codes on error" ^^
5:39 PM
(Usually because that's a very early return) (edited)
Avatar
That's fun
5:41 PM
I'm thinking that with the Clara HD and 5.16 kernel we might have some luck
sdsadsadsaa joined the server. 3/9/2022 4:41 AM
Avatar
Avatar
sdsadsadsaa
Click to see original message
4:44 AM
You'll like @sfdsafddfad ;)
Avatar
Avatar
sdsadsadsaa
Click to see original message
dsdsdsdsad joined the server. 3/9/2022 9:08 PM
Avatar
bro, stop
9:08 PM
create a proper account with an email, and not this (edited)
9:08 PM
or tux-linux will need to turn on higher server protection
Avatar
hi, sure. it's done. let me see if i can delete the other accounts. be right back.
Deleted User joined the server. 3/9/2022 9:28 PM
Avatar
🤦‍♂️
9:33 PM
here's how to create an account 🙂
Avatar
logged in as the old account and deleted it. not sure if that really deletes it though since i don't remember the #xxxx that was after it. anyway...sorry about all that.
Cadster joined the server. 3/10/2022 10:21 AM
Avatar
Avatar
Cadster
Click to see original message
Avatar
Avatar
Cadster
Click to see original message
Avatar
Avatar
Cadster
Click to see original message
Sticker
Avatar
@tux-linux what is your qt setup ( toolchain, etc )? you linked https://github.com/Rain92/kobo-qt-setup-scripts and it will propably work, but if not I ask now
11:19 PM
also https://github.com/baskerville/plato has his own implementation for writing to the e-ink. wow
Avatar
Avatar
Szybet
@tux-linux what is your qt setup ( toolchain, etc )? you linked https://github.com/Rain92/kobo-qt-setup-scripts and it will propably work, but if not I ask now
koxtoolchain + manually built Qt cross-compilation setup
Avatar
manually oh no
Avatar
at the time there were no qt setup scripts
Avatar
i understand
Avatar
How precise is touch on ereaders?
12:26 PM
I mean, using it as graphic tablet?
Avatar
just... no
1:40 PM
have you tried scribble on your nia?
Avatar
I mean, not showing it on the screen but on the PC using some software (edited)
2:13 PM
Also, scribble is slow. Paint in plato is Fast, its instant
Avatar
Scribble is a demo Qt app
6:38 PM
I just thought it was cool to include it in InkBox
4:26 PM
😄
nichobi joined the server. 3/18/2022 5:32 PM
Avatar
Avatar
nichobi
Click to see original message
Eugène joined the server. 3/18/2022 7:05 PM
Avatar
Welcome all
Avatar
Hello all as well
- ̗̀ Hal9k ̖́- joined the server. 3/21/2022 1:31 PM
Avatar
Avatar
- ̗̀ Hal9k ̖́-
Click to see original message
Avatar
Avatar
- ̗̀ Hal9k ̖́-
Click to see original message
- ̗̀ Hal9k ̖́- 3/21/2022 1:34 PM
Avatar
Welcome
Avatar
hmm i saw this now: https://github.com/tux-linux/nickelboot wouldn't be better to just make koreader and plato work in inkbox?
Multi-boot Kobo firmwares with SquashFS, OverlayFS and UnionFS magic - GitHub - tux-linux/nickelboot: Multi-boot Kobo firmwares with SquashFS, OverlayFS and UnionFS magic
Avatar
...why why do you want to do this Just why
Avatar
about what are you talking about
Avatar
Make KOReader and Plato work in InkBox
Avatar
it makes more sense that making nickel dualboot
Avatar
It is not the purpose of InkBox
Avatar
Avatar
tux-linux
...why why do you want to do this Just why
i dont want, just a better idea
Avatar
Avatar
tux-linux
It is not the purpose of InkBox
dualbooting isin't too
Avatar
The only devices where you can dual boot Nickel and InkBox are the eMMC ones; for a reason, since flashing the entire Nickel firmware back vs swapping out the microSD card is not very practical
9:26 PM
And most people won't try InkBox if they can't go back easily afterwards
9:26 PM
Which, on standard devices, you can
Avatar
Oh, eMMC devices, okay
👍 1
Avatar
Why i cant assign labels on github
10:30 AM
Or is it becouse github on android
LinhCa joined the server. 3/23/2022 7:50 AM
Avatar
Welcome
Avatar
Hi, I Just íntalled inkbox on my kobo mini
8:10 AM
But it can’t open a book because of screen size. I’m on version 1.6
Avatar
That's another reason to remove the file chooser
8:50 AM
You can still open books with searching the name
8:53 AM
Let's wait for @tux-linux
Avatar
You can also click 2 times on the book file
9:10 AM
The current version is 1.8 I think?
Avatar
Yeah, double click
2:44 PM
But you should really install 1.8
Avatar
Avatar
LinhCa
But it can’t open a book because of screen size. I’m on version 1.6
Double tap the book
Avatar
It still needs to be improved, this file chooser (edited)
Avatar
@everyone InkBox officially turns one year today (i.e., the release date of v1.0 on GH)! 🎉 🎉 (edited)
Avatar
🎉 🎉 🎉
11:44 PM
🎉
Avatar
New Reversi/Othello game in InkBox
Avatar
Nice
👍 1
3:34 PM
this is why inkbox is better than koreader / plato
3:34 PM
any qt programs will work and can be ported easlly
3:34 PM
maybe chess to?
Avatar
It can work but I haven't found one with an AI that does
Avatar
something like pbchess?
Avatar
pbchess is not open source
7:51 PM
but yeah
Avatar
Also, a nice way now to know what the error code means
Avatar
maybe... just write the error message?
8:46 PM
"rootfs signature failed" for example
Avatar
The font is very huge Even such a message would take up the entire screen
8:47 PM
Also, the wiki page will include detailed explanations
Avatar
well, okay
Avatar
Fix: None available. ummm maybe reboot it twice😆
Avatar
yeah, too
10:50 PM
i'll add it
Avatar
Avatar
tux-linux
New Reversi/Othello game in InkBox
To everyone, if somehow you happen to stumble on a simple game like this on GH that:
  • Is written in C++ w/Qt (no QML);
  • Is not written in PyQt/PySide2 (Qt bindings for Python);
  • Does not have external dependencies;
  • Does not seem to be too much hassle to build;
please put your suggestions in this channel!
(edited)
Avatar
maybe a terminal written in QT + keyboard? i cant use the one built in without xorg
Avatar
maybe, but I think most of them use QML, which IIRC isn't something we have here on Kobos
Avatar
Lightweight Qt Terminal Emulator. Contribute to ohwgiles/quilte development by creating an account on GitHub.
10:59 PM
example one
10:59 PM
but i dont think thats a good idea, its an old one and unsupported
Avatar
hmm, but where's the virtual keyboard?
11:00 PM
;p
Avatar
good question ;p
Avatar
maybe something based on qtermwidget
11:01 PM
or maybe you can write something in Rust
Avatar
Avatar
tux-linux
or maybe you can write something in Rust
I think writting it in qt would be better for porting it later to other devices
👍 1
11:02 PM
for now i want to finish sanki
👍 2
Avatar
https://github.com/jvaelen/2048 this is awesome but would need a virtual keyboard maybe just virtual arrow keys could do
A C++/Qt clone of the popular 2048 game. Contribute to jvaelen/2048 development by creating an account on GitHub.
Avatar
yes, it is
Avatar
also, eink-friendly, no animations
Avatar
sliding would't work?
Avatar
well, it doesn't now
11:07 PM
qgestures is a complicated world
Avatar
well okay
Avatar
Avatar
Szybet
for now i want to finish sanki
:D
Avatar
Avatar
tux-linux
To everyone, if somehow you happen to stumble on a simple game like this on GH that:
  • Is written in C++ w/Qt (no QML);
  • Is not written in PyQt/PySide2 (Qt bindings for Python);
  • Does not have external dependencies;
  • Does not seem to be too much hassle to build;
please put your suggestions in this channel!
(edited)
we have a few games that aren't qt but work on eink
11:15 PM
minesweeper, simon tatham puzzles, wordle, donsol
Avatar
hmm Well, the goal is to have them well integrated, like reversi in qt
Avatar
integrated into your single qt app?
Avatar
well, qt is ideal since I don't have to change libs, I can keep the same environment
Avatar
I'll think some more, I have seen a qt crossword for eink
👍 1
Avatar
Avatar
tux-linux
well, qt is ideal since I don't have to change libs, I can keep the same environment
not sure what you mean
11:17 PM
for building? or for running?
11:18 PM
how do you switch between apps?
Avatar
well, InkBox launches another qt executable, and when this executable quits, it relaunches InkBox
Avatar
yeah, the env for those apps is easy to build
11:39 PM
only supported on Kobo Clara and Libra, currently
11:39 PM
i'll see
11:39 PM
thanks for the idea
Avatar
done
12:28 AM
12:29 AM
that's nice
Avatar
Exit button please
Avatar
done
12:45 AM
now it looks like this
Avatar
doesn't fingerterm fit the bill? (IIRC, that's what the rM peeps are using). (Unless the UI is in QML?)
Avatar
hmm, yeah. QML is there.
12:56 AM
12:56 AM
thanks for the suggestion though
Avatar
whats wrong with qml?
12:59 AM
it requires a different qt license?
Avatar
no, well, I think it isn't available on the libs that inkbox ship with
1:01 AM
or it isn't working
1:03 AM
yeah
Avatar
isn't it a plugin to enable?
1:27 AM
qt-widgets or something
Avatar
well, it should be in the modules
1:33 AM
but it seems it isn't
1:34 AM
Though, there seem to be QML libs
1:37 AM
strange; I installed qt5-qtdeclarative-devel on Fedora and now it doesn't show that error
Avatar
awesome - new error or it works?
Avatar
../fingerterm-reMarkable/textrender.cpp:21:10: fatal error: epframebuffer.h: No such file or directory 21 | #include <epframebuffer.h> | ^~~~~~~~~~~~~~~~~
1:41 AM
a clue on this @NiLuJe ?
Avatar
epframebuffer is remarkable's library that calls into mxcfb
👍 1
1:48 AM
you need epframebuffer.h and the .so or .a file
1:49 AM
or you can write your own backend / port it using niluje's libraries
1:49 AM
if you are looking at terminal emulators, fingerterm is slow, iirc. it doesn't use DU. yaft does, though
1:50 AM
https://github.com/uobikiemukot/yaft (but you also need to write a backend for it)
yet another framebuffer terminal. Contribute to uobikiemukot/yaft development by creating an account on GitHub.
Avatar
Or just plug it into our QPA and make sure it's using DU wherever possible 😉
👍 2
Avatar
yeh, that makes sense
Avatar
The DU bit is easier said than done, since you need to make sure everything involved is pure B&W
Avatar
yaft supports it
2:01 AM
at least, timower's port of yaft supports DU on rM
Avatar
Avatar
rsjn
if you are looking at terminal emulators, fingerterm is slow, iirc. it doesn't use DU. yaft does, though
Maybe I could just reuse InkVT
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
looking great!!
👍 1
Avatar
Avatar
rsjn
minesweeper, simon tatham puzzles, wordle, donsol
Wordle the best
6:35 PM
wordle on inkbox, great idea though
Avatar
I can send prebuilt binary for you to test with or you can implement from scratch
Avatar
Avatar
tux-linux
pbchess is not open source
Actually, it seems that there's some source code available here: https://bitbucket.org/vlasovsoft/free/src/master/
Avatar
IIRC, mostly the QPA
2:01 AM
Which is not the QPA you're used to ;p.
Avatar
Avatar
NiLuJe
Which is not the QPA you're used to ;p.
because...?
Avatar
Avatar
NiLuJe
IIRC, mostly the QPA
There seem to be some apps there, as well as the chess engines in other repos
yuxia228 joined the server. 3/29/2022 11:05 AM
Avatar
Welcome
Avatar
Avatar
yuxia228
Click to see original message
Sticker
Avatar
Avatar
yuxia228
Click to see original message
Avatar
https://us.kobobooks.com/products/kobo-nia-sleepcover how do these cases avoid that the magnet doesn't trigger the sensor when the its fully open ( the "flap" is on the back )? i can't figure this out
Protect and personalize your Kobo Nia with a SleepCover in aqua, lemon or black. Kobo Nia automatically wakes up when you open the cover, and goes back to sleep when you close it. Shop now.
Avatar
Well, the magnet only faces one side, right?
Avatar
you mean?
Avatar
You never used fridge magnets?
11:22 PM
They are only attractive one one side
Avatar
Avatar
tux-linux
You never used fridge magnets?
i have never used english a lot
Avatar
Avatar
tux-linux
They are only attractive one one side
this is not how a hal sensor works, it works on both sides
11:23 PM
it doest that on the nia
Avatar
i'm not talking about the hall sensor
11:24 PM
I'm talking about the magnet itself
Avatar
i know, but the hal sensor is triggered by north and south
Avatar
yes, but maybe the magnet is isolated on one side
Avatar
like what isolated?
Avatar
if you put magnet stickers on your fridge, it adheres only one one side, right?
11:27 PM
i think it's what's happening here
Avatar
Avatar
Szybet
i know, but the hal sensor is triggered by north and south
here
Avatar
hmm
Avatar
if i turn the magnet its still triggering it
Avatar
oh, you have the case?
Avatar
even if i turn the magnet 90 degrees it still does it
Avatar
it triggers KEY_F1 anyway?
Avatar
Avatar
tux-linux
oh, you have the case?
i want have made my own
Avatar
Avatar
tux-linux
it triggers KEY_F1 anyway?
yes, here is the problem
Avatar
maybe the case blocks enough of the magnetic field so it works only on one side
Avatar
its not thick, i doubt it
Avatar
i don't know
Avatar
Avatar
Szybet
yes, here is the problem
well, does it trigger any other thing if it's on the other side? (evtest /dev/input/event0 if it says it's busy, killall evtest but you'll probably need to restart to get sleep working again)
Avatar
only Event: time 1649026327.175692, -------------- SYN_REPORT ------------ Event: time 1649026327.565631, type 1 (EV_KEY), code 59 (KEY_F1), value 1 Event: time 1649026327.565631, -------------- SYN_REPORT ------------ Event: time 1649026327.795633, type 1 (EV_KEY), code 59 (KEY_F1), value 0 Event: time 1649026327.795633, -------------- SYN_REPORT ------------
11:35 PM
value 1 is when it detects, 0 when i move the magnet away
Avatar
then i don't know (edited)
Avatar
soo can i redesign it for the kobo nia as a setting option that it will:
  • its sleeping
  • value 0 detected
  • value 1 ( its on the back )
  • value 0 detected
  • value 1 detected, the sleep cover is back on the top go to sleep now this software mod is the only thing i can think of that would work
Avatar
well, can you test the official case before that?
11:39 PM
people are not likely to build their own cases
Avatar
its 1/4 the price od the kobo nia, no way ;p
Avatar
maybe look up doc online about how to build a case?
11:40 PM
like for an ipad, i guess
Avatar
Avatar
tux-linux
people are not likely to build their own cases
1. 3D printing is very popular these days 2. Support for custom cases, which will take up ~2Kb of script code is bad?
Avatar
will it work for normal cases too?
Avatar
normal you mean the official one? idk we need a guy with that case
Avatar
well, until we have a guy with that case i won't merge it
11:42 PM
you're welcome to make changes though
Avatar
maybe we can ask the second person that is using the kobo nia ;p
Avatar
is there one here?
Avatar
Avatar
tux-linux
well, until we have a guy with that case i won't merge it
it won't be the default, it will be an if in the script, some code and a config file with false in it :/ i really doesn't want to fork inkbox
Avatar
didn't you already fork the rootfs?
11:44 PM
oh
11:44 PM
ok
Avatar
+ another thing i would want to add are cpu freq goversors, it works ok on the kobo nia, the same thing with an if and condfig file somewhere
Avatar
Avatar
tux-linux
didn't you already fork the rootfs?
only for making a pull request
Avatar
anyway, this will be for 2.0, I think it will be a LOT of cleanup work to do, either for sleep, Reader engine, UI, file chooser, internals, etc.
11:45 PM
eta july 2022 ;p
11:45 PM
so we have time
Avatar
for me its important that it will be in the repo, i make the rootfs itself, the gui bundle in the future too
Avatar
well there's already a generation script, it's reproducible, on GH: https://github.com/Kobo-InkBox/gui-bundle you just need to set up a dev environment
InkBox GUI bundle contents and generation script. Contribute to Kobo-InkBox/gui-bundle development by creating an account on GitHub.
Avatar
i know about it
11:48 PM
also, wouldn't you want a cover with inkbox logo / text on it ;p?
11:48 PM
this would be great for the community
Avatar
you need to specify the location of your build folders named (or symlinked) build_inkbox, build_oobe-inkbox, etc. and it produces it for you
Avatar
Avatar
Szybet
this would be great for the community
everyone can 3d print it
Avatar
Avatar
Szybet
also, wouldn't you want a cover with inkbox logo / text on it ;p?
my main goal is to actually get a raspberry pi or banana pi with eink screen running inkbox then sell it (charge only for hardware + small profit so I can keep motivated) (edited)
Avatar
hmm... aren't the available e-inks for those devices to low-res?
Avatar
Avatar
tux-linux
my main goal is to actually get a raspberry pi or banana pi with eink screen running inkbox then sell it (charge only for hardware + small profit so I can keep motivated) (edited)
A complete port for the Banana Pi M2 Zero is already there and working, the only thing missing is the eInk screen But you can interact with the UI via VNC
Avatar
Avatar
Szybet
hmm... aren't the available e-inks for those devices to low-res?
they are very expensive
Avatar
yea...
Avatar
Like, $70US for a 300ppi 6inch screen
11:51 PM
I haven't even got the money to buy one for myself and testing
Avatar
the kobo nia is 90$...
Avatar
the PCBs are not that expensive I think
11:52 PM
the Banana Pi is like $30 base cost without shipping
11:52 PM
and 3D printing the shell is probably like $2-3
Avatar
Avatar
tux-linux
and 3D printing the shell is probably like $2-3
1.5$ i think. 3d printing is cheap
11:53 PM
maybe a patreon / donations would be better for you
Avatar
i already have liberapay + paypal set up
Avatar
a manufacturer that puts inkbox as the default would be a dream
Avatar
Avatar
tux-linux
i already have liberapay + paypal set up
well for now too less people know about inkbox + its not ready. the average person will like to stay with koreader / plato
Avatar
some people make donations, sometimes very high amounts, but then they say "for Kobo Aura H2O support", "for x device support", so I want to respect their wishes and don't use the money for something else (like buying a testing eink screen) (edited)
Avatar
Avatar
tux-linux
some people make donations, sometimes very high amounts, but then they say "for Kobo Aura H2O support", "for x device support", so I want to respect their wishes and don't use the money for something else (like buying a testing eink screen) (edited)
that makes sense, good
Avatar
Avatar
Szybet
well for now too less people know about inkbox + its not ready. the average person will like to stay with koreader / plato
yeah, the fact that it's an entire OS is probably not that nice for them
11:56 PM
but now it would be impossible to uncouple InkBox from InkBox OS
Avatar
it needs killer features that plato and koreader can't have. kobo nia with audio could be one
Avatar
Avatar
tux-linux
but now it would be impossible to uncouple InkBox from InkBox OS
it doesn't make sense
Avatar
too many things relying on internal features, named pipes (initrd-fifo, ibxd) and it would have like 10% of the features working
Avatar
Avatar
Szybet
it doesn't make sense
before it was like that ;p
Avatar
inkbox gui isin't that good, and the main feature that its open source, tinker friendly
Avatar
up to inkbox 1.3 I provided Nickel packages
Avatar
i know
Avatar
Avatar
Szybet
inkbox gui isin't that good, and the main feature that its open source, tinker friendly
thanks for destroying my enthusiasm 😂
11:58 PM
anyway
11:59 PM
Well, I think I did a good job with the design at least
Avatar
Avatar
tux-linux
thanks for destroying my enthusiasm 😂
um sorry but its honest, it needs some work. Compared to plato it works... bad
Avatar
Avatar
tux-linux
Well, I think I did a good job with the design at least
yes
Avatar
Avatar
Szybet
um sorry but its honest, it needs some work. Compared to plato it works... bad
but plato doesn't have games for example, its a match of features here
Avatar
Well, hehe, I haven't done any degree/study in any field of programming, so you get what you get ;p
Avatar
degree / and study in programming are worth nothing, only experience is
12:00 AM
inkbox is going in a good direction, it needs time
12:01 AM
BTW for the kobo nia on inkbox the memory for books is 14.1Gb and on nickel 8Gb
12:01 AM
its another feature you see
Avatar
2.0 will probably need a complete overhaul of the reader engine of the entire reader class and a lot more contributors for code review, etc.
Avatar
Avatar
Szybet
BTW for the kobo nia on inkbox the memory for books is 14.1Gb and on nickel 8Gb
well maybe actually 10? still more on the same sd card
Avatar
Avatar
Szybet
BTW for the kobo nia on inkbox the memory for books is 14.1Gb and on nickel 8Gb
how? inkbox takes more space than nickel
Avatar
Avatar
tux-linux
how? inkbox takes more space than nickel
idk
Avatar
Avatar
Szybet
degree / and study in programming are worth nothing, only experience is
Well, I mean, it could have helped for basic things like that... https://github.com/Kobo-InkBox/inkbox/commit/f683d70f1ce71aaab93e88a20bf998f3d2fae847
Avatar
I was too dumb before to realize that I could just put everyhing in a single var and don't read inkbox_device every time
Avatar
its still experience i think
Avatar
Avatar
tux-linux
2.0 will probably need a complete overhaul of the reader engine of the entire reader class and a lot more contributors for code review, etc.
I'm counting on you to stay around and learn Qt ;p
Avatar
Avatar
tux-linux
I'm counting on you to stay around and learn Qt ;p
i'm learning, sanki its on the way (edited)
12:05 AM
but learning qt / cpp is PAIN compared to rust
Avatar
for me it came very progressively first I had no idea whatever signal/slots were then I spent months trying to figure out how to properly use them then I started to learn what QSomeThing * someThing really does, -> vs ., etc. namespaces, QTimers, etc.
12:08 AM
A bad thing I kind of don't like about Qt is the fact that it reimplements almost all of the C++ standard library So when you get to work with real C++ it's like you don't understand anything No QStrings, no QTimers, no toStdString(), no QString::number()... (edited)
Avatar
Avatar
Szybet
but learning qt / cpp is PAIN compared to rust
Yet, I still don't understand people who choose to write in PyQt Like, literally, how to make your program slow
12:12 AM
Also, it would nice to convert settings to an sqlite database but that is also going to be 2.0+
Avatar
i was trying yestarday to use QDialog. it took me 4 hours to figure its out, lack of documentation and examples ;/
Avatar
i would create another class with an ui file
12:15 AM
much simpler
Avatar
Avatar
tux-linux
A bad thing I kind of don't like about Qt is the fact that it reimplements almost all of the C++ standard library So when you get to work with real C++ it's like you don't understand anything No QStrings, no QTimers, no toStdString(), no QString::number()... (edited)
Qt without gui is very similar to rust, very similar
Avatar
Avatar
tux-linux
i would create another class with an ui file
i did it
Avatar
maybe look in inkbox code?
12:16 AM
https://github.com/Kobo-InkBox/inkbox/blob/master/brightnessdialog.cpp That is probably a good example, not too hard to understand
Avatar
Avatar
tux-linux
Yet, I still don't understand people who choose to write in PyQt Like, literally, how to make your program slow
Python has it pluses, but yea performance
Avatar
Avatar
tux-linux
maybe look in inkbox code?
its hard to find what i look for
Avatar
what are you looking for? (edited)
Avatar
I know this, i needed the part when i get the value from the QDialog
Avatar
Avatar
tux-linux
what are you looking for? (edited)
i already got it
Avatar
Avatar
tux-linux
Yet, I still don't understand people who choose to write in PyQt Like, literally, how to make your program slow
PLS not sql, json is better
Avatar
then why do you use sql in sanki?
Avatar
i need to, anki decks use it
Avatar
maybe json i don't know but I like sql (edited)
Avatar
i would really want json for it
12:18 AM
but yea i dint't decide it for anki
Avatar
Avatar
Szybet
I know this, i needed the part when i get the value from the QDialog
I would use inline variables if you want to get a value from another class
Avatar
Avatar
tux-linux
maybe json i don't know but I like sql (edited)
its your decision, i hate it ;p
Avatar
Avatar
tux-linux
I would use inline variables if you want to get a value from another class
i dont understand a single word :D
12:19 AM
namespace a new thing for m
Avatar
basically, you include a common header, you call the variable from a namespace, e.g. global::something and you can get the variable value from any class
12:20 AM
like the global::deviceID variable
Avatar
what if i need a variable before launching a widget?
12:20 AM
and its not there
Avatar
what do you mean?
Avatar
how to explain this... i cant launch a widget where it reads a sql database if i need to choose before it the file
12:22 AM
thats what i used Qdialog in short
Avatar
connect(dialog, this, SIGNAL(destroyed(QObject*)), SLOT(openSQLDatabase())); (edited)
12:24 AM
Then openSQLDatabase() reads an inline variable (like global::sqlDBPath) when the QDialog is closed/destroyed and after it has set the global::sqlDBPath based on the user selection
12:25 AM
Also, did you dialog->setAttribute(Qt::WA_DeleteOnClose); on your dialog? Otherwise it may memory leak
Avatar
Avatar
tux-linux
Also, did you dialog->setAttribute(Qt::WA_DeleteOnClose); on your dialog? Otherwise it may memory leak
no
Avatar
Basically, it will delete the class from memory once the dialog is closed
12:26 AM
e.g., when you call this->close()
Avatar
Avatar
tux-linux
Then openSQLDatabase() reads an inline variable (like global::sqlDBPath) when the QDialog is closed/destroyed and after it has set the global::sqlDBPath based on the user selection
i did this in a similar way... hmm
Avatar
Avatar
tux-linux
Basically, it will delete the class from memory once the dialog is closed
i call ui->accept() i think?
Avatar
where?
Avatar
in the cpp file
Avatar
Also, advice: everything you create and use an object with QSomething * someThing and it uses ->, call something->deleteLater() when you're finished with it otherwise it will memory leak too
Avatar
Avatar
Szybet
in the cpp file
...which?
Avatar
Avatar
tux-linux
...which?
choosemode.cpp
12:29 AM
modechoose.cpp
12:29 AM
somethink like that
Avatar
Avatar
tux-linux
Also, advice: everything you create and use an object with QSomething * someThing and it uses ->, call something->deleteLater() when you're finished with it otherwise it will memory leak too
i think i do this every time
👍 1
Avatar
Avatar
Szybet
i call ui->accept() i think?
can't see it can you share a link?
12:31 AM
its actually done()
Avatar
oh ok
12:32 AM
you should call this->close() instead
Avatar
it returns the value to mainwindow
Avatar
Avatar
tux-linux
connect(dialog, this, SIGNAL(destroyed(QObject*)), SLOT(openSQLDatabase())); (edited)
And do that
Avatar
Avatar
tux-linux
you should call this->close() instead
i want to return the value, and i think close() is called with it
Avatar
oh yeah ok
12:32 AM
then add this->close separately
Avatar
Avatar
tux-linux
And do that
light anki version focused on e-readers. Contribute to Szybet/sanki development by creating an account on GitHub.
Avatar
I guess it is valid too
Avatar
Avatar
tux-linux
then add this->close separately
i had it added and then i deleted it, i will add it back
Avatar
Avatar
tux-linux
I guess it is valid too
?
Avatar
i mean, it's ok too i think
12:34 AM
also, in Qt/CPP the 'norm' is to use camelCase, not snake_case for variable/classes names but it's a personal preference
Avatar
Avatar
tux-linux
also, in Qt/CPP the 'norm' is to use camelCase, not snake_case for variable/classes names but it's a personal preference
i use it for UI things, i will need to standarise it to one
Avatar
initially I used snake case in InkBox, but since this summer it's only camel case
Avatar
has inkbox a logo?
Avatar
yes
Avatar
i dont think kobox is it?
Avatar
so what it is?
Avatar
Kobo-InkBox has 15 repositories available. Follow their code on GitHub.
Avatar
i haven't seen it yet
12:37 AM
oh
12:38 AM
okay
Avatar
Avatar
Szybet
i haven't seen it yet
it's the boot animation
Avatar
i though its just the text
Avatar
It uses Fraunces font available on Google Fonts
12:38 AM
Strangely the n character isn't the same when you type it in an editor and you print it with FBInk on the screen
Avatar
InkBox in Windows 95 style... ;p
🥶 1
Avatar
Yeah I know, it was just missing the stylesheet
Avatar
@NiLuJe is there something I'm missing here? Whenever I want to put a device to sleep (mk5, mk6, mk7, all of them), even if I echo 1 > /sys/power/state-extended and wait 60 seconds in-between before echo mem > /sys/power/state just to be sure, touching the screen still wakes up the device. Also, on the Libra, the gyro wakes it too if the physical position/orientation has changed. I have no clue. I feel like Kobo is not using the same kernel sources as the ones they provided us, because this makes no sense...
1:11 AM
Meanwhile, I'll give up for now unless a miracle happens. It will go in 1.9 release, but what do you want, it's like dark magic. Kobo/Netronix kernels have already given me enough brain damage... (edited)
1:13 AM
Only @Szybet got it to work on his Nia with this commit https://github.com/Kobo-InkBox/kernel/commit/f215114774b8e85c3feb1f36afc13392bb52e2d2 I tried doing the same with my Glo HD, but it's zForce touch, I didn't get any luck with that...
Avatar
The sources being outdated are definitely an issue in general, possibly not really here though, but it works on stock kernels ;o).
1:16 AM
So short of testing on a stock kernel, no clue. (edited)
👍 1
1:17 AM
Ought to be tested in a void, too (i.e., absolutely nothing running but a dumb script that tests this).
Avatar
Ok, thanks anyway... Though the Libra kernel that was updated this summer was "positioned for the future" as gtalusan said in the commit's comments
Avatar
That FW is out by now (and... A newer build since, too).
Avatar
Avatar
NiLuJe
Ought to be tested in a void, too (i.e., absolutely nothing running but a dumb script that tests this).
The worst thing is that I got it working in interactive mode, maybe just a coincidence... It never works via script though
Avatar
But the changes are mostly related to usb, IIRC.
👍 1
Avatar
Avatar
NiLuJe
The sources being outdated are definitely an issue in general, possibly not really here though, but it works on stock kernels ;o).
Quite strange that literally almost all of my devices (haven't tested the Touch yet) trigger the problem (edited)
Avatar
It's the same framework since basically forever.
Avatar
But different touch screens
Avatar
The sysfs file sets a kernel global that ntx patches all over the place.
👍 1
1:22 AM
I've only seen races on the other end on stock kernels (old neonode builds sometimes failing to wake on resume). (edited)
Avatar
Avatar
tux-linux
Quite strange that literally almost all of my devices (haven't tested the Touch yet) trigger the problem (edited)
That probably means you're doing it wrong, tbh.
1:23 AM
It's technically a "good" news.
🥴 1
1:23 AM
You just have to find what exactly that "it" is ;).
👍 1
Avatar
Avatar
NiLuJe
The sources being outdated are definitely an issue in general, possibly not really here though, but it works on stock kernels ;o).
Maybe @tux-linux e-mail kobo that they need to provide those sources because of Linux kernel license? :) (edited)
😂 1
Avatar
You... really think they will answer?
1:28 AM
They did up until recently on GH
Avatar
Hope dies the last
Avatar
Avatar
tux-linux
Only @Szybet got it to work on his Nia with this commit https://github.com/Kobo-InkBox/kernel/commit/f215114774b8e85c3feb1f36afc13392bb52e2d2 I tried doing the same with my Glo HD, but it's zForce touch, I didn't get any luck with that...
I have some ideas to check, wait for the weekend I will look to it
1:29 AM
The thing that helped me search for the solution were "Linux interfupts" they are mentioned as irq in the source
Avatar
I can't wait I just want to publish 1.9 and be done with it...
Avatar
I said what you can try out already
Avatar
The last thing I will test will be to revert to an old rootfs commit where Wi-Fi reconnection didn't exist and see if that is the problem
Avatar
Avatar
Szybet
I said what you can try out already
I did
Avatar
I will tomorrow say what you can edit in the source file exactly
Avatar
Avatar
tux-linux
I did
Everything?
Avatar
Well, I investigated the code, blanked out the suspend and resume functions of the touch screen driver, so like, what can be left to do?
1:31 AM
I literally wiped out the part where it (is supposed to) send the resume command And yet it still resumes
Avatar
Here are my ideas: 1 Disable only "wake up disable irq" lines 2 Disable only "wake up enable irq" Lines 3 with 1 but put wake enable irq at some place in file where it will be executed. Maybe the default is enable, and disable never happens 4 but with 2 etc 5 look for other files / drivers 6 what was the result with:
  • compile as module
  • wake up interface disable
  • binding the driver
  • roving the i2c device? + look at other irq something in the source code. Interrupt are important. I think kobo uses them for wakeups
(edited)
1:38 AM
Idk, maybe something more. Change the voltage of the regulator that powers it
Avatar
At this point, if it doesn't work on all devices, I can't believe it's due to the kernel In July it will be one year since I implemented the mem sleep framework; I can't believe I let that pass for a so long time, it must have broke because of some nonsensical bug in the rootfs
Avatar
Idk what you are talking about
Avatar
Since we implemented Wi-Fi reconnection
1:40 AM
I think that's where it broke
1:40 AM
For some unknown reason
Avatar
Can't sleep with wifi loaded
2:39 AM
FWIW
Avatar
Yeah, I know, we handle that
Avatar
sleep(2) between state-extended and state
2:43 AM
(because reasons)
2:43 AM
The 10s beforehand are useless, on the other hand
Avatar
Avatar
NiLuJe
sleep(2) between state-extended and state
I tried that too
Avatar
Avatar
NiLuJe
The 10s beforehand are useless, on the other hand
well, if they aren't there it says 'failure to suspend some devices' and aborts (edited)
Avatar
That's because you're doing a whole bunch of crap before, then ^^
2:44 AM
(e.g., fbink)
Avatar
Yeah, I display a "Sleeping" splash
Avatar
Yeah, makes sense, although it's a little weird to bunch it in there.
Avatar
Where would you put it? Qt isn't aware of when the device goes to sleep (edited)
Avatar
The idea is to: stop handling input in the GUI, stop stuff, display sleepy time, kill wifi. Then shcedule said script to run in ~15s.
2:46 AM
Making the script itself sleep is somewhat less elegant 😉
2:47 AM
and confusing because it's unrelated to the actual delays needed because of kernel fuckery
Avatar
But then, how in the world does it work when you launch the service from shell?
Avatar
you're not using the GUI ;p
2:49 AM
(draining the evdev queue before sleep might be necessary, too)
2:50 AM
(it's also good practice to avoid further fuckery with sleep covers)
Avatar
yeah, but I trigger sleep from the power button, I never do anything with the GUI besides, the GUI was running when I launched it from shell
Avatar
Avatar
NiLuJe
(it's also good practice to avoid further fuckery with sleep covers)
I have given up on sleep covers since a long time ...
Avatar
Power button is an evdev key event 😉 (also, run stuff on key release, not key press) (edited)
2:52 AM
(with a debounce protection)
Avatar
Maybe I'll have to use some crazy command like this one, launching it without this specific sh sequence didn't work at all: https://github.com/Kobo-InkBox/rootfs/blob/6d1f907279c1ba64977c17891f4d2b6c379b865a/etc/init.d/ibxd#L136-L138
Avatar
Avatar
NiLuJe
Power button is an evdev key event 😉 (also, run stuff on key release, not key press) (edited)
Sure, but when it ran from shell I used the power button too
Avatar
Detecting power button events is a dumb evtest watch, I should probably change that somehow: https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/evtest_watch
2:55 AM
(WHy?!)
2:56 AM
It's a standard EV_KEY, let Qt deal with it?
Avatar
because... this dates back to march 2021 when I was starting with shell scripts and all
2:56 AM
I doubt it is related to the problem though
Avatar
If there's one thing on Kobo that spits out sane event streams, it's event0 ;o)
Avatar
Avatar
NiLuJe
It's a standard EV_KEY, let Qt deal with it?
Yeah, but Qt is down when X11/KoBox is running
Avatar
Then write an actual power management daemon ;o)
Avatar
lots of fun ahead...
Avatar
Because this feels like a series of hacks piled up over each other. You're never going to be able to untangle all this without going back to the basics
Avatar
i know
3:00 AM
you're right, this will be on the todo list for 2.0
3:01 AM
write it in c++ or some language that makes sense for this
Avatar
LifeHack: just periodically go back to sleep until you eat an actual meaningful wakeup event (i.e., Power/SleepCover key release)
3:35 AM
Also, differentiate between touch events before suspend that prevent it because EBUSY, from touch events after suspend that wakes up because wakeup pins + state-extended 0 😉
👍 1
Avatar
The worst thing is that the power IC Ricoh61x sees it as a PWR_KEY wakeup event...
3:37 AM
I'm currently fiddling with the sysfs to see if I can get to disable the touchscreen/unbind it, I've succesfully done that, but now I can't enable it again
3:37 AM
/sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # echo disable > neocmd /sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # dmesg | tail [ 797.208841] PMU: mainFlowOfLowVoltage : Noxx : cc_delta_cap is -1, cc_delta_cap_now is -1, last_cc_delta_cap is 0 [ 797.208886] PMU: mainFlowOfLowVoltage : Noxx : temp_cc_delta_cap is 0, after temp_cc_delta_cap_mas is -105, cc_cap_mas -706 [ 797.209009] PMU: mainFlowOfLowVoltage : No9 :Cap is 7855 , low_rate is 101, dsoc is 7864, capnow is 7870, capzero is 65, delta cc is -1, delta cc ori is -1 [ 797.209048] PMU: mainFlowOfLowVoltage : No10 :temp_mas is -110, offset_mas is -5, value is -101, final value is -1 [ 797.222891] PMU : set_current_time2register : second is 1649194467, hour is 458109 [ 797.250542] PMU:STATUS= 7: IBAT= -23: VSYS= 3985500: VBAT= 3992300: DSOC= 7864: RSOC= 7900: cc_delta=-111: rrf= 1 [ 806.464209] [drivers/input/touchscreen/zforce_i2c.c-694] zforce_i2c_close() [ 806.475243] [zForce_ir_touch_recv_data-232] command Deactivate ... [ 809.267830] NeoDeactivate [ 809.273032] [zForce_ir_touch_recv_data-232] command Deactivate ... /sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # There is this, but it doesn't do anything, event1 still outputs coordinates
3:40 AM
Yeah sure, I believe you 100% /sys/devices/platform/imx-i2c.1/i2c-1 # ls 1-0050 modalias name power subsystem uevent /sys/devices/platform/imx-i2c.1/i2c-1 # echo 0x50 > delete_device [ 1134.042707] i2c i2c-1: delete_device: Can't find device in list sh: write error: No such file or directory /sys/devices/platform/imx-i2c.1/i2c-1 #
Avatar
Avatar
tux-linux
I'm currently fiddling with the sysfs to see if I can get to disable the touchscreen/unbind it, I've succesfully done that, but now I can't enable it again
At least putting it to sleep now and touching the screen doesn't trigger a wakeup event
3:42 AM
But I really need to find how to enable it back
3:44 AM
Maybe @andi , sorry for not yet having tested the Aura SE kernel, really, I've been very busy... But maybe you have an insight on this, I am quite desperate...
Avatar
It seems it happens more when X11 is enabled (the wakeup on touchscreen) EDIT: nevermind, it happens everytime (edited)
Avatar
Avatar
tux-linux
/sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # echo disable > neocmd /sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # dmesg | tail [ 797.208841] PMU: mainFlowOfLowVoltage : Noxx : cc_delta_cap is -1, cc_delta_cap_now is -1, last_cc_delta_cap is 0 [ 797.208886] PMU: mainFlowOfLowVoltage : Noxx : temp_cc_delta_cap is 0, after temp_cc_delta_cap_mas is -105, cc_cap_mas -706 [ 797.209009] PMU: mainFlowOfLowVoltage : No9 :Cap is 7855 , low_rate is 101, dsoc is 7864, capnow is 7870, capzero is 65, delta cc is -1, delta cc ori is -1 [ 797.209048] PMU: mainFlowOfLowVoltage : No10 :temp_mas is -110, offset_mas is -5, value is -101, final value is -1 [ 797.222891] PMU : set_current_time2register : second is 1649194467, hour is 458109 [ 797.250542] PMU:STATUS= 7: IBAT= -23: VSYS= 3985500: VBAT= 3992300: DSOC= 7864: RSOC= 7900: cc_delta=-111: rrf= 1 [ 806.464209] [drivers/input/touchscreen/zforce_i2c.c-694] zforce_i2c_close() [ 806.475243] [zForce_ir_touch_recv_data-232] command Deactivate ... [ 809.267830] NeoDeactivate [ 809.273032] [zForce_ir_touch_recv_data-232] command Deactivate ... /sys/devices/platform/imx-i2c.1/i2c-1/1-0050 # There is this, but it doesn't do anything, event1 still outputs coordinates
No wonder why it did nothing...
Avatar
Seems that just before suspending, the Glo HD resets state-extended to 0... Nonsense
Avatar
IT WORKS! https://github.com/Kobo-InkBox/kernel/commit/e260f2b7bd4c24c016c6c9ca42dc5f70c7a2dba5 That was really like a rabbit hole to go through; even to understand what those few lines are doing Something was writing 0 to state-extended, I don't know what thing, but now mode 0 is invoked by echo 2 > /sys/power/state-extended instead. echo 1 works as usual and doesn't trigger any issues, the screen doesn't react to touch when sleeping, that's wonderful. Thanks @NiLuJe and @Szybet for the suggestions!
This was a nightmare, took my entire evening and a part of the night, but I'm glad that it works!
6:59 AM
Next up: do that for all devices ... *fun*
Avatar
That... doesn't look right o_O
Avatar
Avatar
tux-linux
IT WORKS! https://github.com/Kobo-InkBox/kernel/commit/e260f2b7bd4c24c016c6c9ca42dc5f70c7a2dba5 That was really like a rabbit hole to go through; even to understand what those few lines are doing Something was writing 0 to state-extended, I don't know what thing, but now mode 0 is invoked by echo 2 > /sys/power/state-extended instead. echo 1 works as usual and doesn't trigger any issues, the screen doesn't react to touch when sleeping, that's wonderful. Thanks @NiLuJe and @Szybet for the suggestions!
Could you explain what happener?
Avatar
Avatar
NiLuJe
That... doesn't look right o_O
Well, according to a while loop, something wrote 0 to state-extended some milliseconds before it went to mem sleep (no idea at all what it is). It explains why the touchscreen reacted and woke up the device. So now if it writes 0, it triggers nothing, it needs to write 2 to reproduce what 0 did. So I can set it to 1 and don't worry about it anymore.
Avatar
Will it work for every device?
3:17 PM
+ if a device triggers wake up, it will propably also write 0 to extended
Avatar
Avatar
Szybet
Will it work for every device?
We will see
Avatar
Avatar
Szybet
+ if a device triggers wake up, it will propably also write 0 to extended
I don't know, I tested it quite heavily on my Glo HD, it works fine
Avatar
Avatar
tux-linux
We will see
I will not edit anything in the Nia source for now
Avatar
No way 2048 literally makes the device short circuit on the Glo HD This is hilarious
5:29 PM
It's only temporary, reboot works fine
Avatar
Short circuit?
5:39 PM
Whaaaat
Avatar
Avatar
tux-linux
IT WORKS! https://github.com/Kobo-InkBox/kernel/commit/e260f2b7bd4c24c016c6c9ca42dc5f70c7a2dba5 That was really like a rabbit hole to go through; even to understand what those few lines are doing Something was writing 0 to state-extended, I don't know what thing, but now mode 0 is invoked by echo 2 > /sys/power/state-extended instead. echo 1 works as usual and doesn't trigger any issues, the screen doesn't react to touch when sleeping, that's wonderful. Thanks @NiLuJe and @Szybet for the suggestions!
Could you explain the changes?
5:41 PM
And does it go to sleep when the screen is touched before echo mem state?
Avatar
Avatar
tux-linux
Well, according to a while loop, something wrote 0 to state-extended some milliseconds before it went to mem sleep (no idea at all what it is). It explains why the touchscreen reacted and woke up the device. So now if it writes 0, it triggers nothing, it needs to write 2 to reproduce what 0 did. So I can set it to 1 and don't worry about it anymore.
Explanation
6:33 PM
No it doesn't
Avatar
Avatar
Szybet
Short circuit?
It shuts off
6:36 PM
Like if it powered down
Avatar
CPU overheat?
Avatar
Avatar
tux-linux
Explanation
But the code
Avatar
Avatar
tux-linux
No it doesn't
So its the same lukę on the nią?
Avatar
Avatar
Szybet
CPU overheat?
To much power draw?
Avatar
Avatar
Szybet
But the code
The code does exactly what I said
Avatar
Avatar
Szybet
CPU overheat?
No, probably incorrect writes in the EPDC that make it freak out It's very strange
Avatar
Avatar
tux-linux
Well, according to a while loop, something wrote 0 to state-extended some milliseconds before it went to mem sleep (no idea at all what it is). It explains why the touchscreen reacted and woke up the device. So now if it writes 0, it triggers nothing, it needs to write 2 to reproduce what 0 did. So I can set it to 1 and don't worry about it anymore.
Nothing in the kernel ever writes to gSleep_Mode_Suspend (except the sysfs attribute write handler)
7:44 PM
And being able to set it to 0 is extremely useful (when resuming, for one), but also when suspend fails
7:44 PM
(i.e., we're back to: not a kernel issue)
Avatar
Avatar
NiLuJe
And being able to set it to 0 is extremely useful (when resuming, for one), but also when suspend fails
In this case, I only have to set it to 2 instead
Avatar
Avatar
NiLuJe
Nothing in the kernel ever writes to gSleep_Mode_Suspend (except the sysfs attribute write handler)
I don't doubt that, but I was unable to find what it was in my rootfs. Maybe udev for some reason, since it doesn't happen in the initrd. (edited)
Avatar
Avatar
NiLuJe
And being able to set it to 0 is extremely useful (when resuming, for one), but also when suspend fails
I don't set it to 0 or 2 after resuming, but the touchscreen works as well as another sleep/wake cycle. Normal?
Navlida joined the server. 4/7/2022 4:32 AM
Avatar
Avatar
Navlida
Click to see original message
Avatar
Avatar
Navlida
Click to see original message
Avatar
Avatar
Navlida
Click to see original message
Avatar
Avatar
tux-linux
No way 2048 literally makes the device short circuit on the Glo HD This is hilarious
lmaooo
Magic_RB joined the server. 4/9/2022 9:24 PM
Avatar
Avatar
Magic_RB
Click to see original message
Sticker
Avatar
Hi! Im looking into buying a kobo clara hd since i can get NixOS running on it eventually, though id have to really strip it to fit intothe 512mb of ram
9:27 PM
So im just gathering information
Avatar
What info are you specifically gathering?
Avatar
Avatar
Magic_RB
Hi! Im looking into buying a kobo clara hd since i can get NixOS running on it eventually, though id have to really strip it to fit intothe 512mb of ram
UM... You know its ARM, its not a powerfull CPU and nix os is not meant for that?
DrFunkenbreakz joined the server. 4/10/2022 5:52 PM
Avatar
Avatar
DrFunkenbreakz
Click to see original message
DrFunkenbreakz 4/10/2022 5:53 PM
Avatar
Avatar
DrFunkenbreakz
Click to see original message
5:53 PM
um welcome
Avatar
Avatar
DrFunkenbreakz
Click to see original message
Avatar
DrFunkenbreakz 4/10/2022 6:59 PM
Evening all from the UK. Just here to read and learn on developments. I was given a Kobo Glo for my daughter. So just checking what it can run software and os wise. Good work on inkbox btw
Avatar
You installed it? Nice!
Avatar
it can run everything, it only depends on your willingness to do it
7:00 PM
well, e-ink display and the cpu is a limitation
7:01 PM
but still
Avatar
Avatar
tux-linux
You installed it? Nice!
DrFunkenbreakz 4/10/2022 7:01 PM
Yeah it's really good. Only issue i found was if i go into calculator or one of the other "apps", i couldn't figure out how to exit the app with no back, exit or physical hard keys on the glo.
Avatar
yeah, sorry
7:01 PM
Are you on the latest version?
Avatar
Avatar
DrFunkenbreakz
Yeah it's really good. Only issue i found was if i go into calculator or one of the other "apps", i couldn't figure out how to exit the app with no back, exit or physical hard keys on the glo.
this will be fixed, someday
Avatar
Avatar
tux-linux
yeah, sorry
DrFunkenbreakz 4/10/2022 7:02 PM
Nah, it's alright. Its main functionality is brilliant.
👍 1
Avatar
@tux-linux also the calculator, does it rotate in the scientist mode?
Avatar
No, it displays ok but it shrinks strangely
7:02 PM
iirc
Avatar
yea ok
7:03 PM
i thought it was only for the nia
Avatar
Avatar
tux-linux
Are you on the latest version?
DrFunkenbreakz 4/10/2022 7:04 PM
Yeah i think so. 1.8?
Avatar
yes
7:04 PM
1.9 will be out soon
7:04 PM
it will have a LOT of improvements
Avatar
Avatar
tux-linux
1.9 will be out soon
DrFunkenbreakz 4/10/2022 7:05 PM
Excellent. I will keep an eye on your website.
Avatar
actually - would you be willing to test a release candidate?
Avatar
more testers, would be great (edited)
Avatar
Avatar
tux-linux
actually - would you be willing to test a release candidate?
DrFunkenbreakz 4/10/2022 7:06 PM
Sure. Im away on holiday for the next 10 days with no glo with me, but send the update link and i will test it out when back home with the glo
👍 1
Avatar
well, in 10 days 1.9 will probably be released
Avatar
Avatar
tux-linux
well, in 10 days 1.9 will probably be released
DrFunkenbreakz 4/10/2022 7:10 PM
I can wait for the release. My daughter has the glo at home. Im over in Wales for a holiday with the wife
👍 1
Avatar
nice to see inkbox actually used for its main purpose hehe
7:10 PM
and not just for testing
Avatar
Avatar
tux-linux
nice to see inkbox actually used for its main purpose hehe
i have readed an entire book on it ;p
7:11 PM
481 pages
Avatar
sure
7:11 PM
But I mean, like, people actually putting on their ereader for reading, assuming that it will be adequate and up to their expectations
7:12 PM
Like they would do with koreader/plato/etc
Avatar
yes, im actually suprised that its usable for them without the latest fixes
Avatar
The Glo was one of the first supported models, since July 2021 in 1.5
7:13 PM
So it was heavily tested on that device
Avatar
yes, but pdf to epub, global reading settings, etc are bugs for all devices?
Avatar
yes
7:14 PM
but they only happen when you trigger them @DrFunkenbreakz probably just hasn't encountered any of these situations yet ;p
Avatar
inkbox is buggy right now, so be patient
Avatar
well a lot of it will be fixed (and is already fixed) in 1.9
Avatar
Avatar
tux-linux
but they only happen when you trigger them @DrFunkenbreakz probably just hasn't encountered any of these situations yet ;p
DrFunkenbreakz 4/10/2022 7:15 PM
My daughter hasn't said anything to me about any major issues. Admittedly ive used it less than her, but not noticed any deal breakers
Avatar
cool that young people read books, its rare these days
Avatar
Maybe your daughter can update it herself, though I can't guarantee everything will work
Avatar
how do apply this patch?
Avatar
I have a Glo myself, I'll test it to see if I at least packaged this correctly
Avatar
he has a normal kernel
7:16 PM
true
7:16 PM
wait
7:17 PM
well you can update the normal way
7:17 PM
but yeah, I forgot to put an std kernel in the package
Avatar
just like in nickel
7:18 PM
cool
👍 1
Avatar
DrFunkenbreakz 4/10/2022 7:18 PM
I did compile okreader (koreader on debian) and stuck it on a sdcard. It worked ok, but sadly development ended back in 2019. The later versions of koreader need more adjustments due to age of debian being used and some missing dependencies
Avatar
it works fine alongside nickel
Avatar
Avatar
DrFunkenbreakz
I did compile okreader (koreader on debian) and stuck it on a sdcard. It worked ok, but sadly development ended back in 2019. The later versions of koreader need more adjustments due to age of debian being used and some missing dependencies
sadly, inkbox is the only distribution for e-readers that is active
Avatar
DrFunkenbreakz 4/10/2022 7:19 PM
Thanks. If you run late on the release, i will test it out. No rush on these releases. I appreciate that you have put many, many hours into this.
👍 1
Avatar
Did you try the X11 integration thing?
7:20 PM
That's a fun one
7:20 PM
If you root the device you can run KTerm, an eInk terminal emulator
Avatar
Avatar
tux-linux
Maybe your daughter can update it herself, though I can't guarantee everything will work
DrFunkenbreakz 4/10/2022 7:21 PM
The update procedure us really easy..but havin said that she still leaves it to me to change a light bulb 😂
Avatar
do as you want, no problem
Avatar
Avatar
tux-linux
That's a fun one
DrFunkenbreakz 4/10/2022 7:23 PM
I haven't tried that yet. Im currently learning to build and maintain android/ aosp...thus the device codenames in my username for other groups
👍 1
Avatar
Maybe you could want to read the wiki, there is some info about how InkBox internally works here: https://inkbox.ddns.net/wiki/index.php?title=Category:InkBox (edited)
👍 1
Avatar
https://inkbox.ddns.net/wiki/index.php?title=Boot_progress_bar i need to use a ruler to measure the lenght of the progress bar? :p
Avatar
what else would you want that I put
7:44 PM
You can look at set_progress calls in the rcS
Avatar
number on next to the progress bar? %
7:44 PM
i could add it actually
Avatar
It's not nice
7:45 PM
I prefer minimalism
Avatar
Avatar
Szybet
i could add it actually
And it's way more complicated than you think
Avatar
function with fbink command with one custom variable?...
Avatar
yes
Avatar
so its easy ;p
7:46 PM
it was not easy for me
Avatar
its sh so there is some trying arround it
Avatar
You can add it if you want but it will have to be a boot flags option
7:48 PM
And use the THIN font of FBInk
Avatar
Avatar
Szybet
so its easy ;p
There was also the whole progress queue I had to implement from scratch, otherwise it would print 90% progress directly: https://github.com/Kobo-InkBox/kernel/blob/f3d5e858b3e60793bde1fce9bc82b7aab0a9e514/initrd/common/inkbox-splash#L133-L170
Avatar
um i think nia prints 90% very quickly
7:53 PM
very very quickly
Avatar
Have a video?
Avatar
i will do it when checking the update
👍 1
7:54 PM
meanwhile: origami case for the nia
7:54 PM
Avatar
cool
Avatar
You.. do know fbink has a native progress bar widget, right? ;o)
Avatar
fbink -Z?
Avatar
Uses one of 'em, but that's a fairly specific edge-case used to mimic on-animator (edited)
Avatar
Apart from that one, I don't know There is another?
Avatar
That's a wrapper around the "activity" bar (e.g., a spinner), but there's a standard progress bar, too.
Avatar
The one I implemented looks like this: https://photos.app.goo.gl/RUYcbxHYopAaKZGg7
Avatar
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - FBInk/CLI.md at master · NiLuJe/FBInk
Avatar
Avatar
NiLuJe
That's a wrapper around the "activity" bar (e.g., a spinner), but there's a standard progress bar, too.
how? where?
7:57 PM
ok
7:58 PM
when did you implement this feature?
Avatar
Forever?
Avatar
no way I missed this
Avatar
That was a requirement for MRPI, so I'm pretty sure it was in 1.0, possibly even earlier ;p
Avatar
ooh that's what you're talking about
8:00 PM
I think I saw it once but didn't like it
Avatar
It is very shamelessly designed after the Nickel "import" progress bar ;p
Avatar
It didn't quite follow the design language
8:01 PM
It's the one used when byte-compiling python?
Avatar
Yeah, good but more-or-less a good fit for my purpose
8:01 PM
no offense ;p
Avatar
None taken, designing a custom one is fairly easy with fbink_cls nowadays 😉 (edited)
Avatar
Yeah, I had issues with some devices, I needed to invert with -H or it would print strangely
8:04 PM
Also when X11 starts on newer devices than imx507/8 the progress bar is "eaten" by whatever X11 is doing and it just doesn't display anything when at 90%+
Avatar
I'd batch the border + fill rects and do a manual refresh for the full region later, that would at least limit concurrency inside the bar drawing itself
8:06 PM
(won't work on sunxi, though, but that's another kettle of fish)
Avatar
But if I batch the calls to fill the rectangle, it would just print it full all at once... no?
Avatar
Actually, if the bar never go backwards and the design is simple enough, you'll only need to batch the first tick, since succeeding ticks will only touch the fill bar
Avatar
isn't that what it already does?
8:09 PM
the BOUNDARY_DRAWING_DONE variable should account for that bit (edited)
Avatar
batched (draw border + draw fill + [draw %]) -> refresh (edited)
Avatar
oh, so draw the border every time
Avatar
Or not, depending on the design ^^
Avatar
I wouldn't mind that, but I'm wondering if it would not actually make things worse by calling even more the EPDC
Avatar
That's the whole point of batching
8:11 PM
only doing a single refresh
Avatar
hmm ok
Avatar
c.f., -b, --norefresh
Avatar
aah
Avatar
You can even micro-optimize it by only refreshing the previous fill pos -> new fill pos rectangle
8:12 PM
But that's mostly what will happen in practice automatically unless you use GC16 😉
Avatar
so... remove gc16?
Avatar
Which you really shouldn't for a progress bar ;p
Avatar
I put it because it was in the rectangle drawing example
8:13 PM
But yeah, ok
Avatar
While DU/A2 would be optimal, remember you can't use it if there's gray levels involved (and that involves what's on screen behind the bar the first time you refresh it) (edited)
Avatar
There's nothing or it is something I don't know lol
8:14 PM
There won't be any gray levels there, so good
8:15 PM
A2 won't work on older devices, or am I mistaken? (edited)
Avatar
It's there on Mk. 5
8:15 PM
Possibly earlier, can't recall
Avatar
I have a Touch B, should be Mk 4
Avatar
But if there's concurrent refreshes, A2 isn't necessarily a good idea
👍 1
Avatar
Kobo nia and libra ( maybe the h20 ) is 20-30$ off (edited)
NonaSuomy joined the server. 4/17/2022 3:58 PM
Avatar
Avatar
NonaSuomy
Click to see original message
Avatar
Avatar
NonaSuomy
Click to see original message
Sticker
4:36 PM
Does the latest update work on touch n905c ? (edited)
4:36 PM
Also is there a way to enable wifi on it?
4:38 PM
I’m willing to test anything you need on this model if need be.
Avatar
n605c?
4:42 PM
which one is it
4:42 PM
Kobo Clara HD, okay
4:43 PM
N905C is a Kobo Touch C (edited)
Avatar
oh okay
4:44 PM
the Kobo Touch N905C is fully supported
Avatar
Seems there is wifi for A/B but not C
Avatar
from where did you get the model number?
Avatar
From the bottom of the device
Avatar
oh, so its a diffrent model
4:45 PM
not supported yet, we can port it
Avatar
Sorry I kept saying 6 instead of 9
Avatar
so its Kobo Touch N905C?
Avatar
Yes
Avatar
and what does not work?
Avatar
Sorry for the confusion
4:47 PM
Wifi how do you activate it
Avatar
there is a button on the top of the screeen
Avatar
Only a battery icon up there
Avatar
does it have wifi at all?
4:50 PM
the user guide doesn't talk about it
4:50 PM
Avatar
Yes I use the beta browser on stock firmware all the time to download epubs
Avatar
okay, thats weird
4:53 PM
lets go to #quill
MrMr joined the server. 4/17/2022 7:08 PM
Avatar
Avatar
MrMr
Click to see original message
7:27 PM
welcome
Avatar
Avatar
MrMr
Click to see original message
Avatar
Avatar
MrMr
Click to see original message
7:33 PM
Hi, I bought a gloHD a week ago and I just found your project, I can't wait to try it out.
Avatar
the glo hd will be supported in 1.9 supposed to release this week
7:38 PM
is this a complete different linux system from the stock one?
Avatar
yes
😮 1
Avatar
Make a backup of the sd card!
7:52 PM
its really important
Avatar
absolutely
Avatar
Avatar
MrMr
Click to see original message
Avatar
@everyone InkBox 1.9 is out! This is the official announcement, now that all packages and images have been uploaded and are publicly available. There goes the changelog: - 'Online library' feature for Wi-Fi-able devices - Picture display support - Support for landscape PDFs - Wi-Fi devices: New "Online library" feature (fetches books from Project Gutenberg) - Kobo Aura SE (N236), Kobo Glo HD (N437) and Kobo Nia (N306) support - UI redesign - Boot progress bar - Timezone support (Settings -> Page 2 -> Timezone) - System report generation (Settings -> Page 2 -> Generate system report) - Improved USB Mass Storage mode - New font (Univers/u001) - Special characters in virtual keyboard - Speed optimizations in Reader framework (among others, page turning speed) - Wi-Fi framework improvements - New apps: Reversi and 2048 - LOTS of various bugfixes You can update with the packages there: http://23.163.0.39/bundles/inkbox/native/update/1.9/ Or, if you have a newly-supported device, flash an image from there: http://23.163.0.39/bundles/inkbox/native/ Enjoy!
🥳 9
Avatar
Where is the warning about waveshare, backup and no warranty
3:10 PM
Its important i think
Avatar
On the website I'll put it on mobileread too
Avatar
add it to the how to flash file maybe too
5:20 PM
also, balena etcher is available for linux too
5:21 PM
and for linux, gnome-disks works great
Avatar
Avatar
Szybet
add it to the how to flash file maybe too
Already there
Avatar
Avatar
Szybet
also, balena etcher is available for linux too
I know
5:41 PM
It's in the docs Didn't you read them?
Avatar
Avatar
tux-linux
It's in the docs Didn't you read them?
People read directions?
Avatar
Well, idk
Avatar
Avatar
Szybet
Where is the warning about waveshare, backup and no warranty
3:06 AM
I still need to add backup and waveform info
3:06 AM
But the important statement is there
Avatar
Maybe brick isn't a "legal" term
Avatar
What to replace it with?
Avatar
Render useless
11:21 PM
Render the device useless
Avatar
Avatar
dill
Maybe brick isn't a "legal" term
xda uses bricked device for ages
11:22 PM
so no, leave it as it is
11:23 PM
Just a thought
Avatar
Avatar
dill
Render useless
i dont understand this term at all, so no, bricked is fine
wooshy2shoes joined the server. 4/22/2022 4:54 AM
Avatar
Avatar
wooshy2shoes
Click to see original message
Avatar
Avatar
wooshy2shoes
Click to see original message
Avatar
Avatar
wooshy2shoes
Click to see original message
wooshy2shoes 4/22/2022 4:55 AM
Avatar
Avatar
wooshy2shoes
Click to see original message
Avatar
Avatar
wooshy2shoes
Click to see original message
Avatar
I think I have found the chess extension for KoBox: http://www.bergo.eng.br/eboard/
Avatar
don't make it using xorg :( (edited)
Avatar
why
9:12 PM
(apart from the Nia's bug with X)
Avatar
Avatar
tux-linux
(apart from the Nia's bug with X)
thats why 😆
9:13 PM
Chess game with some simple AI. Contribute to Kadiryanik/AI-Chess development by creating an account on GitHub.
Avatar
I found cutechess but it seems really complicated to port
Avatar
strange that I didn't see it before
9:14 PM
the main problem I see though is that the viewport will be too large for the screen
Avatar
Avatar
tux-linux
I found cutechess but it seems really complicated to port
why?
Avatar
chess engines i'll have a look at it
Avatar
if you add it kobox only, i will replace it one day anyway
Avatar
I chose xboard for X I'll probably make it for qt too
9:16 PM
but neither one will replace the other
9:16 PM
xboard is using better chess engines than ai-chess
9:16 PM
so if people want that they can go with xboard
Avatar
okay, name it chess and better chess :D
Avatar
In the kobo nia manual, it writes that for battery replacement we should contact kobo
10:55 PM
Interesting, what will they say? Okay now shut up?
10:56 PM
Also the kobo doesn't like medical equipment, probably because of wifi?
Avatar
Avatar
Szybet
Interesting, what will they say? Okay now shut up?
Probably
Avatar
XBoard ported!
🥳 2
10:23 AM
Hmm
10:24 AM
Aside porting it, will it run? Or is it too heavy
Artus25200 joined the server. 4/25/2022 10:43 AM
Avatar
Avatar
Artus25200
Click to see original message
Avatar
Avatar
Artus25200
Click to see original message
Sticker
Avatar
Avatar
Artus25200
Click to see original message
Avatar
Avatar
Artus25200
Click to see original message
alex(O_o) joined the server. 4/27/2022 2:24 AM
Avatar
Avatar
alex(O_o)
Click to see original message
Avatar
Avatar
Artus25200
Click to see original message
Avatar
What are you up to @alex(O_o)
Avatar
Avatar
alex(O_o)
Click to see original message
Avatar
Avatar
Szybet
Aside porting it, will it run? Or is it too heavy
It's using QML
3:02 AM
So, no
3:02 AM
Unless you run it in KoBox
Avatar
Avatar
NonaSuomy
What are you up to @alex(O_o)
I was searching for an alternative OS for my kobo clara hd and I ended up here
🥳 2
Avatar
Do you have any questions?
Avatar
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
Avatar
"3. do you like nightmares?"😅
3:10 AM
What processor is the clara?
Avatar
well it's quite true sony isn't an exception, is it?
Avatar
Avatar
NonaSuomy
What processor is the clara?
imx6sll
Avatar
Avatar
tux-linux
well it's quite true sony isn't an exception, is it?
I was wondering why I was having nightmares...
😂 1
Avatar
These times I have nightmares about actual problems in my code that could appear some day for no reason My nightmares actually make sense when I think about them in the morning (edited)
😂 1
Avatar
Avatar
tux-linux
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
I don't know if we mean the same thing by knowing linux well ^^'
Avatar
what distro are you on?
Avatar
lot of time, yep i think so
👍 1
3:13 AM
currently i'm using arch
Avatar
also, do you have access to some sort of serial terminal? like raspberry pi, arduino, etc.?
Avatar
Avatar
alex(O_o)
currently i'm using arch
nice, on Gentoo here do you have good knowledge of the command line?
Avatar
i have a raspi (as a homeserver)
Avatar
ok, well it will be needed
3:15 AM
you don't need soldering skills, we'll just connect your Kobo via serial with wires and toothpicks
🥰 1
Avatar
i would say i'm comfortable with the command line, and i know how to read manpages/doc ^^' so i can learn more
👍 1
3:17 AM
nice, because i've never try soldering ^^' (even if with the right tools i could learn)
Avatar
me neither...
Avatar
Avatar
tux-linux
you don't need soldering skills, we'll just connect your Kobo via serial with wires and toothpicks
Avatar
It works!
Avatar
What exactly? (edited)
Avatar
Oh, the serial thing
Avatar
It shouldn't :p
Avatar
Avatar
Szybet
It shouldn't :p
Why? The above video shows a kids tablet connected with toothpicks
Avatar
Avatar
Szybet
It shouldn't :p
I don't think you understand conductivity...
3:31 PM
3:31 PM
3:32 PM
3:39 PM
you could also make a pogo pin clip
Avatar
Avatar
NonaSuomy
I don't think you understand conductivity...
I have my experience. IF it isin't soldered, then it isin't reliable
Avatar
Avatar
NonaSuomy
Click to see attachment 🖼️
You are really doing something like this?
3:41 PM
Risk of a short circuit is sky rocketing😶
Avatar
No I use this method but I may switch to that one! 😆
3:50 PM
Avatar
Well there isin't much to short (edited)
Avatar
I wonder if they make a conductive putty
Avatar
But still, executing commands in U-Boot must be a nightmare
Avatar
Avatar
NonaSuomy
I wonder if they make a conductive putty
Putty?
Avatar
Avatar
Szybet
But still, executing commands in U-Boot must be a nightmare
that's what your other hand is for...
Avatar
Avatar
NonaSuomy
that's what your other hand is for...
Typing with one hand😒
3:52 PM
Still solder is better for me
3:54 PM
I could just stick three blobs on the pads then stick the probs in them.
Avatar
Avatar
Szybet
Still solder is better for me
you do you!
Avatar
Avatar
NonaSuomy
I could just stick three blobs on the pads then stick the probs in them.
This sound like weaker solder :D
Avatar
Close!
4:01 PM
Circuit Putty can be used to create tools and activities that allow kids of all ages to experiment with circuits and electronics using play dough. Using our provided unique recipe, you can create a batch of non-toxic, conductive play dough! It's simple to make and works great with all of the included accessories in thi
4:01 PM
Unfortunately that would dry out eventually. Wonder if that magnetic putty would work good says it doesn't dry out. (edited)
4:04 PM
Commonly known as quicksilver, mercury is the only metallic element that is a liquid at room temperature. It’s a heavy, silver-colored metal that has been historically used for temperature gauges and electrical applications because of its conductive properties. Just like its namesake, Quicksilver Thinking Putty® is a s
4:05 PM
why would you talk about mercury...
4:05 PM
You want to associate your product with a toxic substance?
Avatar
With these non through-hole probe points they are really meant for pogo pins. If you solder stuff to them you are at risk of ripping the pad off the board. Just the same as you risk shorting out something in a non permanent method of holding the wire there. For both methods just put the device some place safe that won't get knocked around and it will be fine. Even remote into the device that's plugged into it so you don't have to be near it 😄 (edited)
4:14 PM
You could also put kapton tape around the probs so they don't touch anything else.
Avatar
My boards probe points also lay flush with this cast surface. With like 0.1mm gap tolerance. If I put anything on those pads and don’t clean them off properly I’m at risk of the IR touch sensors not aligning properly or the board shorting out. (edited)
4:24 PM
I would have to have some super thin magnetic wire to get that working with solder proper. (edited)
4:37 PM
Beautiful! 😅
4:37 PM
Wish I thought of that sooner… (edited)
Avatar
Avatar
Szybet
Risk of a short circuit is sky rocketing😶
Never bricked any Kobo by not soldering
Avatar
Avatar
Szybet
But still, executing commands in U-Boot must be a nightmare
No
Avatar
Avatar
tux-linux
Never bricked any Kobo by not soldering
and i hope it will be like that
👍 1
Avatar
People are mistaking inkbox with inkbook 😒
3:36 PM
Not cool
Avatar
Free indirect advertising.
3:37 PM
People will come get confused and maybe look further into it! Haha
Avatar
Avatar
NonaSuomy
Free indirect advertising.
In my opiniom its anty advertising
3:39 PM
"What ereader has these great apps? Inkbook? Okay byeee i cant heaaaar youuuu"
Avatar
I don't see anything great about it... looks pretty basic.
Avatar
Avatar
NonaSuomy
I don't see anything great about it... looks pretty basic.
im talking about inkbox
4:54 PM
ugh
Avatar
Avatar
Szybet
People are mistaking inkbox with inkbook 😒
Where have you seen that?
Avatar
I wish the world just worked on open source to make really solid base layers to build from. Be nice if something like InkBox was the base layer for every eInk reader.
Avatar
at my school
Avatar
Tell your school they are dumb.
Avatar
Avatar
NonaSuomy
I wish the world just worked on open source to make really solid base layers to build from. Be nice if something like InkBox was the base layer for every eInk reader.
Thanks
🥰 1
Avatar
Avatar
NonaSuomy
I wish the world just worked on open source to make really solid base layers to build from. Be nice if something like InkBox was the base layer for every eInk reader.
it works like that, every ereader is on linux and android
Avatar
Avatar
NonaSuomy
Tell your school they are dumb.
of course
😂 1
Avatar
Avatar
Szybet
it works like that, every ereader is on linux and android
It really doesn't. Everyone just tries to make a walled garden to dig out a niche. Instead of collaborating. Then you have multiple organizations spinning their tires creating more eWaste. Reinventing the wheel multiple times. Instead of just focusing on making one really great solid base. (edited)
Avatar
It's sad how much knowledge gets lost along the way as well in these processes.
Avatar
look at CPU's
5:19 PM
there are like 5 companies that make them
5:19 PM
we don't have any in depth knowledge how to do this
5:19 PM
¯\_(ツ)_/¯
Avatar
this is a 40-50 years old technology (edited)
5:26 PM
still impresive
Avatar
Every journey starts with a single step.
5:30 PM
I loathe when I start to get into the thick of things and start understanding so much about something and then get pulled away from that by something else and then poof I have no idea what I was doing before and how I got where I went.
5:32 PM
Be nice if we can rewind life and then spend more time in those moments when ever you need to. git clone life... ok I'm back where I need to be...
👍 1
7:44 PM
thats an interesting video
Avatar
interesting kindle uses awesomewm
7:59 PM
woah ./kexec -l uImage -t uImage then ./kexec -e you can load the kernel from the already running kernel on the kindle. (edited)
Avatar
This guy is answering all the questions.
Avatar
Avatar
NonaSuomy
woah ./kexec -l uImage -t uImage then ./kexec -e you can load the kernel from the already running kernel on the kindle. (edited)
Yes, I'm using that on eMMC devices
Avatar
Have you watched that video?
Avatar
I might have, a long time ago
Avatar
Oh, hey, i'm on TV! 😄
🤩 1
Avatar
You didn't know that? :D
Avatar
I knew of fread, but I'd never actually whatched the actual talk, yeah
Avatar
Avatar
NiLuJe
I knew of fread, but I'd never actually whatched the actual talk, yeah
Did he pronounce your handle properly?
yo'av joined the server. 4/30/2022 4:15 PM
Avatar
Avatar
yo'av
Click to see original message
👋 1
Avatar
Avatar
yo'av
Click to see original message
Avatar
Avatar
yo'av
Click to see original message
7:38 PM
I wish there was a setting to perm make the robot wave mine... That carrot is messed up...
ChuckGPT joined the server. 4/30/2022 8:45 PM
Avatar
Avatar
ChuckGPT
Click to see original message
Avatar
Avatar
ChuckGPT
Click to see original message
8:50 PM
Hi @ChuckGPT what are you up to?
👋 1
8:52 PM
@yo'av what’s going on?
Avatar
Avatar
ChuckGPT
Click to see original message
Avatar
Hey! I just got a new Kobo Clara but I think I'm actually going to install PostmarketOS on it 🙏 did anyone here try that?
Avatar
I'm not sure you have come to the right place...
-Pawel joined the server. 5/1/2022 5:50 PM
Avatar
Avatar
-Pawel
Click to see original message
Avatar
Avatar
-Pawel
Click to see original message
Avatar
Avatar
-Pawel
Click to see original message
6:35 PM
Witaj :D
asd2000 joined the server. 5/2/2022 12:22 PM
Avatar
Avatar
asd2000
Click to see original message
Avatar
Avatar
asd2000
Click to see original message
Sticker
Free Radical joined the server. 5/3/2022 3:41 AM
Avatar
Avatar
Free Radical
Click to see original message
Avatar
Free Radical 5/3/2022 3:41 AM
Hi!
3:42 AM
Im a little out of my element here but I found myself 3 old kobo touches, i am hoping to try out this OS
Avatar
touch a/b/c?
Avatar
Free Radical 5/3/2022 3:42 AM
a...
3:42 AM
thats a problem yeah?
Avatar
welp, only touch not supported by inkbox
3:43 AM
also it has an emmc
Avatar
Free Radical 5/3/2022 3:43 AM
ooof
Avatar
Well, I guess we can always try to port it
Avatar
Free Radical 5/3/2022 3:43 AM
oh no wait!
3:43 AM
this one is a B!
Avatar
ok, that one's supported
3:43 AM
do you have touch a's?
Avatar
Free Radical 5/3/2022 3:43 AM
i have a couple of a's, a b
3:44 AM
hang on... (checking all of them)
3:44 AM
4 a's and a b
Avatar
Avatar
tux-linux
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
Do you fill those criteria?
3:47 AM
(if, that is, you would be wiling to help port inkbox to the touch A)
Avatar
Avatar
Free Radical
Im a little out of my element here but I found myself 3 old kobo touches, i am hoping to try out this OS
It will be that image (for the Touch B) http://23.163.0.39/bundles/inkbox/native/n905b/inkbox-1.7-n905b.xz (edited)
Avatar
Free Radical 5/3/2022 3:47 AM
i do not have TOO mcuh experience with linux (but i love to learn) I have a TON of time I love a good nightmare
👍 1
Avatar
Ok, welcome
3:48 AM
what distro are you on?
Avatar
Free Radical 5/3/2022 3:48 AM
i have an ubuntu 20.04 at my disposal... I am using my windows 10 atm
Avatar
a real ubuntu 20.04?
Avatar
Free Radical 5/3/2022 3:50 AM
yup
3:50 AM
separate machine
pibaoi joined the server. 5/6/2022 10:55 PM
Avatar
Avatar
pibaoi
Click to see original message
Avatar
Avatar
pibaoi
Click to see original message
Avatar
Avatar
pibaoi
Click to see original message
Avatar
Hi! Interested by the project, I follow the invitation from a git issue. I will try to dig more into it. If needed I can debug/test on aurora H2O (N250) ... with some guidance at 1st. Hoping can help (and learn)
👍 1
Avatar
Please join the already existing porting thread
Avatar
Welcome, hmm there isint a thread in #porting about this device
11:18 PM
or im blind?
Avatar
Never mind
11:18 PM
I'll create it
Avatar
Avatar
pibaoi
Hi! Interested by the project, I follow the invitation from a git issue. I will try to dig more into it. If needed I can debug/test on aurora H2O (N250) ... with some guidance at 1st. Hoping can help (and learn)
Do you have Linux experience?
Avatar
I have a better question
11:20 PM
Do you have Linux?
Avatar
That too
Avatar
Avatar
tux-linux
Do you have Linux experience?
Linux AdminSys counts ?
Avatar
I guess? (Don't know much about those certifications) You have a good understanding of the cli? (edited)
Avatar
Avatar
pibaoi
Linux AdminSys counts ?
Is this your work?
Avatar
Avatar
Szybet
Is this your work?
Yep! Live in a shell world, deploy a bunch on Linux servers and clusters. (but a lot learn still)
Avatar
Ok very good
Avatar
it should be fine
Avatar
Avatar
tux-linux
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
You already fulfill criteria 1 What about the other ones?
Avatar
are you maybe a cpp / c wizard with linux kernel experience too? we are looking for one (edited)
Avatar
He's working on servers So probably not
Avatar
Avatar
tux-linux
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
you should pin the message
👍 1
tux-linux pinned a message to this channel. 5/6/2022 11:27 PM
Avatar
Avatar
Szybet
are you maybe a cpp / c wizard with linux kernel experience too? we are looking for one (edited)
Ohhh no. Can read it, may understand it, not sure to speak it
Avatar
Not to worry about
Avatar
i was just joking
Avatar
Also, I'm curious: where did you first hear about InkBox OS? (edited)
Avatar
Yes, but before the git issue
Avatar
Avatar
tux-linux
Also, I'm curious: where did you first hear about InkBox OS? (edited)
its pretty easy to encounter it on github / mobileread if someone starts hacking their kobo
Avatar
Avatar
tux-linux
Also, I'm curious: where did you first hear about InkBox OS? (edited)
I look time to time if there is a way to "open" my reader. There was a way to install Debian on aurora HD but not clear info about aurora HD. Then I search for a newer kernel from it and DaDaDaa.. found the git repo. (U know all now 😋 )
Avatar
Nice thanks
11:34 PM
Do you know how to setup a serial connection?
Avatar
^how to solder maybe?
Avatar
And build a rocket ?
Avatar
Not necessarily
11:35 PM
No😂
Avatar
Avatar
pibaoi
And build a rocket ?
to fast, this will be step 5
😂 1
Avatar
inkbox-powered rocket
Avatar
It will need a HUGE security audit before it's ready...
😂 1
Avatar
About 2. : no much time but I always spect to find some 3. : if I didn't like them... I should change my line of work About serial communications I think I can manage with some reads/tries (and guidance). For the soldering part, if I do not need to show anybody my pancakes or put any current on it...
Avatar
you just need toothpicks and wires, no soldering required (although it can be better)
😁 1
11:42 PM
do you have a raspberry pi?
Avatar
^or a 2$ USB to serial adapter
Avatar
or that
Avatar
i could have bought THAT?
Avatar
Yep! I have them (and some duinos which do also the job)
Avatar
oh arduinos work? mine didn't
Avatar
Avatar
dill
oh arduinos work? mine didn't
why wouldn't they
Avatar
ok, very good
Avatar
mine didn't
11:45 PM
idk??
11:45 PM
this was months and months ago
Avatar
do you have permissions to ttyACM1?
Avatar
yes i had those
Avatar
yes, he's seeing garbage characters
Avatar
+ what pins are you using on the arduino
Avatar
i had everything set up
Avatar
+ what is your arduino code
Avatar
5v to gnd, rx to tx and vice versa
11:46 PM
code?
Avatar
5v to gnd ?????
Avatar
SORRY gnd to gnd i meant
Avatar
Maybe the issue is that your Arduino is 5V and the Kobo is 3.3V
Avatar
Avatar
dill
5v to gnd, rx to tx and vice versa
rx tx 0 1 right?
Avatar
Avatar
tux-linux
Maybe the issue is that your Arduino is 5V and the Kobo is 3.3V
he would already kill the kobo...
Avatar
not necessarily
Avatar
Avatar
dill
code?
yes?
Avatar
no, no i definitely set it up right
Avatar
i didn't kill the kindle touch with 3.3v
Avatar
Avatar
tux-linux
not necessarily
most propably
Avatar
now it works fine with level shifter at 1.8v, and serial port is very good
11:48 PM
(see porting thread)
Avatar
Avatar
tux-linux
i didn't kill the kindle touch with 3.3v
weird but good
11:49 PM
wait, mine usb to serial is also 5v
11:49 PM
👀
Avatar
Have to go! I will take a look to a serial com to my device (step 1) and see if I found some info using a duino (step 2).
👍 1
11:52 PM
Thanks for the harm welcome.
Avatar
Ok, please post boot log on the porting thread when you have it
Avatar
Avatar
pibaoi
Thanks for the harm welcome.
*warm welcome I hope...?
Avatar
that's the right layout
11:53 PM
just for reference
Avatar
Avatar
tux-linux
*warm welcome I hope...?
Typo + translation 🤣
👍 1
Avatar
Avatar
dill
Click to see attachment 🖼️
okay, where is the code
11:54 PM
sorry i have no idea
Avatar
its an arduino right?
Avatar
what that means? it's not your fault, i'm just dumb
11:55 PM
yeah
Avatar
arduino is a microcontroler
11:55 PM
it needs to be programmed
Avatar
As I remember: basically you use the usb2serial on the board (and "bypass" the chip). You can do it removing the chip or coding "something something" which I do not recall.
11:59 PM
Arduino uses FTDI chips to create serial port connection between computer and the chip, so you can program the Atmel chip inside the Arduino board, without the need of any ISP programmers. If we look at the…
Avatar
its better to code than to modify the hardware
👍 1
Avatar
Avatar
Szybet
it needs to be programmed
i am very, VERY stupid
Peter42 joined the server. 5/8/2022 4:16 AM
Avatar
Avatar
Peter42
Click to see original message
Avatar
Avatar
Peter42
Click to see original message
4:17 AM
How’s it going @Peter42
Avatar
hi:)
👋 1
Avatar
What device do you have @Peter42 ?
koboauraone joined the server. 5/8/2022 4:23 AM
Avatar
Avatar
koboauraone
Click to see original message
Sticker
4:26 AM
Hi @koboauraone what device do you have?
4:27 AM
Haha maybe a Kobo aura one?
Avatar
Avatar
koboauraone
Click to see original message
4:41 AM
You may want to consider changing your git repo to just Inkbox instead of kobo-inkbox to prevent confusion if you keep porting endless devices 🙂
Avatar
i can't it was already taken
Avatar
The last time it was used was 2013 for basically nothing. Message GitHub to recover it for you!
4:45 AM
Pretty sure this project is way more important than what it’s currently doing!
4:51 AM
“Name Squatting Policy GitHub prohibits account name squatting, and account names may not be reserved or inactively held for future use. Accounts violating this name squatting policy may be removed or renamed without notice. Attempts to sell, buy, or solicit other forms of payment in exchange for account names are prohibited and may result in permanent account suspension.”
Avatar
inkbox didn't exist in 2013
Avatar
Doesn’t matter the account being stale is all that matters
4:53 AM
Just contact and ask support won’t hurt anything (edited)
4:53 AM
If the say no NBD
4:54 AM
“GitHub prohibits account name squatting, and account names may not be reserved or inactively held for future use.”
4:55 AM
They are currently holding an inactive account.
4:56 AM
GitHub Support is here to help. Learn about GitHub products, browse our helpful resources, and contact support with your questions.
Avatar
I'll see because this would also involve changing all links pointing to the organization and repositories
Avatar
Do it sooner than later before you become too big!
luːk joined the server. 5/8/2022 8:49 AM
Avatar
Avatar
luːk
Click to see original message
Avatar
Avatar
luːk
Click to see original message
Avatar
Avatar
luːk
Click to see original message
Sticker
SeaSon joined the server. 5/9/2022 6:33 AM
Avatar
Avatar
SeaSon
Click to see original message
Avatar
Avatar
SeaSon
Click to see original message
Avatar
Avatar
SeaSon
Click to see original message
Sticker
Raycast [THCoH] joined the server. 5/9/2022 3:10 PM
Avatar
Avatar
Raycast [THCoH]
Click to see original message
Avatar
Raycast [THCoH] 5/9/2022 3:10 PM
Hey
3:11 PM
Just installed inkbox on my Kobo Nia n306
🎉 2
3:11 PM
Now I'm stuck in the maps application lol
3:14 PM
Btw, is it a problem that I used a 64gb SD card? (Will it make stuff slower?)
Avatar
Avatar
Raycast [THCoH]
Now I'm stuck in the maps application lol
Raycast [THCoH] 5/9/2022 3:23 PM
Holding the power button for 15s worked I guess
Avatar
Raycast [THCoH] 5/9/2022 3:45 PM
Battery usage is much higher on inkbox
3:50 PM
Would be nice if dual booting was possible
Avatar
Avatar
Raycast [THCoH]
Now I'm stuck in the maps application lol
there is no way to escape
Avatar
Avatar
Raycast [THCoH]
Click to see original message
Avatar
Avatar
Raycast [THCoH]
Just installed inkbox on my Kobo Nia n306
wow! the fifth person using this device
Avatar
Avatar
Raycast [THCoH]
Battery usage is much higher on inkbox
yes it is... there can be something done about it in the future
Avatar
Raycast [THCoH] 5/9/2022 4:01 PM
Installed inkbox on a separate sdcard
4:01 PM
So I'll use the official os for now
Avatar
Avatar
Raycast [THCoH]
Btw, is it a problem that I used a 64gb SD card? (Will it make stuff slower?)
it depends on the sd card
Avatar
Raycast [THCoH] 5/9/2022 4:01 PM
I think it was a SanDisk class10 A1 sdcard
4:01 PM
Am not sure
4:02 PM
with inkbox you can use bigger sd cards
4:02 PM
can you test some things on your nia and inkbox?
Avatar
Raycast [THCoH] 5/9/2022 4:02 PM
Sure, but not now
4:02 PM
Gonna go to the dentist now
4:03 PM
good luck 😬
Avatar
Raycast [THCoH] 5/9/2022 4:03 PM
👍
4:03 PM
Who is going to port doom tho?
Avatar
it would run horrible
4:04 PM
e-ink is not meant for that
4:04 PM
but it can be done
4:04 PM
¯\_(ツ)_/¯
Avatar
Raycast [THCoH] 5/9/2022 4:04 PM
Pokemon from the GBA might run tho
Avatar
oh, pokemons could
4:04 PM
thats an idea
Avatar
Raycast [THCoH] 5/9/2022 4:05 PM
Welp, I'll be back later~
Avatar
There's an old GB emulator port in the Kindle dev forums, IIRC.
Avatar
Raycast [THCoH] 5/9/2022 6:43 PM
Switched to a faster 128gb sdcard for inkbox
Avatar
Avatar
Raycast [THCoH]
Click to see original message
Avatar
Raycast [THCoH] 5/9/2022 6:43 PM
Hewwo
Avatar
Avatar
Raycast [THCoH]
Switched to a faster 128gb sdcard for inkbox
Raycast [THCoH] 5/9/2022 6:45 PM
This is a lot faster
6:46 PM
It now reacts much faster than it did using the 64gb sdcard
Avatar
Were they the same rated cards besides size?
Avatar
Raycast [THCoH] 5/9/2022 6:48 PM
No
6:49 PM
128gb was rated as U3
6:50 PM
64gb was rated as U1 A1 class 10
Avatar
Apparently U1 = 10MB/s U3 = 30MB/s
7:10 PM
The internal device controller though would also have to support that.
Avatar
Raycast [THCoH] 5/9/2022 7:42 PM
Getting around 64mb/s with U3 (using a cheap USB 3.0 card reader)
7:42 PM
U1 seems to be limited to around 34mb/s
Avatar
It's a confusing mess of indications on SD cards.
Avatar
Its not bad
9:02 PM
have you seen usb?
9:02 PM
especielly 3.0+
Avatar
"UHS is a definition of the bus the card uses, not the speed of the card directly. However, the speed is going to be at least partly dependent on the bus-type used."
9:04 PM
"So, that’s all a bit confusing in itself, but even the specifications for the individual UHS types are a bit hard to grasp sometimes. The UHS-I definition is a bit... nebulous. Originally it was a 100mhz bus at 50MB/s peak, but now it has provisions for a faster bus allowing up to 104 MB/s. But really, the best way to think of it is that UHS-I just means whatever max speed they can pull most recently from the standard microSD pin layout."
9:05 PM
"UHS-II, defined in 2011, has a different physical pin layout compared to UHS-I. The extra row of pins increases the available bandwidth to 150-300ish MB/s. To be able to use a UHS-II card to its fullest, you’ll need a reader or device that has the extra pins and corresponding bus. Right now no phones have that, and some users have actually reported slower speeds with UHS-II cards in UHS-I devices compared to UHS-I cards."
9:05 PM
"UHS-III is pin-compatible with UHS-II, but with double the bus speeds compared to UHS-II, so a theoretical max somewhere in the range of 300-600MB/s."
9:06 PM
I've never bought any SD cards yet with a double row of pins
9:12 PM
Interesting words there "Minimum" Sequential Write Speed (edited)
9:14 PM
So the 10/30MB/s above is the minimum they will go haha.
9:16 PM
Never seen informational material boasting about the minimum speed kind of weird.
9:17 PM
Avatar
Avatar
Szybet
have you seen usb?
Yes USB is equally confusing as they added so many different functional things to it as well like Display Port / Sound / High Powered charging.
11:07 PM
ASMR
Avatar
Raycast [THCoH] 5/9/2022 11:08 PM
Lol
Avatar
Hearing people lips smack quietly while they talk makes my skin crawl like finger nails on a chalkboard.
11:09 PM
t+pazolite is my favorite artist
Avatar
Sorry let me rephase direct less random hyperboil.
Avatar
Avatar
NonaSuomy
Hearing people lips smack quietly while they talk makes my skin crawl like finger nails on a chalkboard.
Raycast [THCoH] 5/9/2022 11:10 PM
I have the solution for you
Avatar
this is the weirdest music i have hears in some time
Avatar
Raycast [THCoH] 5/9/2022 11:11 PM
Hardcore starts around 1:06
Avatar
Avatar
Szybet
this is the weirdest music i have hears in some time
Raycast [THCoH] 5/9/2022 11:14 PM
Can get weirder tho
Avatar
its too much for me
Avatar
Raycast [THCoH] 5/9/2022 11:17 PM
Lol
Avatar
I used to sleep to much faster stuff.
Avatar
Raycast [THCoH] 5/9/2022 11:18 PM
Not as fast as one of his other songs tho
11:19 PM
This by far is faster than every song I know
Avatar
At one point it just sounds like old chiptunes when the speed mashes all the sound together.
5:33 AM
...what can you do... install InkBox.
Avatar
I wonder if ever/when they will start talking about it on their crappy website
Avatar
I have a great idea
8:18 AM
i think
8:18 AM
propably
8:18 AM
discord roles with names indicating what device you use
Avatar
What if you use them all?
8:19 AM
yea
Avatar
Just change your nick to {Nia Porter} on this server if you want.
Avatar
i want this that other people will use them and i will hunt them down ans ask things for the nia 😆
Avatar
Well they will all know who to go to to ask with your clan title on like @Raycast [THCoH]
Avatar
Raycast [THCoH] 5/10/2022 8:23 AM
UwU
Avatar
but when using roles it is nicer
8:23 AM
and there are colors
Avatar
Avatar
NonaSuomy
Well they will all know who to go to to ask with your clan title on like @Raycast [THCoH]
Raycast [THCoH] 5/10/2022 8:23 AM
The Holy Church of Horniness
😆 1
Avatar
and a nick: tux linux [glo, libra, clara, kindle touch] is long
Avatar
Avatar
Raycast [THCoH]
The Holy Church of Horniness
I only expected as much with the furries in the background.
😆 1
Avatar
Raycast [THCoH] 5/10/2022 8:24 AM
UwU
Avatar
Avatar
Szybet
and a nick: tux linux [glo, libra, clara, kindle touch] is long
You know what they say... longer nick...
Avatar
Raycast [THCoH] 5/10/2022 8:25 AM
Longer dick
Avatar
do we really need to make rules to not swear on this server?
8:26 AM
mark it as a spoiler pls
Avatar
Raycast [THCoH] 5/10/2022 8:26 AM
SPOILER
Image attachment
Avatar
thanks
Avatar
Raycast [THCoH] 5/10/2022 8:26 AM
SPOILER
Image attachment
Avatar
Avatar
Raycast [THCoH]
Click to see attachment 🖼️
I can't see from your profile pic but I really hope you are drinking something with a straw like that photo.
8:27 AM
It would only make sense.
Avatar
Avatar
Raycast [THCoH]
Click to see attachment 🖼️
fail.
Avatar
Raycast [THCoH] 5/10/2022 8:28 AM
I didn't add my face to it tho
Avatar
Avatar
Raycast [THCoH]
I didn't add my face to it tho
I'll fix it for you tho...
SPOILER
Image attachment
Avatar
i think its time to stop?
Avatar
It wasn't cringy enough. It needed to be fixed. Szybet you attract the weirdest people here with your Nia port. (edited)
Avatar
Do not insult him ;/
Avatar
I'm pretty sure they will love it. (edited)
Avatar
Avatar
NonaSuomy
I'll fix it for you tho...
Raycast [THCoH] 5/10/2022 9:01 AM
Thx
Avatar
Avatar
Raycast [THCoH]
Thx
I'm waiting for the change of icons.
9:03 AM
Aww you need to move it to the left some more
Avatar
Raycast [THCoH] 5/10/2022 9:04 AM
Done~
Avatar
add a spoiler to it
9:05 AM
-_-
Avatar
Raycast [THCoH] 5/10/2022 9:06 AM
-_-
Avatar
(͠≖ ͜ʖ͠≖)👌 (edited)
Avatar
This stuff really needs to stay here, I will not tolerate it anywhere else Thank you
Avatar
create a offtopic channel
Avatar
Avatar
Szybet
discord roles with names indicating what device you use
@tux-linux
Avatar
Avatar
Szybet
and a nick: tux linux [glo, libra, clara, kindle touch] is long
tux-linux [kindle touch, kobo touch b/c, mini, glo, glo hd, libra h2o, aura 2]
Avatar
Sooo you will add the roles?
Avatar
Here are some people now, would anyone want to contribute to inkbox in a way that no skills are required? (edited)
Deleted User joined the server. 5/18/2022 9:31 AM
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
Deleted User
Click to see original message
Sticker
Avatar
Avatar
Deleted User
Click to see original message
Avatar
This month brings news that many of you have been waiting years for – we’re introducing the PineNote, a high-end e-ink device based on the powerful Quartz64 single board computer. But the good news…
Avatar
Dont send this to me
7:27 AM
Because I'm sad that I will never have one
7:27 AM
😞
Avatar
I want to get a remarkable And that costs a LOT Maybe some day
Avatar
There is so much good perfekt open source hardware these days
7:58 AM
And I can't afford it
Zenlou joined the server. 5/19/2022 2:58 PM
Avatar
Don't worry, I'm too stubborn SmugPepe
Avatar
Welcome
3:00 PM
what?
3:00 PM
🥴
Avatar
Oh, I saw Nima is here too. We talked half an hour ago. Don't mind me
Avatar
Oh you mean Nicolas
Avatar
who are you👀
Avatar
Random guy who bought a kobo
3:01 PM
Literally no one
Avatar
no one with a kobo...
3:02 PM
which kobo?
Avatar
Avatar
Zenlou
Oh, I saw Nima is here too. We talked half an hour ago. Don't mind me
in person or on the internet
Avatar
Clara HD and Internet
Avatar
oh okay
3:02 PM
i dont think the clara port is ready
Avatar
Ye I read that. I'm not in a rush
Avatar
but if it will be done it will be the best port
Avatar
Or too demanding, y'know
Avatar
you can help with it
Avatar
If you tell me how and give me time till evening/weekend
Avatar
Do you can Linux / programming?
3:10 PM
You can test the new kernel on the clara porting thread
3:10 PM
Or something like that
3:10 PM
There are many ways to contribute
Avatar
I do can a bit of Linux and programming, but nothing serious. I can attempt reading through the channels
Avatar
You can always learn more
Avatar
Btw I'm just looking for a browser on the damn thing. Firefox allegedly needs too much ram. Just so ya know why I'm here in the first place
Avatar
We have problems with getting a browser to inkbox
3:12 PM
There is netsurf but nothing more
3:13 PM
Look at #quill, there were some tryies
Avatar
I'll do that later. Thanks
kneidont joined the server. 5/20/2022 7:19 PM
Avatar
Avatar
kneidont
Click to see original message
Avatar
Avatar
kneidont
Click to see original message
Sticker
Avatar
Welcome
Avatar
@kneidontwhat are you working on?
7:29 PM
what is this
7:31 PM
im not saying this happened to kneidont, but ive seen this happen when people got banned from discord
Avatar
kneidont was killed. he survived?
Avatar
Oops we hardly knew them RIP.
Avatar
I did not ban him
7:35 PM
Idk what happened
Avatar
I think they were banned from the overall platform (edited)
Avatar
no, from discord
7:36 PM
yeah
7:36 PM
the platform
Avatar
platform? you mean discord?
☑️ 2
7:36 PM
;_;
Avatar
You don't consider this a platform that you can build stuff on?
Avatar
its just discord
Deleted User joined the server. 5/22/2022 2:10 PM
Avatar
welcome
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
Deleted User
Click to see original message
Sticker
Aramir joined the server. 5/26/2022 4:29 PM
Avatar
Avatar
Aramir
Click to see original message
Avatar
Avatar
Aramir
Click to see original message
Sticker
Avatar
I do see some familiar faces around here, hello there.
Avatar
Avatar
Aramir
Click to see original message
vemp joined the server. 5/27/2022 8:33 PM
Avatar
Avatar
vemp
Click to see original message
Avatar
welcome
8:47 PM
was looking to see if I could get inkbox on my libra n873 but it looks a little involved atm
Avatar
its hard to port things
8:48 PM
but nothing is impossible
Avatar
It is already ported Only difficult to install
10:39 PM
And risky too
Avatar
Raycast [THCoH] 5/27/2022 10:39 PM
Why is it risky?
Avatar
you can contribute and help to not make it risky
10:39 PM
propably soldered bga chip
10:39 PM
isint there a download mode?
Avatar
Avatar
Szybet
propably soldered bga chip
yes
Avatar
Avatar
Szybet
isint there a download mode?
yes and no
11:16 PM
there's no (known) way to trigger it unless you blank the MMC/U-Boot well, yes, there are mw commands in U-Boot to trigger it, but it isn't useful at all in this case (edited)
11:17 PM
and it has been tested on only one board, not mine
Avatar
Avatar
tux-linux
there's no (known) way to trigger it unless you blank the MMC/U-Boot well, yes, there are mw commands in U-Boot to trigger it, but it isn't useful at all in this case (edited)
you mean?...
11:17 PM
blank?
11:18 PM
andi1 did cat /dev/zero > /dev/mmcblk0 and download mode was triggered on reboot
11:18 PM
I don't know if it triggers it if it can't find U-Boot or if it is something else
Avatar
what if on the beggining there was 111 not 000?
11:19 PM
or a corupted u-boot?
Avatar
we don't know
11:19 PM
maybe @andi has more insight
Avatar
and the chip IC is?
11:20 PM
serial code
Avatar
can't tell you right now it's an imx6sll
Avatar
the solid state memory chip
11:21 PM
not cpu
11:21 PM
iirc it's some samsung thingy
Avatar
if there is a download mode then you can read it from the datasheet
11:22 PM
samsung should have it
Avatar
download mode isn't implemented in the cpu?
11:23 PM
you don't need an emmc to have a download mode
11:23 PM
in our case, the "download mode" will only be able to load a working U-Boot to RAM from USB
11:24 PM
With U-Boot we can then do everything, so this is great
Avatar
Avatar
tux-linux
download mode isn't implemented in the cpu?
it could. i dont see a problem that the chip itself couldnt have one
11:24 PM
but if so - then the cpu datasheet
Avatar
at least sunxi download mode (FEL mode) is implemented directly in SoC/CPU
Avatar
interestingly datasheets available on the internet are nothing worth
11:25 PM
niluje has better ones
Avatar
sunxi has an awesome wiki page about this (and an awesome wiki too) https://linux-sunxi.org/FEL/USBBoot
Avatar
very cool
Avatar
I use it in my Lichee Pi Zero for a serial board all is loaded from USB: U-Boot, kernel, initrd, minicom, picocom, microcom, g_ether, etc. so there is no need for any SD card (edited)
Avatar
Avatar
tux-linux
I use it in my Lichee Pi Zero for a serial board all is loaded from USB: U-Boot, kernel, initrd, minicom, picocom, microcom, g_ether, etc. so there is no need for any SD card (edited)
this board has so much potential and you use it to read serial
Avatar
I actually bought it by mistake
Avatar
how is user apps implementation going?
Avatar
I was looking for free hardware to port InkBox OS, and I misread 512 Mbit as 512 MB
Avatar
Avatar
Szybet
how is user apps implementation going?
it is not going... will try tomorrow
Avatar
Avatar
tux-linux
I was looking for free hardware to port InkBox OS, and I misread 512 Mbit as 512 MB
64MB it would run and nothing more ;p
Avatar
it would not
11:33 PM
well, it would be wayyyyyyyyyy too slow
Avatar
Avatar
tux-linux
it is not going... will try tomorrow
sure, im using them for a week without an issue without the backend tho
Avatar
good to know
11:36 PM
with what do you edit source files?
Avatar
which source files?
Avatar
inkbox powerd
Avatar
they all lack a newline
Avatar
w h a t
Avatar
you are using LF?
11:41 PM
11:41 PM
the red circles are newline errors
Avatar
not that important, but still strange
Avatar
CRLF is correct?
11:41 PM
crlf is for windows (edited)
Avatar
i have no idea
KoboGloHDUser joined the server. 5/29/2022 2:14 AM
Avatar
Avatar
KoboGloHDUser
Click to see original message
Avatar
Avatar
KoboGloHDUser
Click to see original message
Avatar
I wonder what kind of device they're using
Avatar
Avatar
KoboGloHDUser
Click to see original message
Avatar
Avatar
tux-linux
Click to see original message
KoboGloHDUser 5/29/2022 2:19 PM
Hello, thanks for the welcome. I usually avoid Discord, but I wanted to thank you for your project! I love that Kobo is going open source thanks to you! Once I pass my final exams, I want to install InkBox on my Kobo Glo HD and my brother's Kobo Glo! But I have a question. Are manga (comics) supported natively or do I need to install an extension like UltimateMangaReader?
Avatar
If your mangas are in pdf, then yes
Avatar
you can install UltimateMangaReader if you want too
Avatar
Raycast [THCoH] 5/29/2022 2:21 PM
Use kindlecomicconverter to make epubs if your mangas are PNG files
Avatar
Avatar
tux-linux
If your mangas are in pdf, then yes
KoboGloHDUser 5/29/2022 2:22 PM
The manga would be in cbz format. But it would be no problem for me to convert the manga to a PDF. ^^
Avatar
Avatar
Szybet
you can install UltimateMangaReader if you want too
KoboGloHDUser 5/29/2022 2:22 PM
Thank you, I will do it :D
Avatar
Raycast [THCoH] 5/29/2022 2:23 PM
Cbz is just a zip file if I remember correctly
Avatar
Avatar
Raycast [THCoH]
Cbz is just a zip file if I remember correctly
KoboGloHDUser 5/29/2022 2:23 PM
Yes
Avatar
Avatar
KoboGloHDUser
Thank you, I will do it :D
inkbox has user apps coming soon, so porting it and launching will be a no problem
Avatar
KoboGloHDUser 5/29/2022 2:25 PM
Looking forward to installing InkBox soon ^^ Would a faster SD card offer any advantages over the original SD card?
Avatar
Avatar
Szybet
inkbox has user apps coming soon, so porting it and launching will be a no problem
KoboGloHDUser 5/29/2022 2:25 PM
Nice :D
Avatar
Avatar
KoboGloHDUser
Looking forward to installing InkBox soon ^^ Would a faster SD card offer any advantages over the original SD card?
if you have a faster sd card, yes sure. but buing one specially for inkbox is not worth it
2:26 PM
remember to do a backup of you built in sd card before doing anything
Avatar
KoboGloHDUser 5/29/2022 2:29 PM
Great, then I will definitely use a faster SD. Because I need more memory for my manga and the SD card is slow to load my mangas on the original system
Avatar
Avatar
Raycast [THCoH]
Use kindlecomicconverter to make epubs if your mangas are PNG files
KoboGloHDUser 5/29/2022 3:04 PM
Many Thanks! I just tried it out and I'm thrilled! I can finally read my manga from right to left! ^^ And the picture quality is much better :)
Avatar
Raycast [THCoH] 5/29/2022 8:26 PM
👍
Avatar
Nice thing, you can now browse more easily GH commits
NeonLightning joined the server. 6/5/2022 7:45 PM
Avatar
Avatar
NeonLightning
Click to see original message
🫀 2
ssabdb joined the server. 6/5/2022 8:00 PM
Avatar
Avatar
ssabdb
Click to see original message
Avatar
Avatar
ssabdb
Click to see original message
Weeda joined the server. 6/7/2022 2:15 AM
Avatar
Avatar
Weeda
Click to see original message
Avatar
Ohnos wild weedas pull them quick!
Avatar
Avatar
Weeda
Click to see original message
Sticker
Avatar
Avatar
Weeda
Click to see original message
Avatar
Hello all
👋 4
0x6f69 joined the server. 6/7/2022 4:55 PM
Avatar
Avatar
0x6f69
Click to see original message
Sticker
Avatar
Avatar
0x6f69
Click to see original message
straumli joined the server. 6/8/2022 12:29 PM
Avatar
Avatar
straumli
Click to see original message
Avatar
Avatar
straumli
Click to see original message
Avatar
Are kobox and inkbox 2 different projects?
6:31 PM
Sorry for possibly obvious question
Avatar
they have been merged
👍 1
Avatar
What name will it operate under?
Avatar
it's still kobox
Avatar
Kobox is a submodule of inkbox
7:55 PM
Thats how i would name that
Avatar
Yeah inbox includes kobox
11:40 PM
Basically
Avatar
Avatar
straumli
Click to see original message
commutativity joined the server. 6/13/2022 12:13 AM
Avatar
Avatar
commutativity
Click to see original message
Avatar
commutativity 6/13/2022 12:15 AM
hey, this project seems interesting but unfortunately i only have a libra h2o
Avatar
installing inkbox to it is doable but risky and difficult
Avatar
Avatar
tux-linux
installing inkbox to it is doable but risky and difficult
commutativity 6/13/2022 12:20 AM
im up for it
12:20 AM
what do i need
Avatar
do you know what a serial connection is?
Avatar
commutativity 6/13/2022 12:21 AM
yes
Avatar
do you have an rpi? arduino?
Avatar
commutativity 6/13/2022 12:21 AM
got an arduino
Avatar
do you know how to set up a serial connection from your arduino?
Avatar
commutativity 6/13/2022 12:21 AM
i do not
Avatar
you will need to open your Kobo
12:22 AM
there are three ports you need to connect: Kobo Tx -> Arduino Rx Kobo Rx -> Arduino Tx Kobo GND -> Arduino GND
Avatar
commutativity 6/13/2022 12:23 AM
seems simple enough
12:23 AM
do i just use a credit card?
Avatar
Might need a precision knife first After that you can use a credit card
12:23 AM
Do not apply to much pressure, it can damage the screen
12:24 AM
Less if it's on the edges like in that case, but not if you are putting pressure on the back or on the main screen
Avatar
commutativity 6/13/2022 12:26 AM
got it
12:26 AM
as in i understand what youre saying
👍 1
Avatar
Look up at an image of opened libra if near the edge a flex cable is hoig, if yes you need to be carefull
Avatar
commutativity 6/13/2022 12:26 AM
i havent opened it yet lol
Avatar
commutativity 6/13/2022 1:09 AM
alright back off, connected @tux-linux
Avatar
what's the serial output?
Avatar
commutativity 6/13/2022 1:10 AM
i have no idea how to use minicom @tux-linux
Avatar
look it up, there must be a way to interface with your arduino
1:12 AM
i don't have one
Avatar
commutativity 6/13/2022 2:20 AM
im supposed to get out of autoboot right @tux-linux
Avatar
Yes Please stop pinging me
Avatar
commutativity 6/13/2022 2:21 AM
sorry
👍 1
Avatar
Look at the Libra H2O porting thread for an idea of what we did
2:21 AM
Go to the beginning
2:22 AM
Also, disable automatic updates in Nickel
2:23 AM
But first you need to backup your emmc
fuller joined the server. 6/13/2022 6:08 AM
Avatar
Avatar
fuller
Click to see original message
Sticker
Avatar
Avatar
fuller
Click to see original message
Avatar
Avatar
fuller
Click to see original message
Avatar
Avatar
fuller
Click to see original message
Avatar
Raycast [THCoH] 6/13/2022 9:19 PM
Potato
Avatar
UG90YXRvCg==
4:16 AM
I did a thing
Avatar
nice
4:16 AM
update to 1.9 now
Avatar
No. Just the 1.5 on from the site
Avatar
Yeah, sure, but now you can update to 1.9
Avatar
Avatar
Weeda
I did a thing
You did a nice thing there
Avatar
Avatar
tux-linux
Yeah, sure, but now you can update to 1.9
For 1.6.... I'm not seeing the .inkbox folder not sure what im missing
Avatar
What file manager are You using
Avatar
Nautilus
7:24 AM
Just click a options to show hidden files
Avatar
Yup, that would make complete sense. Didn't even think to turn it on
3:06 PM
I made a slightly more detailed noob friendly instructions for 1.5->1.6 upgrade. Feel free to use, modify or discard
3:09 PM
we should put it on the wiki / download page
Avatar
This was for the n705. Not sure if there is varience between models
Avatar
I got 1.9 on. Looks really good. Seems to lock up after one or two actions/commands..... might be the processing power of the device?
Avatar
which actions / commands?
5:17 PM
also, its a libra... do you have xorg enabled?
Avatar
Just selecting a book or going to a menu
Avatar
Avatar
Szybet
also, its a libra... do you have xorg enabled?
?
Avatar
It's a mini
5:18 PM
mini
5:18 PM
well, its a mini
Avatar
propably very slow
5:18 PM
you need to ask @tux-linux about that
5:19 PM
but thats my quess
Avatar
Looks good though
Avatar
Avatar
Weeda
I got 1.9 on. Looks really good. Seems to lock up after one or two actions/commands..... might be the processing power of the device?
what do you mean by 'lock-up'?
Avatar
I can open a book or a menu on forst start up. Seems to do nothing after that
6:31 PM
First*
Avatar
have a video?
Avatar
Yeah i can do one
👍 1
djhardrich joined the server. 6/14/2022 10:10 PM
Avatar
Avatar
djhardrich
Click to see original message
💥 1
❤️ 1
Avatar
Hi everyone! Got inkvt working (for the most part, not sure if the version of fbink pulled in is truly playing nice) on the Elipsa, thought I’d help get InkBox/KoBox X11 working on the Elipsa 🙂
10:15 PM
Avatar
you will get banned
10:42 PM
i promise you that
10:42 PM
if you continue doing that
Avatar
Avatar
djhardrich
Hi everyone! Got inkvt working (for the most part, not sure if the version of fbink pulled in is truly playing nice) on the Elipsa, thought I’d help get InkBox/KoBox X11 working on the Elipsa 🙂
Nice! you can start a porting thread at #porting
❤️ 1
Avatar
Good luck?
Avatar
Avatar
tux-linux
Good luck?
Great to meet you (and as someone who has put together a distro before, very impressed with your work at such a young age!!)
👍 1
🎉 1
Avatar
We are dealing with an eMMC, a different SoC and a completely different framebuffer API Do you really, really, really want to port it? It will be hard But it is possible
Avatar
I’ve got NiLuJe’s kobo toolchain up and running, and did a -lot- of sunxi stuff in the past (worked on CHIP/PocketCHIP)
Avatar
Ok very good
11:07 PM
People like that are rare
Avatar
Even a chrooted environment with the xdamage-fbink would be great
Avatar
That's kobox
Avatar
That was my thought (only saw kobox/inkbox last night)
Avatar
You also know how to setup a serial connection I assume?
11:10 PM
You're not afraid of bricking? Actually, we should have FEL mode in there But still
Avatar
Yes but not on the elipsa (I have a spare, can take it apart to wire an ftdi chip to it) (edited)
Avatar
A spare elipsa?
Avatar
And apparently FEL isn’t documented on the a50, but shrug
11:10 PM
Yes 🙂 and an rm2 if you ever want that supported as well (edited)
Avatar
Avatar
djhardrich
And apparently FEL isn’t documented on the a50, but shrug
We need to see if it's possible Then we can be a lot less careful
Avatar
Avatar
djhardrich
Yes 🙂 and an rm2 if you ever want that supported as well (edited)
FB API is closed source, it's handled in userspace Maybe once the reverse engineering team finish their project
Avatar
I’m guessing a kernel rebuild is necessary for stuff like otg host but I’ll know more in 2 days (have a power splitter cable coming, may be able to just power vbus and have otg working)
Avatar
Avatar
tux-linux
FB API is closed source, it's handled in userspace Maybe once the reverse engineering team finish their project
Ahh for some reason I thought fbink supported it
Avatar
Rm1 I think
Avatar
got it
Avatar
on all kobos i know usb otg is working only when the ereader is being charged
11:13 PM
maybe the elipsa is diffrent
Avatar
Avatar
Szybet
on all kobos i know usb otg is working only when the ereader is being charged
Which is fine if it works like that on the elipsa, I wouldn’t lose sleep over using the stock kernel with a mechanical keyboard/otg with small battery
11:14 PM
It definitely doesn’t work without external power
11:14 PM
the other hack is to just pair/trust a bt keyboard and mouse using hcitool and be done with it 😉
Avatar
There is kterm in KoBox Don't know if you prefer that to inkvt Both are nice
11:15 PM
There's also a VNC viewer
Avatar
Probably, I’m super interested in using it (and also a vnc viewer)
Avatar
Not sure how it will behave on such a large screen though
Avatar
Basically ssh/vscode (even if remote)/maybe awesomewm/i3 would be perfection 🙂
Avatar
KoBox uses i3
❤️ 1
🔥 1
Avatar
I’ll start an actual thread later on tonight, wanted to ask NiLuJe if I was somehow doing something wrong for fbink/inkvt elipsa builds, since he’s built koreader/plato for elipsa
Avatar
What's the elipsa's model number?
11:20 PM
Ok n604 it seems
Avatar
I’ve got root if you need any more info/files pulled, really the only thing that doesn’t seem 100% as far as crossbuilds is the way inkvt (my build with fbink) is drawing to the elipsa’s screen (very slowly, “ls” takes like 40 seconds to draw 20 items (and doesn’t display 90% of the characters) (edited)
👍 1
11:26 PM
Weird because “ls” is the only command I’ve found so far that draws like that, if I do cat /proc/cpuinfo it isn’t as slow/character by character
Avatar
I don't recall testing inkvt more than "whelp, echo works, I'm done" :p
1:38 PM
The weird collision handling on the Elipsa might not be entirely playing ball with it
1:38 PM
Without switching pen mode on
1:39 PM
Which has its own set of drawbacks (like, err, very easily crashing the EPDC :D
1:39 PM
(definitely start from my fork, though, it probably has a few fixes, and a mostly up to date fbink dép)
Avatar
Wish I wrote more C and not Verilog these days 😵💫😵💫 A little out of my depth patching it, but will take a closer look and see what I can come up with (edited)
Avatar
Avatar
djhardrich
Wish I wrote more C and not Verilog these days 😵💫😵💫 A little out of my depth patching it, but will take a closer look and see what I can come up with (edited)
Anyways, we will probably have to look at it, InkBox is using FBInk in a lot of areas of the system
Avatar
I’m willing to chip in to the bounty jar, I just know I’m out of my element a -hair- as far as hacking on fbink……
10:34 PM
Also had a thought; maybe the rm2 port of yaft (https://github.com/timower/rM2-stuff/tree/master/apps/yaft ) would be a good candidate for a minimal terminal with an ok on-screen-keyboard that can be hidden easily when using hardware keyboards…. Would need to be ported to use fbink; it’s a framebuffer terminal already… advantage is that people moving from rm2 would also feel at home (edited)
Contribute to timower/rM2-stuff development by creating an account on GitHub.
Avatar
Note: the issue I’m running into seems to be inkvt-specific, or rather; Plato/KoReader on Elipsa work -perfectly- when drawing to the screen, as does KoReader’s built in terminal (apart from missing keyboard support etc)
Avatar
I don't think you've actually described the issue yet, though, did you? ;o) (edited)
12:17 AM
(yaft should be doable, it just happens to do its own fb drawing, but that can be arranged)
Avatar
Avatar
NiLuJe
I don't think you've actually described the issue yet, though, did you? ;o) (edited)
I can film a video, doing “ls” in inkvt doesn’t draw to the screen properly (90% of the characters aren’t drawn, and it’s refreshing character by character, making “ls” take 20-60 seconds depending on the size of the file list)
Avatar
Okay, yeah, definitely sunxi collision handling being broke as fuck
12:19 AM
and even more broken on the Elipsa than on the Sage
12:19 AM
pen mode might help, or it might just murder the epdc
Avatar
inkvt would be really usable with a keyboard otherwise (tested with keyboard paired to phone via bt and ssh’ed into elipsa, running inkvt and sending keys) (edited)
12:27 AM
Screen doesn’t always corrupt like that, but also probably worth noting 😅 never experienced that in your releases of KoReader/Plato, if that helps Command was ls /usr/bin (edited)
Avatar
Oh, nickel is running.
1:09 AM
That... won't help.
👀 1
😵‍💫 1
1:10 AM
(as in, it's never going to work on an Elipsa. Might be slightly less worse on a Sage, but I wouldn't count on it)
Avatar
Excuse my not knowing a -ton- of the inner workings as they regard to kobo-specific stuff, only started getting ereaders once the 10.3” ones came out 😅; killall nickel from ssh? So far all I’ve installed was the KoReader+Plato installer, your dev extras with ssh/other tools and this build of inkvt (just trying to give you as much info as possible) (edited)
1:14 AM
Or better; am I supposed to have nickel on here?
Avatar
No corruption with nickel killed, but same issue and inkvt crashed before it finished the ls /usr/bin (edited)
Avatar
Yeah, makes sense.
1:26 AM
Collision handling is broken as all hell on the Elipsa
1:26 AM
(And AUTO sucks on sunxi)
1:26 AM
InkVT relies extremely heavily on both of those things actually working ;o) (edited)
1:29 AM
(As well as dealing with a storm of tiny refresh ioctls, which ties into the whole "collision handling is broken" thing)
1:29 AM
Which is also why pen mode might 'help' (because it essentially disables collision merges)
1:30 AM
But it's also extremely finicky (it pegs a core to 100% cpu because it's a busy-looping kernel thread (sigh)), and has a tendency to just plain murder the epdc if you don't appease it every now and then.
😢 1
Avatar
Bigger question: would chrooting and using fbink-xdamage with a different shell help/fix it? Or does the lack of solid collision handling break that as well? I’m not tied to any particular program outside of the chroot
Avatar
Nope, it's a kernel issue.
😣 1
Avatar
Is it because the kernel (4.19.x) is so old, or hasn’t been implemented in sunxi-linux (which I guess is mainline now?) (edited)
Avatar
the display driver is just a horrible, horrible mess
Avatar
Oof
Avatar
Avatar
NiLuJe
Nope, it's a kernel issue.
Good news is that you can patch it in InkBox 🙂 We are using our own kernels (edited)
k03n joined the server. 6/19/2022 7:48 PM
Avatar
Avatar
k03n
Click to see original message
Avatar
Avatar
k03n
Click to see original message
Avatar
Avatar
k03n
Click to see original message
8:02 PM
?
8:16 PM
it was 80+?
Avatar
No?
8:39 PM
Always has been <60 until now
Avatar
okay...
5:06 PM
maybe someone will want this
Zalax joined the server. 6/22/2022 11:54 AM
Avatar
Avatar
Zalax
Click to see original message
Avatar
Avatar
Zalax
Click to see original message
Avatar
Avatar
Zalax
Click to see original message
Sticker
Avatar
Avatar
Zalax
Click to see original message
LimpingTurbine joined the server. 6/25/2022 9:52 AM
Avatar
Avatar
LimpingTurbine
Click to see original message
Avatar
Avatar
LimpingTurbine
Click to see original message
LimpingTurbine 6/25/2022 10:38 AM
Avatar
Avatar
LimpingTurbine
Click to see original message
LimpingTurbine 6/25/2022 10:38 AM
10:39 AM
I'm just lurking around
Avatar
Avatar
LimpingTurbine
Click to see original message
Avatar
https://wiki.postmarketos.org/wiki/Amazon_Kindle_4_(amazon-yoshi) -> "Congratulations, you now have a much less useful e-reader device. But it's running mainline Linux, so there's that at least!" haha
👍 1
Avatar
Where ??
2:19 PM
Where are the sources ?? I never heard of it
Avatar
isint it sign locked?
Avatar
Some early work to get pmOS running on the Kindle 4/5 devices from 2011ish. It's based on the work located here and here: ...
3:11 PM
"This is starting with a very hobbled mainline kernel, because I dunno, I don't think downstream is an option? The Amazon GPL dumps are a metric barfload of Freescale patches mingled with Lab126 drive-by-hackery on kernel internals, based off 2.6.x. That seems too old to be useful, and I'm not particularly eager to try and rebase that code into 3.x land. So, mainline it is. Luckily, all the i.MX5xx SoC bits and pieces seem pretty well mainlined by this point. The Tequila board in the Kindle 4 uses a PMIC that also appears to have quite a lot of mainline kernel code already. So .." (edited)
3:17 PM
This guy should write comedy... "the hacked up U-Boot from 2009 that currently boots these devices does support fastboot, it's that strange one that makes everybody in the family kinda look at the floor when it comes up. You know?" (edited)
😁 1
Avatar
Almost all eReaders <= 2016 I know run U-Boot 2009.08
Avatar
"The way the initramfs is unceremoniously smooshed into some grey-market eMMC space is also gross, and doesn't really line up with any existing patterns for existing device ports. It's kinda like the isorec trick, but there's no actual spare partition to use, just random barely-legit-looking memory addresses that magically happen to have some gzipped cpio initramfs living there :)" Sounds like another device we know...
😆 1
Avatar
Avatar
Szybet
isint it sign locked?
"I'm getting to a point here though. From what I can tell, the bootloader on these devices is completely unlocked and open. U-Boot seems to just be living at 0x0 on partition 1 of the eMMC. I don't believe Amazon rolled out signed booting until the i.MX6+ based devices."
3:23 PM
excerpt from above
Avatar
Yeah, it's completely open
Avatar
what does it mean that he can't port kernel 3 but can use mainline which is 5?
Avatar
The 3.x port might have been easier to do than 5.x but since the Kindle kernel source is so heavily patched, it would just be too complicated to implement those patches in 3.x In 4.x the kernel switched to DTS/DTB files for describing hardware to the kernel, so patching is not really present anymore because DTBs cover pretty much all of the required info I think it's what he meant? (edited)
Avatar
So that makes it easier to use a newer kernel?
3:33 PM
He's using kernel 5
Avatar
Yeah, but harder to port first because you have to reverse-engineer a lot of memory addresses to tell the kernel where your memory, MMC, display, i2c, SPI components are (edited)
Avatar
I just thought newer kernels would be even more far away from the original kernel used so nothing would be close to working or porting easily.
Avatar
@NonaSuomy can i get a link to your sd card expander?
Avatar
C$ 2.31 18% Off | Micro SD to Micro SD Card TF Memory Card Reader Flexible Extender Compatible Extension Adapter Cable https://a.aliexpress.com/_mLhY5Mm
3:07 PM
This is the one I got they come in different lengths and also with a protective plastic cover depending what you want C$ 1.95 31% Off | 25/48/62cm TF to micro SD card Flex Extension cable Extender Adapter TF Zip Extension cable Memory Card Extender Cord Linker https://a.aliexpress.com/_m0WmYkS
Smarter Shopping, Better Living! Aliexpress.com
3:08 PM
You can probably just remove that plastic if you want it thinner as to why I bought the first one not thinking…
3:10 PM
I can only vouch for receiving the first link. DYOR the second link I just searched for micro sd extender then sorted by cheapest then scrolled to t he first one I found.
Avatar
is this part thicker? the black think between the cable and sd card
3:11 PM
if it is, it will apply force
Avatar
Avatar
NonaSuomy
This is the one I got they come in different lengths and also with a protective plastic cover depending what you want C$ 1.95 31% Off | 25/48/62cm TF to micro SD card Flex Extension cable Extender Adapter TF Zip Extension cable Memory Card Extender Cord Linker https://a.aliexpress.com/_m0WmYkS
i can 3d print this cover
Avatar
Avatar
Szybet
is this part thicker? the black think between the cable and sd card
That is just heat shrink around it to cover t he solder joints
Avatar
i know, im asking
3:13 PM
becouse this could damage the real sd port in the long run
3:13 PM
if its really thicker
Avatar
Oh like does it lift it off the board a bit?
Avatar
exactly
Avatar
One sec
Avatar
if it lifts the sd card slot, the real one
Avatar
Since you have a 3d printer maybe you also have kapton tape you could just put that on your board and cut the heat shrink off
Avatar
i think about that
3:19 PM
can you make a detailed image of the "sd card"? i want to see where the traces on the pcb go
Avatar
Mines in the side of the device so I can’t really tell but it would probably be fine
3:20 PM
Seems the slot is like half a mm off the board
Avatar
nia has limites space soo
Avatar
this looks good
Avatar
Avatar
Szybet
is this part thicker? the black think between the cable and sd card
and an image of this part just rotatet 180 degrees?
Avatar
Avatar
Szybet
and an image of this part just rotatet 180 degrees?
Explain further ?
Avatar
ijmage of this part
3:25 PM
but rotated
3:25 PM
so i can see the traces on the pcb (edited)
Avatar
okay thanks
3:33 PM
so i cant make it smaller
Avatar
Let me see the sdcard slot of the nia
Avatar
its in my kobo nia repo
Avatar
URL?
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/kobo-nia-audio development by creating an account on GitHub.
Avatar
not an exact science but here you go
4:21 PM
you may clear that transistor
Avatar
i hope it will be like that
Avatar
if not you could probably file a little off the pcb
Avatar
the resistor on the left may be a problem
Avatar
Kapton tape will solve that
Avatar
i hope
6:30 PM
7:40 PM
3d printed replacement case for the nia
7:40 PM
a prototype, but a working one
7:42 PM
@NonaSuomy can you take measurements of the sd card expander? width, height etc
7:42 PM
I would be grateful
Kelladon_K joined the server. 7/12/2022 6:59 PM
Avatar
Avatar
Kelladon_K
Click to see original message
Avatar
Avatar
Kelladon_K
Click to see original message
Avatar
Avatar
Kelladon_K
Click to see original message
dosemakestoxin joined the server. 7/13/2022 7:41 AM
Avatar
Avatar
dosemakestoxin
Click to see original message
Avatar
Avatar
dosemakestoxin
Click to see original message
Avatar
Avatar
dosemakestoxin
Click to see original message
Dongchen | 岳东辰 joined the server. 7/21/2022 10:48 AM
Avatar
Avatar
Dongchen | 岳东辰
Click to see original message
Sticker
11:08 AM
Welcome
Avatar
Avatar
Dongchen | 岳东辰
Click to see original message
Avatar
Avatar
Dongchen | 岳东辰
Click to see original message
Sticker
jfitz joined the server. 7/24/2022 10:32 PM
Avatar
Avatar
jfitz
Click to see original message
Avatar
Avatar
jfitz
Click to see original message
Avatar
What is the chance of porting inkbox to android?
11:48 AM
Or porting linux to an ereader having an android source?
Avatar
There are many really cheap android readers, damaged ones are for 8$ or even below
MKlomp joined the server. 7/26/2022 12:16 PM
Avatar
Welcome
Avatar
Avatar
MKlomp
Click to see original message
Sticker
Avatar
Avatar
Szybet
What is the chance of porting inkbox to android?
You know how it works internally, pretty much next to none But do you mean as an application or as an entire system?
Avatar
i dont really know how android kernel differs from linux
Avatar
Avatar
tux-linux
You know how it works internally, pretty much next to none But do you mean as an application or as an entire system?
system
Avatar
We tried with Sony It was a disaster @NonaSuomy can relate
Avatar
you had there a random linux kernel
1:23 PM
what about creating one having only android sources?
Avatar
Android is Linux
1:24 PM
But a patched Linux
Avatar
macos is unix
1:24 PM
a patched unix
1:24 PM
and?
Avatar
Avatar
Szybet
you had there a random linux kernel
It was not a random Linux kernel It was a patched kernel for Android
1:26 PM
With Binder IPC for example
Avatar
well okay
Avatar
Avatar
Szybet
what about creating one having only android sources?
but in the other way? depatch android?
Avatar
Maybe
1:29 PM
I'm just seeing nightmares on the way
Avatar
as always
nabakolu joined the server. 7/29/2022 5:03 PM
Avatar
Avatar
nabakolu
Click to see original message
5:04 PM
Welcome
Avatar
Avatar
nabakolu
Click to see original message
Avatar
Avatar
nabakolu
Click to see original message
5:06 PM
Heya :)
Avatar
What brings you here?
Avatar
Wanting to read books on eink, but not seeing any open source stuff for it. Besides InkBox I guess
Avatar
What device are you on?
Avatar
tbd :D
Avatar
yes, we are the only ones
5:08 PM
there are other 5 dead eink distros
Avatar
Avatar
nabakolu
tbd :D
Buy a glo HD We don't currently support the Clara
Avatar
Avatar
nabakolu
tbd :D
?
Avatar
Support is ongoing but it's very long (edited)
Avatar
well, he can help with it
Avatar
Avatar
Szybet
?
Currently don't own a device. I'm checking what device with an open source OS to buy
5:10 PM
InkBox uses mupdf right?
Avatar
90% of the members of this server join, then maybe say hi, then maybe stay here for a day or so, then lose interest and don't ever come back (In response to Szybet) (edited)
Avatar
Avatar
nabakolu
InkBox uses mupdf right?
Yes
Avatar
Avatar
tux-linux
90% of the members of this server join, then maybe say hi, then maybe stay here for a day or so, then lose interest and don't ever come back (In response to Szybet) (edited)
I might lose interest. But that's gonna take a while
Avatar
we will see
Avatar
Szybet has been here for 6 months
Avatar
Avatar
tux-linux
Yes
Does that mean all mupdf supported formats are supported, or only epub pdf and plaintext?
Avatar
I am here since 1 1/2y
Avatar
Avatar
nabakolu
Does that mean all mupdf supported formats are supported, or only epub pdf and plaintext?
Only PDF and Epub
Avatar
txts are supported too?
Avatar
Plaintext is handled by quirky python
Avatar
not python.
Avatar
Which we didn't fix yet
5:12 PM
it is fixed
Avatar
Yes but it doesn't work
Avatar
Remember?
5:12 PM
why?
Avatar
Avatar
tux-linux
Szybet has been here for 6 months
instead of reading books on an ereader i buyed i develop software for it (edited)
5:13 PM
🥴
Avatar
Avatar
tux-linux
Buy a glo HD We don't currently support the Clara
Why exactly the Glo and not the mini, touch, aura or nia?
Avatar
*Glo HD
5:15 PM
All other ones have less RAM and are slower
Avatar
its ok on the nia
Avatar
Yes too
5:17 PM
But you get half the RAM and half the screen resolution
5:17 PM
And it might actually be more expensive
Avatar
the price is stupid tho
Avatar
Also how hard is it to remove the cover to get to the sd card?
Avatar
on the nia? really hard
5:18 PM
i cant do this without an ifixit tool
Avatar
is it easier on the glo hd?
Avatar
Yes
Avatar
I'm really bad with hardware. Just a software guy
Avatar
i created a case replacement for the nia, and a replacement for the stock back, its 3d printable (edited)
5:20 PM
you can use a sd card expander with it and never open the device again
Avatar
with a cable to outside the case?
5:21 PM
you need some really good soldering skills
Avatar
Avatar
Szybet
i created a case replacement for the nia, and a replacement for the stock back, its 3d printable (edited)
its an option, only saying
Avatar
In the end the maximum I could brake was the case right?
Avatar
on the nia its solid, too solid so no worries for that
5:24 PM
there is a flex cable going near the edge, you need to look for it
5:24 PM
also the case gets ugly and destroyed if you open it too many times
Avatar
Avatar
Szybet
also the case gets ugly and destroyed if you open it too many times
thats the reason for the 3d print
5:28 PM
the nia has currently also battery issues with the kernel we got
5:29 PM
you will be safe with the glo HD, its older and everything propably works on it
Avatar
Are they even being sold anymore? Can only find one for 300€
Avatar
thats the issue propably
Avatar
Avatar
Szybet
the nia has currently also battery issues with the kernel we got
Meaning?
Avatar
its worse than on the stock os
5:35 PM
The kernel shipped with nickel is different in many ways ( battery consumption, touchscreen wake up calls ). Could we get an updated version in the repo, Please?
5:35 PM
becouse they dont update it
Avatar
Welp guess I'm buying a glo hd
Avatar
good
Avatar
at what price?
Avatar
100€ (edited)
Avatar
thats acceptable
Avatar
no...
5:56 PM
i bought mine for $30
Avatar
It is used, but apparently in good condition
Avatar
well, if the screen is ok then the device should be ok
Avatar
Avatar
tux-linux
i bought mine for $30
Well the nia would be 100€ and the other glo hd 300€
Avatar
its sad how ereaders are so expensive
5:57 PM
the hardware could be from 2010 android smartphones
Avatar
Isn't eink quite expensive?
Avatar
~70% of the cost of the nia costs a similar worse eink screen, a screen module without anything else (edited)
5:58 PM
even more
Avatar
Avatar
Szybet
~70% of the cost of the nia costs a similar worse eink screen, a screen module without anything else (edited)
true
Avatar
and its because of... monopoly? idk english (edited)
Avatar
because
6:00 PM
maybe
Avatar
Avatar
tux-linux
because
😅
😉 1
Avatar
apk package manager exists right? (edited)
Avatar
yes but don't count on using it
6:14 PM
eventually inkbox itself should separate completely from alpine and use a reproducible rootfs build tool
6:15 PM
because we are already stuck in 2019 with Alpine
6:15 PM
since... old kernels on 10+ years old devices
Avatar
Avatar
tux-linux
yes but don't count on using it
never count on alpine
6:15 PM
but i have used many i2c debug binaries and they worked, i installed them
6:15 PM
so some things are working
Avatar
oh, things work
6:16 PM
but they are outdated
Avatar
its better than building everything from scratch
Avatar
if I want to put a new program in the rootfs, I try to compile it from source before resorting to apk if it really doesn't want to build
6:17 PM
90% of the time I put a compiled program with its most recent version
Avatar
and then ntpd stops working, lights turn off and there is silence
6:17 PM
but i understand
Avatar
I think I will use time.google.com for ntpd
6:18 PM
or time.apple.com
6:18 PM
these seem to work (edited)
Avatar
then find something non-proprietary that works
Avatar
p r i v a c y?
Avatar
it's... a time server
Avatar
Avatar
tux-linux
these seem to work (edited)
really?
Avatar
i don't think you get any privacy issues with time servers
Avatar
Avatar
Szybet
really?
yes, tried them
6:19 PM
i think
Avatar
i will to
6:19 PM
weird
6:20 PM
kobo:/opt/config/20-sleep_daemon# /usr/local/bin/timesync.sh ntpd: bad address '0.pool.ntp.org' ntpd: bad address '1.pool.ntp.org' ntpd: bad address '2.pool.ntp.org' ntpd: bad address '3.pool.ntp.org' ntpd: bad address 'time.apple.com' ntpd: bad address 'time.google.com' ntpd: bad address 'time.google.com' ntpd: bad address 'time.apple.com' ntpd: bad address '3.pool.ntp.org' ntpd: bad address '2.pool.ntp.org' ntpd: bad address '1.pool.ntp.org' ntpd: bad address '0.pool.ntp.org'
6:20 PM
how
Avatar
then ok
6:20 PM
it worked with ntpdate at least
6:20 PM
but pool.ntp.org didn't work with ntpdate
6:20 PM
only time.apple.com
6:20 PM
and maybe google
6:20 PM
wait I'll send the binary
Avatar
dont use apple
6:21 PM
im fine with everything else ( proably ) (edited)
Avatar
512.25 KB
Avatar
kobo:/# ./ntpdate -u time.apple.com 29 Jul 18:34:25 ntpdate[15618]: step time server 17.253.54.125 offset +332259367.137346 sec kobo:/# date Fri Jul 29 18:34:27 CEST 2022 kobo:/# ./ntpdate -u 0.pool.ntp.org 29 Jul 18:34:50 ntpdate[15634]: adjust time server 194.29.130.252 offset -0.004787 sec kobo:/# ./ntpdate -u 1.pool.ntp.org 29 Jul 18:35:13 ntpdate[15650]: adjust time server 213.199.225.40 offset +0.002900 sec kobo:/# ./ntpdate -u time.google.com 29 Jul 18:35:33 ntpdate[15672]: adjust time server 216.239.35.8 offset -0.000918 sec kobo:/#
6:35 PM
everything works
Avatar
even stranger
Avatar
use ntpdate, first try ntp.org pools, then google, and on the last place apple
Avatar
something will work
Avatar
does it accept a list?
Avatar
a file
Avatar
/etc/ntp.conf
6:37 PM
try with that
Avatar
29 Jul 18:38:17 ntpdate[15772]: no servers can be used, exiting
Avatar
server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org server 3.pool.ntp.org (edited)
6:39 PM
the word 'server' is probably the problem
6:40 PM
idk the syntax for it
6:41 PM
ui->hCustomCaseBtn->click(); doesnt it trigger a function?
Avatar
yes, and it doesn't matter
Avatar
/dev/ipd/ is a complete bind mount of /run/ipd?
7:03 PM
it isin't
Avatar
/kobo/dev/ipd is
7:05 PM
Switch to #dev
Avatar
Avatar
tux-linux
yes but don't count on using it
I was wondering about git + gcc
Avatar
why git? git would be slow, its using compression gcc is provided by the distro... we have 3 diffrent toolchains
12:42 AM
but git sure, you can use it
Avatar
Avatar
Szybet
why git? git would be slow, its using compression gcc is provided by the distro... we have 3 diffrent toolchains
idk, just crossed my mind it might be possible
chlorodendron joined the server. 7/30/2022 10:54 PM
Avatar
Welcome
Avatar
Avatar
chlorodendron
Click to see original message
Avatar
Avatar
chlorodendron
Click to see original message
w7n3 joined the server. 7/31/2022 12:57 PM
Avatar
Avatar
w7n3
Click to see original message
Avatar
Avatar
w7n3
Click to see original message
Avatar
Avatar
w7n3
Click to see original message
Avatar
Okay I got my Glo HD, how do I actually open the back?
7:22 PM
wait for @tux-linux , but i heard he used a credit card for this
7:22 PM
i use this tool for the nia
7:24 PM
and a side note: his battery exploded, and if not he is lucky
7:27 PM
be gentle when opening these sections: you can damage the components if you press too hard
Avatar
Avatar
Szybet
and a side note: his battery exploded, and if not he is lucky
why?!
Avatar
squishing lithium polimer batteries is bad.
7:38 PM
there is lithium inside them that is like paper - if you cut through them, and the layers connect - bum (edited)
7:38 PM
my explanation is bad though
Avatar
oh i see (edited)
Avatar
dont play with batteries kids
Avatar
Well it's open. The secret ingredient is more force than @nabakolu was comfortable with
👍 1
Avatar
every electronic device is hard to open first time
7:44 PM
i hoe you shut off the device before
Avatar
Avatar
Szybet
i hoe you shut off the device before
Yes
Avatar
and now you disconnect the battery with something non conductive?
Avatar
now it's hard for me to close the mini's back cover :P
Avatar
Avatar
dill
now it's hard for me to close the mini's back cover :P
3d print one
Avatar
It actually booted
9:27 PM
Amazing stuff
Avatar
Avatar
nabakolu
It actually booted
no way
9:27 PM
:o
9:28 PM
have you made a backup of the original os?
Avatar
yes
Avatar
very good
Avatar
I feel like I broke it tho
Avatar
that was fast
9:29 PM
whats the issue
Avatar
Yea plugged in the cable to my PC then it was unresponsive, so I thought I just reboot it and now its stuck like thius
9:31 PM
Avatar
woooooooooooooooooooo
Avatar
Is there a hard reboot option with the button?
Avatar
press it until the diode will flicker
9:32 PM
it indicates that its rebooting
Avatar
Avatar
nabakolu
Click to see attachment 🖼️
It will be fixed in 2.0 release
Avatar
Ok, any things I should do to make it not happen again?
Avatar
Avatar
tux-linux
It will be fixed in 2.0 release
a known bug or a new one?
Avatar
Avatar
nabakolu
Ok, any things I should do to make it not happen again?
dont touch until it wants you to touch it, at the first boot
Avatar
Don't put it to sleep
Avatar
Avatar
Szybet
a known bug or a new one?
Known bug, FB depth
Avatar
oh, this
Avatar
Avatar
tux-linux
Don't put it to sleep
Should I then also disable auto sleep?
Avatar
Yes
Avatar
Ok tyty
Avatar
Ok what do I do when I can't unmount because device is busy? Just copied 3MB onto it :D
Avatar
what os are you on
Avatar
Guess im stupid
9:42 PM
My filemanager was still there
Avatar
i though that
Avatar
And Linux is the only anwser
Avatar
very good
Avatar
Holy the page turns are really fast
9:46 PM
The 1.5 demo on youtube is way slower
Avatar
i requested a speed increase
Avatar
I'm amazed
Avatar
well, i dont
9:47 PM
there are some issues
9:47 PM
but i wont tell you about them ;p
Avatar
Going to a chapter doesnt work right?
Avatar
chapter in what way? book chapter?
Avatar
Yes
Avatar
there isin't an option for it at all
Avatar
Okay
Avatar
maybe some day
9:53 PM
¯\_(ツ)_/¯
Avatar
And saving where I left?
Avatar
works
9:53 PM
but i had issues with it
9:54 PM
it will be rewrited soon
Avatar
Man you guys are amazing
Avatar
@tux-linux is
9:54 PM
im here only for 6~ months
9:55 PM
i dont have really done many things
Avatar
Avatar
Szybet
but i had issues with it
Me too :D
Avatar
Avatar
nabakolu
Me too :D
which ones
Avatar
Avatar
tux-linux
which ones
global reading settings
10:20 PM
thats all you need to know :D
Avatar
Avatar
Szybet
@tux-linux is
you're both amazing man, come on
👍 1
Sprawlie joined the server. 8/5/2022 2:11 AM
Avatar
Avatar
Sprawlie
Click to see original message
Avatar
Avatar
Sprawlie
Click to see original message
Avatar
Avatar
nabakolu
And saving where I left?
You need to disable global reading settings in settings
Avatar
Avatar
Szybet
it will be rewrited soon
Why What issues
Avatar
text to slider save phrases not words bugs bugs
5:36 PM
maybe not rewritted, but changed for sure
Avatar
Avatar
Szybet
text to slider save phrases not words bugs bugs
text to slider?
Avatar
fit enough text that the slider isint needed
Avatar
Oh
Avatar
but this will go for 2.1 propably
👍 1
Avatar
Ideally we ought to get 2.0 out before the end of August so people don't think we vanished
Avatar
after i finish niAudio pcb i will do the library widget folders, and wifi panel
5:39 PM
5:39 PM
schematic almost done...
Avatar
Cool
5:40 PM
I could implement highlighting in reader
5:40 PM
But I should probably wait for your rewrite before
Avatar
if you implement saving phrases i wont rewrite much, i will add the slider text match to the existing code (edited)
Avatar
Ok
Avatar
but if no, i will simply rewrite it
Avatar
Avatar
tux-linux
Ideally we ought to get 2.0 out before the end of August so people don't think we vanished
Post that you are working on 2.0 and also post a list of 2.0 features
Avatar
Avatar
tux-linux
You need to disable global reading settings in settings
Ah nice. What is Global Reader settings supposed to do/represent?
Avatar
Avatar
nabakolu
Ah nice. What is Global Reader settings supposed to do/represent?
Something to do with saving reading progress. I'm here for 6 months and I don't know exactly anyway🥴
Avatar
isin' here too quiet?
👍 1
1:56 AM
We have Wi-Fi on Glo everyone bcmdhd is crap but it works
1:58 AM
It will probably work on mini + touch C too
Avatar
WOOOOOO
🎉 1
10:05 AM
HOW
Avatar
@MKlomp
10:20 AM
you wanted wifi
Avatar
Avatar
Szybet
HOW
Firmware issue
Avatar
you mean?
1:38 PM
further explanation?
Avatar
Basically in /lib/firmware in the stock root filesystem there are firmware files for Wi-Fi In 2021 it seems I only tested with WC121 and not WC121A2 Maybe that and a bit flip
3:02 PM
Works on Mini
3:03 PM
does iwlist eth0 scan work?
Avatar
yes
3:08 PM
You don't seem to handle if the led option is enabled or not when initially turning the led on if the device is charging
Avatar
i dont understand?
Avatar
When the device is charging, is powered on but led option is disabled The led still turns on
Avatar
when you disconnect / connect the charger it still turns on?
Avatar
It seems to
Avatar
impossible...
Avatar
I'm testing it on the mini
3:59 PM
Yes it's possible
Avatar
void ledManager() { if (ledUsage == true) { if (occupyLed.try_lock() == true) { occupyLed.unlock(); if (getAccurateChargerStatus() == true) { if (ledState == 0) { setLedState(true); } } else { if (ledState == 1) { setLedState(false); } } } } }
Avatar
What's newSleepCondition exactly?
Avatar
the first if
3:59 PM
how
Avatar
Avatar
tux-linux
What's newSleepCondition exactly?
it says what caused the suspend
4:01 PM
isint used for anything, but can be usefull in the future
4:01 PM
leave it, its only one variable and one mutex
Avatar
So it seems it doesn't notifySend when it's idle
Avatar
Avatar
Szybet
isint used for anything, but can be usefull in the future
I use it
Avatar
for what?
Avatar
Avatar
tux-linux
So it seems it doesn't notifySend when it's idle
????
Avatar
limited internet access rg notifySend
Avatar
it seems like your entire config is flipped over what you think it is
Avatar
Avatar
tux-linux
limited internet access rg notifySend
i still dont understand
4:02 PM
can you show me the config dir?
Avatar
rg = ripgrep
4:02 PM
So you can see where it is
Avatar
what...
Avatar
In watchdog.cpp:59
Avatar
what are you doing there>
4:04 PM
why.........
4:04 PM
why only show this when idle?
4:04 PM
you have broken it completly
4:04 PM
you dont use a mutex
4:05 PM
say what is needed to be done and i will do it, dont break things
Avatar
Avatar
Szybet
why only show this when idle?
When not idle
4:05 PM
It works on every other device (edited)
4:05 PM
Except mini
Avatar
Avatar
tux-linux
When not idle
oh
4:05 PM
show me you config dir
4:05 PM
cat it
Avatar
What file
Avatar
cat /data/config/20-*/*
Avatar
/data/config/20-sleep_daemon/1-cinematicBrightnessDelayMs: 50 /data/config/20-sleep_daemon/2-cpuGovernor: ondemand /data/config/20-sleep_daemon/3-whenChargerSleep: false /data/config/20-sleep_daemon/4-chargerWakeUp: false /data/config/20-sleep_daemon/5-wifiReconnect: true /data/config/20-sleep_daemon/6-ledUsage: true /data/config/20-sleep_daemon/7-idleSleep: 0 /data/config/20-sleep_daemon/8-customCase: false /data/config/20-sleep_daemon/9-deepSleep: false /data/config/20-sleep_daemon/appsList: inkbox-bin oobe-inkbox-bin lockscreen-bin calculator-bin qreversi-bin 2048-bin scribble lightmaps /data/config/20-sleep_daemon/updateConfig: false
Avatar
/data/config/20-sleep_daemon/6-ledUsage: true /data/config/20-sleep_daemon/7-idleSleep: 0
4:16 PM
hehe
Avatar
Yeah and?
Avatar
led is enabled
4:28 PM
idle sleep is off
4:28 PM
and you are complaining about them
Avatar
The notify send toast doesn't show up any time, whether idle sleep is enabled or not
4:28 PM
The led is not powering on
Avatar
only on the mini?
Avatar
Yes
4:32 PM
And it's the same path
Avatar
you have broken some things
4:36 PM
i will fix them later
Avatar
Which are
Avatar
mutexes for sure
Avatar
Ok
4:36 PM
But why is the led not powering on
4:37 PM
And why does it work on the Glo Which literally has the same path
Avatar
try it on the shell?
4:37 PM
echo it?
Avatar
Yes I did
Avatar
weird
4:44 PM
is write status 0?
4:46 PM
i mean write(dev, "100", 3);
4:46 PM
get an int from that and log it, what it is
Avatar
Ok
4:50 PM
Now it powers on Nonsense
Avatar
maybe you had an outdated version od ipd?
Avatar
I doubt it
Avatar
try the led too
Avatar
Repacked rootfs with newly built binary, no led again
4:58 PM
Even after stop/start ipd
Avatar
you mean?
Avatar
The led never lights up
Avatar
wait 30s?
Avatar
Unless I go to suspend
Avatar
Avatar
Szybet
wait 30s?
Why
Avatar
just do it
Avatar
Ok it works after 30s
4:59 PM
But why is it like that
Avatar
the charger detection propably doesnt wo... okay
5:00 PM
becouse inkbox.sh is turning it off
5:00 PM
and after some time at first boot ipd checks one more time the led to be sure
5:00 PM
on the nia its instand, the mini is slower? faster?
Avatar
So could you handle turning it off or not at startup and I remove those lines from inkbox.sh? (edited)
Avatar
Caution, for some devices there is a specific sequence to follow initially it seems
5:02 PM
couldn't you turn the led off when the initrd starts openrc services?
5:02 PM
not in the last stage?
Avatar
I could too
Avatar
Avatar
Szybet
???
Check inkbox.sh
Avatar
earlier
5:03 PM
its too late
Avatar
Ok now the toast shows up
Avatar
without any change?
Avatar
Please fix what you said was to fix
Avatar
Avatar
Szybet
without any change?
Yes
Avatar
later
Avatar
Avatar
tux-linux
Yes
outdated ipd version 🥴
Avatar
No It didn't show up at launch
5:14 PM
Only now
Avatar
so i have only to do the mutex and idle sleep time chooser?
Avatar
Oh no It shows up right after restarting it now
Avatar
Wait I'll reboot to be sure
5:16 PM
But why do I need to deal with mutexes if I only check the value of an enum
Avatar
well, becAUse thats how mutexes work (edited)
5:17 PM
read about them
5:17 PM
pretty cool things
Avatar
because
Avatar
Well now it works after restarting
5:19 PM
You should try it on the Nia I don't see what could be broken
Avatar
what works?
Avatar
Toast
Avatar
if you break mutexes, things can break randomly
Avatar
Ok
5:21 PM
But why wasn't there anything related to mutexes there in the first place
Avatar
there is
5:22 PM
everywhere
Avatar
Then what's wrong in my commit
Avatar
you dont lock the mutex
5:22 PM
before checking
Avatar
Oh ok
Avatar
i will do it
5:22 PM
dont touch
Avatar
It's one line?
5:23 PM
4
5:23 PM
5
5:23 PM
5 exactly
Avatar
Ok
Avatar
5 if you do it right, so let me do it
Avatar
Test if it still works before pushing
Avatar
i always test
Avatar
Ok So I move led things to initrd rcS?
5:24 PM
Wouldn't it be simpler to just turn it off from ipd service before it starts?
Avatar
your decission
Avatar
Ok
Avatar
Avatar
tux-linux
Wouldn't it be simpler to just turn it off from ipd service before it starts?
After that we don't need to change anything in ipd source code?
Avatar
Ok now after moving led turnoff to ipd service, it doesn't work until I suspend
5:51 PM
Actually it isn't realizing that it's charging
Avatar
decide what solution you want and i will implement it
Avatar
First find the problem
Avatar
what is the problem?
Avatar
Why does it know it's charging when trying to sleep but not when it needs to light the led up
Avatar
it doesnt
Avatar
what is the problem
5:53 PM
without goind to sleep
Avatar
It knows how to turn on the led on suspend and wake up But not when it's charging E.g. it turns it on on wake up but then it immediately turns it off even if it's charging
Avatar
Avatar
Szybet
you have broken some things
Maybe it's actually all related?
5:55 PM
Also we need to move to #dev
Avatar
Avatar
tux-linux
Maybe it's actually all related?
maybe
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
great
12:43 AM
thanks
Avatar
im learning this slowly ;p
👍 1
Avatar
This commit provides Wi-Fi capabilities (CyberTAN chip) for the following devices:
  • Kobo Mini (N705)
  • Kobo Touch C (N905C) | Not yet tested but should work
  • Kobo Glo (N613)
Avatar
what did you actually changed?
Avatar
I compiled the dhd.ko module and I added the correct firmware files
Avatar
separate compiling of a kernel module?
Avatar
I compiled the dhd.ko module
WHAT
Avatar
shouldnt it be just make modules?
Avatar
did it...
12:46 AM
work?
Avatar
Avatar
Szybet
shouldnt it be just make modules?
no, first I had to integrate it in the tree
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
@dill
Avatar
with some random script from a MR guy
Avatar
what...
Avatar
then fiddle with random issues
12:46 AM
and random issues and more random issues (edited)
Avatar
so kobo shared an uncomplete kernel again?
Avatar
and more random issues
Avatar
Avatar
Szybet
so kobo shared an uncomplete kernel again?
(almost) always (edited)
12:47 AM
they provided the wifi module source separately
12:47 AM
its propably the IC manufacturer fault
Avatar
Avatar
tux-linux
It will probably work on mini + touch C too
iiiiiiiiiiiiloveeeeeeeeeeeeeeeyouuuuuuuuuuuuuuuu
Avatar
try it
Avatar
and learn how the os works at the same time
Avatar
update it manually yourself
12:48 AM
yes
Avatar
alright when i hvae time
12:48 AM
am not home rn
Avatar
ask szybet or me, we are knowledgeable about the subject
Avatar
Avatar
dill
alright when i hvae time
you never have time
Avatar
Avatar
Szybet
you never have time
true
12:48 AM
am busy
Avatar
you didnt tested sanki yet
Avatar
and?
Avatar
exactly, and?
12:49 AM
do you know how rare it is?: "I want this app ported to this platform" "Ok give me some time, i will rewrite it from 0"
12:49 AM
;p
Avatar
yeah what i mean is, i'm on a mini and im very busy
Avatar
it should work on the mini
Avatar
alright i'll do it when i get home hopefully
12:50 AM
i'm going to have a lot of spare time, i may have broken my foot
Avatar
oops
12:51 AM
:p
Avatar
you alright?
Avatar
yeah, it's getting better fast
12:51 AM
thankfully
Avatar
good
Avatar
😐 thats bad
Zalax joined the server. 8/10/2022 1:49 PM
Avatar
Avatar
Zalax
Click to see original message
2:11 PM
Why in earth do you put 5G in an ereader
Avatar
Avatar
tux-linux
Why in earth do you put 5G in an ereader
no sense
2:22 PM
but
2:22 PM
tolibo has some contracts with a german internet supplier, maybe because of that
Avatar
I mean why not ? it makes sense to me, direct access to any library anywhere, at anytime. Now, would I invest more for it ? No. But if it's there and my phone provider can provide a second sim card for free.... Meh why not.
Avatar
it will be propably like that: no sim card but one day, you will lose the 5G because the contract runned out ( just like it was on kindles )
Avatar
5g access simless ? That I've never seen before.
4:36 PM
still I wouldn't fight for nor against it. I don't really care, I don't read enough to burn throught all my books in between each time I have access to some wifi.
Avatar
also 5G... i dont think its very power efficient + 5G towers have really low range ( because thats from where the speed comes from ) so outside of cities, lets say on a beach you wont get any signal why didnt they used 4G LTE? its everywhere, and the speeds are too good to transfer... books
Avatar
Avatar
Aramir
5g access simless ? That I've never seen before.
i doubt there vere sim cards inside kindles
4:37 PM
for me putting 5G in a ereader is stupid, its not a technology for that
4:39 PM
and yeah 4g lte might makes more sense. Even mangas/comics/cbz are around 100Mb so it doesn't take that long to download using 4g (edited)
Avatar
It's 5G as in the WiFi 5GHz band (edited)
👍 1
5:15 PM
(ac/ax)
5:15 PM
(Already supported on sunxi devices)
Avatar
Aaaaaah, makes sense (edited)
antuiouioo joined the server. 8/10/2022 7:56 PM
Avatar
Avatar
antuiouioo
Click to see original message
Avatar
Avatar
antuiouioo
Click to see original message
jeremiah_weeds joined the server. 8/11/2022 8:01 AM
Avatar
Avatar
jeremiah_weeds
Click to see original message
Avatar
Avatar
jeremiah_weeds
Click to see original message
Avatar
there are like 3 diffrent n905* models
3:27 PM
confusing for everyone
Avatar
luckily I dont have an n905*
Avatar
oh ok then
4:00 PM
¯\_(ツ)_/¯
Avatar
By the way Discors released a new forum feature so that could be useful
1:32 AM
@tux-linux
8:00 AM
Where
Avatar
But can its data be exported once they ll stop supporting in a year?
Avatar
There is an open source discord chat exporter
Avatar
Some... artwork
4:36 AM
...nice
👍 1
4:36 AM
what distro?
Avatar
Gentoo
redwolfpunch joined the server. 8/16/2022 8:22 AM
Avatar
Avatar
redwolfpunch
Click to see original message
Avatar
Avatar
redwolfpunch
Click to see original message
Avatar
Avatar
redwolfpunch
Click to see original message
12:28 PM
🥴
Avatar
*jaw drops*
Avatar
Looks good, what about the refresh rate ?
nwroot joined the server. 8/19/2022 3:03 AM
3:04 AM
are there compilation instructions for inkbox
3:04 AM
I can't seem to find them
Avatar
for what do you want to compile it?
Avatar
Avatar
nwroot
Click to see original message
Avatar
for the kobo nia
Avatar
isn't there already an image?
3:07 AM
or you want to modify the software itself?
Avatar
but I want to build it myself
Avatar
Avatar
tux-linux
or you want to modify the software itself?
this also
Avatar
@Szybet has a Nia and contributes a lot to my code
3:08 AM
he is asleep right now but he will be able to guide you if you run into problems for the Nia
3:08 AM
TBH, you would be better off flashing the image and then compiling only the parts you want to change
3:09 AM
have you read about the security features this OS has?
3:09 AM
the kernel enforces signatures
3:09 AM
which I also want to disable
Avatar
Avatar
nwroot
which I also want to disable
you ... can't really (well, if you do, I will not accept the PR ^^) but you can build and sign all packages yourself if you want which we can guide you through (edited)
3:11 AM
it is designed with the possibility that one day it could be implemented on a custom device that could sell like a kobo
3:11 AM
one day
3:12 AM
you can also obtain a developer key, which eases signature verification a bit
Avatar
Avatar
tux-linux
you ... can't really (well, if you do, I will not accept the PR ^^) but you can build and sign all packages yourself if you want which we can guide you through (edited)
haha ofc
3:14 AM
I am talking about building without it
Avatar
what if you built it with your own keypair?
3:14 AM
this removes all the restrictions
Avatar
That would also work
Avatar
except you can't update it without compiling packages yourself
3:15 AM
which is not hard
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
3:16 AM
some idea on what the porting process was like for the Nia
3:16 AM
kernel build is automated by a script
3:21 AM
thanks
👍 1
3:21 AM
I will try those
Avatar
please note
Avatar
If I succeed I may actually contribute to your project
Avatar
there is an automated image builder
Avatar
Avatar
tux-linux
there is an automated image builder
oh?
Avatar
Reproducible image builder for InkBox OS. Contribute to Kobo-InkBox/imgtool development by creating an account on GitHub.
3:22 AM
which was a nightmare to write
3:22 AM
well it works
Avatar
yes
3:23 AM
but you need to set up the gui part yourself
3:23 AM
qt + arm toolchain
Avatar
Avatar
tux-linux
qt + arm toolchain
thats the inkbox repo right?
3:23 AM
I mean
3:23 AM
that's what I build with the qt toolchain
Avatar
well actually you don't
3:24 AM
but you need to if building for yourself (custom keypair) or if you want to get the latest commits
Avatar
Avatar
nwroot
that's what I build with the qt toolchain
yes
3:24 AM
koxtoolchain
Avatar
Avatar
tux-linux
koxtoolchain
I just need a "kobo" toolchain right?
3:25 AM
I mean, "kobo" toolchain works for all kobo devices
Avatar
Build script for various toolchains used by KOReader - GitHub - koreader/koxtoolchain: Build script for various toolchains used by KOReader
Avatar
or do I need to use another one or patch something for the specific device
Avatar
you have that one?
Avatar
kindle kindle5 kindlepw2 kobo nickel remarkable cervantes pocketbook bookeen
3:26 AM
that's the platforms
Avatar
yeah, take kobo
Avatar
I just choose "kobo" and let it do its thing right?
3:26 AM
alright
Avatar
you already built it?
Avatar
no but I will build everything now
3:26 AM
I am taking a backup of my SD rn
Avatar
ok good
Avatar
question, the private key needed
3:32 AM
how do I generate one
3:40 AM
that script gets the userspace apps from 23.163.0.39
3:40 AM
can I build these myself?
Avatar
what are you talking about exactly?
Avatar
I'm guessing those are the ones in the inkbox repo
3:40 AM
CURRENT_VERSION=$(wget -q -O - "${PKGS_BASE_URL}/bundles/inkbox/native/update/ota_current") printf "%s\n" "${CURRENT_VERSION}" | root_command tee -a "${MOUNT_BASEPATH}/user/update/version" wget "${PKGS_BASE_URL}/bundles/inkbox/native/update/${CURRENT_VERSION}/${DEVICE}/inkbox-update-${CURRENT_VERSION}.upd.isa" unsquashfs "inkbox-update-${CURRENT_VERSION}.upd.isa" -extract-file update.isa root_command cp -v squashfs-root/update.isa "${MOUNT_BASEPATH}/user/update/update.isa"
Avatar
yes, you can
3:40 AM
InkBox GUI bundle contents and generation script. Contribute to Kobo-InkBox/gui-bundle development by creating an account on GitHub.
3:41 AM
you need to have the gui part compiled
3:41 AM
then you can run that script
3:41 AM
thank
👍 1
Avatar
For the kernel I suppose the rooted kernel is better for doing dev stuff
3:48 AM
The standard kernel is far too restrictive
Avatar
yes, it's better
3:49 AM
the standard kernel is for the end-user
Avatar
[ERROR] cc1: error: no include path in which to search for stdc-predef.h
3:55 AM
Huh
3:56 AM
the koxtoolchain build failed with a mysterious error
Avatar
I'm not the maintainer for this one
3:56 AM
ye
4:10 AM
deleted everything and retried
4:10 AM
it worked now
Avatar
good
Avatar
Btw I need both the linaro toolchain and the koxtoolchain right?
4:11 AM
or just the kox one
Avatar
the linaro toolchain is included in the kernel repo
4:11 AM
so you just need to compile the kox one
Avatar
Alright
5:26 AM
is it me or this hardcoded path is just wrong
Avatar
you need a symlink
Avatar
Oh, alright
Avatar
Avatar
nwroot
Click to see original message
Avatar
Alright so managed to build the kernel and the rootfs
Avatar
congratulations
Avatar
however I can't figure out how to actually compile inkbox
6:06 AM
qmake?
Avatar
yes
6:06 AM
qmake && make
Avatar
any qmake? it seems to be using my arch compiler
Avatar
the qmake you compiled
Avatar
or will it use the toolchain automagically
Avatar
you did compile qt?
6:07 AM
I did the koxtoolchain script
Avatar
that's only half the way
Avatar
that doesn't have qt doesnt it
6:07 AM
oh well
6:08 AM
do I want a specific version of Qt?
6:08 AM
or do I just grab the latest and compile
6:08 AM
grab 5.15.2
6:09 AM
good luck
Avatar
thanks
Avatar
if it doesn't work I can send you my binaries but you seem to want to learn all of this yourself so go ahead
6:10 AM
I wanted to compile the kernel, boot and userspace
6:10 AM
rootfs uhhh
6:10 AM
no thanks
Avatar
you don't have to compile the platform plugin
6:10 AM
it's already on the gui-bundle and should work
Avatar
sorry to keep bothering you, but I finished compiling Qt and inkbox's bin
7:01 AM
InkBox OS emulator. Contribute to Kobo-InkBox/emu development by creating an account on GitHub.
7:01 AM
however the release scripts pulls these blobs
7:01 AM
what are they?
Avatar
U-Boot+firmware blobs we don't have control over
Avatar
e.g. waveform
Avatar
alright
Avatar
For the waveform, maybe you should take the one from your backup
Avatar
Avatar
tux-linux
e.g. waveform
what is waveform?
7:15 AM
I'm googling and its some magic partition
7:16 AM
Run that on your sd card backup
Avatar
Then you need to reflash it to InkBox sd card I think it's at offset 14336 but I don't remember for sure
7:17 AM
Maybe Szybet can help, it's 1.17am here
Avatar
It's alright
7:17 AM
thanks for the help
👍 1
Avatar
Normally it shouldn't be a problem but on some Kindles if you don't have the appropriate waveform for your device exactly the screen can stop working
7:18 AM
I never saw that happen on Kobos with my InkBox images
7:19 AM
So I think Kobos are ok with that
7:19 AM
But the best thing is to have your own waveform
Avatar
I extracted the waveform
7:20 AM
Is this buildable?
7:21 AM
or should I just use it
Avatar
Use it
9:22 AM
There is a script for self compiling everything with qt, toolchain etc in docker
9:22 AM
The guide is in a folder below
Avatar
Avatar
nwroot
for the kobo nia
Do you want to 3d print a case🥴 ? Only informing
Avatar
Avatar
tux-linux
Then you need to reflash it to InkBox sd card I think it's at offset 14336 but I don't remember for sure
I'm the kobo nia thread is the information for 100%
Avatar
Off topic: Edeka shops in Germany are using thousands ( in a single shop ) 3 color sink displays to show prices
10:54 AM
That's really cool, maybe eink will get cheaper because of demand
5:41 PM
I managed to create the image and flash it
5:41 PM
success!
5:42 PM
however I'm not sure the rooted flag worked
Avatar
You learn faster than anyone else Congrats (edited)
5:42 PM
Picture?
Avatar
ye it didnt boot a first
5:42 PM
I forgot to change the keys to my own
5:43 PM
So I changed them and it booted
Avatar
Good
5:43 PM
key.sqh?
5:43 PM
changed them all to my own
Avatar
Good
5:44 PM
dd if=/dev/mmcblk0 bs=512 skip=79872 count=1?
Avatar
hold on
Avatar
you could write a guide from your own experience if you want
Avatar
00000000 72 6f 6f 74 65 64 00 00 00 00 00 00 00 00 00 00 |rooted..........| 00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00000200
Avatar
It's there
5:46 PM
What doesn't work
Avatar
maybe I missed where all the root features where
5:46 PM
are they on settings?
Avatar
You need to enable usbnet
Avatar
echo true > P1/flags/USBNET_ENABLE
5:47 PM
There is a full wiki page on flags
5:47 PM
the onboard storage is an image
Avatar
can I just resize it (edited)
Avatar
Yes
5:47 PM
You need to create a new one
Avatar
is it just fat32?
Avatar
Yes
Avatar
Avatar
tux-linux
Picture?
Would be nice to see
Avatar
I am on uni rn
6:07 PM
Once I get back to my house I will send a picture
Avatar
Btw, some apps require a physical back button to exit
6:59 PM
but the nia doesnt have one
6:59 PM
How do I get around this
Avatar
Avatar
nwroot
Btw, some apps require a physical back button to exit
which ones
Avatar
Avatar
nwroot
but the nia doesnt have one
none ereader does
Avatar
Avatar
Szybet
which ones
calculator, for example
7:15 PM
or if I tell it to go to USB mode
7:15 PM
I can't tell it to return unless in plug in the usb
Avatar
Avatar
nwroot
calculator, for example
calculator needs a rewrite, i will do this one day ( @tux-linux please put the source on github )
Avatar
Avatar
Szybet
none ereader does
false
Avatar
Avatar
nwroot
How do I get around this
reboot
Avatar
Avatar
nwroot
I can't tell it to return unless in plug in the usb
thats because there is no way to detect if you umounted the usbms. if you find a solution, let us know. kobo uses some kernel hacking propably
Avatar
Avatar
Szybet
thats because there is no way to detect if you umounted the usbms. if you find a solution, let us know. kobo uses some kernel hacking propably
no I mean
7:17 PM
if I for example accidentally press it
Avatar
You need to unplug
7:17 PM
Press what
Avatar
Let's say that I'm to settings page and fatfinger the "enable usb"
7:17 PM
other than rebooting can I tell it to leave in some other way
7:18 PM
also interestingly my kobo has a 16gb sdcard
7:18 PM
yet the partitions all end on 8gb
Avatar
Avatar
nwroot
other than rebooting can I tell it to leave in some other way
maybe we may implement it? its cool
7:18 PM
the kobo nia on inkbox has some free space
7:19 PM
you can use more than on stock
Avatar
is there something like a terminal emulator inside inkbox?
7:20 PM
other than SSH'ing in
Avatar
Yes there is
Avatar
But I need to update the user app
7:21 PM
Or you can just use kterm in x11
Avatar
Avatar
tux-linux
Yes there is
it doesnt work?
7:23 PM
yet
Avatar
Finally pulled the trigger and got a proper case replacement (and SD card extension) for my Glo, now I can finally properly test InkBox.
10:55 PM
And somehow the touchpad is now fully working, no more deadzones.... I guess the little IR blockers or whatever on the side of the screens were broken / bent too.
Avatar
Great, did you install it?
Avatar
Not yet but very soon ™️ I'll post some glamour shot when done. (edited)
👍 1
Avatar
we are progressing for 2.0, 1.9 is really different in comparison https://www.youtube.com/watch?v=LCJrD-XcuPM
Avatar
Is there a snapshot/beta version build btw ?
Avatar
you can compile it yourself
11:47 PM
or I can send you a package (edited)
11:48 PM
tell me when you've installed 1.9
Avatar
ok then, thanks
👍 1
mari joined the server. 8/23/2022 12:26 AM
Avatar
hello hello
Avatar
Avatar
mari
Click to see original message
Avatar
Avatar
mari
Click to see original message
Avatar
aight stupid question incoming, Kobo Clara HD support? I see no mention in the downloads section
12:28 AM
i plan to stay no matter the answer
Avatar
he's working on it i believe
12:28 AM
OHHH wait
12:28 AM
understandable
Avatar
i might get one
Avatar
Avatar
mari
aight stupid question incoming, Kobo Clara HD support? I see no mention in the downloads section
you can help port it
Avatar
and choke like 90% of people
12:29 AM
hehe
Avatar
i have no experience with anything more complex than shell scripting lol
Avatar
Avatar
tux-linux
and choke like 90% of people
lmao yeah
Avatar
Avatar
mari
i have no experience with anything more complex than shell scripting lol
SAME
Avatar
this is still a really cool project
Avatar
thanks
Avatar
same with Kobox
Avatar
they actually have been merged together
👍 1
Avatar
I'm aware
👍 1
kobolibrah2o user joined the server. 8/23/2022 1:19 AM
Deleted User joined the server. 8/23/2022 1:19 AM
Avatar
Avatar
kobolibrah2o user
Click to see original message
Sticker
Avatar
Avatar
Deleted User
Click to see original message
1:21 AM
@kobolibrah2o user welp it seems you joined even before I posted my GH reply ;p
Avatar
Deleted User 8/23/2022 1:21 AM
hello
1:21 AM
I am that guy
👍 1
Avatar
check #porting / Kobo Libra H2O for details
Avatar
Deleted User 8/23/2022 1:21 AM
okay
1:21 AM
do you guys have a matrix chat or something like that
1:21 AM
irc xmpp etc
Avatar
no, sorry
Avatar
Deleted User 8/23/2022 1:22 AM
would be cool but no worries I have a discord account that I was planning on deleting anyway so I can use this server for the time being
Avatar
I cannot count how many times I've tried to leave discord but honestly I've got too much interesting stuff here to leave
1:32 AM
anyway my brain is beckoning to attempt a triple boot of PMOS, xcsoar, and Nickel and honestly I am pretty sure that that will never work but I've done arcane shit before so who knows
Avatar
Deleted User 8/23/2022 1:32 AM
tbh I left but realised I forgot to delete this account
Avatar
wait postmarket is alpine wtf am I doing
Avatar
Deleted User 8/23/2022 1:40 AM
yeah it is
Avatar
Avatar
mari
wait postmarket is alpine wtf am I doing
InkBox project is unrelated to this
👍 1
Avatar
i am aware, this is unrelated experiments of my own, prolly shoulda moved to offtopic now that I think about it....
Avatar
Don't worry, there is much worse than this as off-topic content
👍 1
Avatar
good to know
Avatar
Avatar
kobolibrah2o user
Click to see original message
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
mari
anyway my brain is beckoning to attempt a triple boot of PMOS, xcsoar, and Nickel and honestly I am pretty sure that that will never work but I've done arcane shit before so who knows
Lmaooo
Avatar
Avatar
Deleted User
do you guys have a matrix chat or something like that
I can do this, + a matrix to here bridge using a go progeam which name I forgot
9:36 AM
Well hello everyone new (edited)
Avatar
Avatar
Szybet
I can do this, + a matrix to here bridge using a go progeam which name I forgot
But more than 3 people would like to use it so
Avatar
Avatar
mari
anyway my brain is beckoning to attempt a triple boot of PMOS, xcsoar, and Nickel and honestly I am pretty sure that that will never work but I've done arcane shit before so who knows
The easiest way I see this is 3 SD cards and a logic switcher IC
👍 1
Avatar
Xcsoar already has a button in the menu to reboot into nickel
Avatar
ok well then
Avatar
Avatar
Szybet
I can do this, + a matrix to here bridge using a go progeam which name I forgot
we could also port a matrix chat program to chat on kobo
Avatar
i already looked into it
4:41 PM
there is nheko
Avatar
me too
4:41 PM
nheko seems like a nightmare to compile
4:41 PM
and to run
Avatar
matrix is hackable as ... making a simple client would be easy
Avatar
probably
Avatar
without encryption but yes
Avatar
i once ran the official telegram client on my libra (edited)
4:42 PM
it worked
4:42 PM
really well
Avatar
telegram is bad
4:44 PM
worce than discord
Avatar
why
Avatar
better in privacy than fb? no better for security than matrix? no as many features as in discord? no
Avatar
Deleted User 8/23/2022 6:13 PM
nheko is great I use it
6:13 PM
I talk to the guy who created it on a regular basis haha
Avatar
it might be great but not so great to cross-compile for an ereader
Avatar
Deleted User 8/23/2022 6:14 PM
we could have a simple irc client on kobo
6:14 PM
there are various suckless irc clients that are a few hundred lines of c
6:15 PM
you could always use something like weechat
6:15 PM
that has a matrix addon
6:15 PM
its all terminal based so it should be fine
Avatar
noone uses irc
6:16 PM
and i wont
Avatar
Deleted User 8/23/2022 6:16 PM
I use irc and a lot of people do irc is a great place
Avatar
no and no
6:21 PM
sorry
6:21 PM
i also used it
6:21 PM
its just stupid
6:21 PM
matrix exists
Avatar
irc is ok
9:45 PM
i use irc and similar on pubnixes or the likr
Avatar
Avatar
Deleted User
there are various suckless irc clients that are a few hundred lines of c
While i have personal issues with suckless im putting them aside for this where does one find these
Avatar
Deleted User 8/23/2022 9:46 PM
okay
9:47 PM
there are a few other irc ones on the site
Avatar
hell combined with something like bitlbee you can combine multiple protocols under just an irc client
9:48 PM
but first things first, getting an actual client running
9:49 PM
after you successfully compile one
9:49 PM
(preferably qt)
Avatar
I dont have a device to run inkbox on
9:50 PM
does inkbox have a terminal emulator by any chance?
Avatar
Avatar
mari
does inkbox have a terminal emulator by any chance?
in x11, yes
9:50 PM
in user apps, not really
Avatar
Ill see what i can do, in a couple days i gotta go in get my wisdom teeth removed lol
Avatar
good luck
Avatar
Deleted User 8/24/2022 1:29 AM
weird question but I have a device that is supported and it says that it needs 4gb of space for the sd card
1:29 AM
what happens if I have less than that and try to dd the image
1:29 AM
it wont work I know but like what error message will show
1:29 AM
because I been trying it so far and like I just have the dd process running for like 30 mins now
1:29 AM
still on going
1:31 AM
just cancelled it and nothing happened
1:31 AM
the device is the n905b
Avatar
Deleted User 8/24/2022 2:24 AM
anyway so I put an external 8gb card to the device and yeah finished dd into it but nothing happens
2:25 AM
it just tells me to please set up my ereader
Avatar
you need to replace the internal SD card (edited)
2:38 AM
Avatar
Deleted User 8/24/2022 2:41 AM
what website is that
2:42 AM
I might be seeing the wrong one
2:42 AM
I was using this
2:43 AM
URL is written
Avatar
I will add it
Avatar
Deleted User 8/24/2022 2:50 AM
thanks
2:50 AM
but yeah after taking apart the devices literally to scraps
2:50 AM
I realised I got the wrong model of ereader
2:50 AM
this doesn't even have an internel sd card thats removable
2:50 AM
n905 not b or c sadly
Avatar
N905A?
Avatar
Deleted User 8/24/2022 2:57 AM
yeah
2:57 AM
most likely
Avatar
Well you're screwed
Avatar
Deleted User 8/24/2022 2:57 AM
haha
2:57 AM
whats up with the n905a
Avatar
Has an emmc
Avatar
Deleted User 8/24/2022 2:57 AM
ebay doesn't accept returns
2:57 AM
it was only like 35 bucks
2:58 AM
so its not too bad
2:58 AM
got a slightly cracked screen that i can re use
Avatar
Well, try a mini, idk
2:58 AM
Or a glo
Avatar
Deleted User 8/24/2022 2:58 AM
I have a libra h2O that I will do it on
2:58 AM
so there is that
Avatar
You know that it's... difficult to install
Avatar
Deleted User 8/24/2022 2:59 AM
yeah I know, don't worry I know there isn't any liability or something so if I do break it its a skill issue
2:59 AM
but that wont stop me from trying
👍 1
Avatar
but you can still install it on eemc?
Avatar
Yes but it's not ported yet
8:36 AM
They can contribute (edited)
Avatar
what hour is in canada?
Avatar
i waked up and you are online
8:37 AM
thats strange
Avatar
8h37 - 6h
Avatar
Yeah almost
Avatar
I've been tinkering with init
8:38 AM
Got really far
8:38 AM
With some strange issues
Avatar
because its c
Avatar
Like posix spawn doesn't want to wait for process
8:40 AM
Is fakePid an actually valid implementation?
Avatar
i think so?
8:40 AM
maybe the posix spawn in c has a diffrent usage
8:41 AM
well syntax
8:41 AM
but
8:41 AM
there is wait for process below
8:41 AM
you know?
8:41 AM
can you show me the code?
Avatar
I don't know I just have the feeling that waitpid isn't waiting on the right pid
Avatar
that wpuld create many zombie processes you know?
8:42 AM
try to go to sleep many times and then check if there are any zombies
8:42 AM
if not, its working correctlt
Avatar
InkBox OS' initialization program source. Contribute to Kobo-InkBox/inkbox-os-init development by creating an account on GitHub.
Avatar
Avatar
Szybet
try to go to sleep many times and then check if there are any zombies
It's init
8:43 AM
I have a lot of uncommitted changes but this function stayed the same
Avatar
waitpid doesnt wait?
Avatar
It doesn't seem to
8:46 AM
At least not every time
Avatar
maybe diffrennt arguments are needed
8:46 AM
because now there are 0 p
8:46 AM
0
8:46 AM
0 0
Avatar
Yea
Avatar
Avatar
tux-linux
At least not every time
well i hope you writed everywhere tru to wait
Avatar
Yes
8:47 AM
Unless I didn't need it But that's not where the problem happens
Avatar
you need it
8:48 AM
because you will create zombie processes
Avatar
What if I want a background process
Avatar
be sure it doesnt die or collect it later
8:49 AM
ask niluje, its c
8:50 AM
Please review Wi-Fi GUI after xorg
8:50 AM
List networks bug
Avatar
i will
👍 1
8:50 AM
amd i will simply work with turned xorg
8:52 AM
I also updated ipd in the rootfs You will need to update GUI bundle and rootfs anyway
Avatar
Avatar
Szybet
what hour is in canada?
pretty sure it was 2 am
7:27 PM
💀 why were you online???
Avatar
sleep is temporary writing inkbox is eternal
Avatar
Avatar
Szybet
sleep is temporary writing inkbox is eternal
Yep thanks
Avatar
Avatar
OfficerAction
actually i also have a musl build lol
.
3:17 PM
Time travel
Avatar
well can he share it?
3:19 PM
im lazy
Avatar
If he comes back online
3:20 PM
You know
Avatar
Avatar
dill
also another bug: when i hit cancel on the file manager, it takes me to my recently read book
@Aramir : example (edited)
Avatar
Got early access to DALL-E This is what it generated with A Claude Monet painting of a computer programmer sitting at his computer. Astounding
8:32 PM
well skynet
Avatar
the first month you can generate 50 sets of pictures for free then every other month you have 15 free and you can buy more if needed
Avatar
Talk about timing ! I just installed stable-diffusion (tldr : it's open source DALL-E running on local gpu) yesterday
Avatar
this exists?
8:33 PM
more than awesome
Avatar
maybe ask dalle for an logo for inkbox
Avatar
Can it run on an AMD GPU?
Avatar
Avatar
Szybet
maybe ask dalle for an logo for inkbox
it needs a detailed description
Avatar
if you wanna give it a try you can install it the hard way https://www.assemblyai.com/blog/how-to-run-stable-diffusion-locally-to-generate-images/ or pick one of the many "all included" package, eg for windows I use this one https://grisk.itch.io/stable-diffusion-gui
Avatar
Avatar
tux-linux
it needs a detailed description
well whats the problem
Avatar
Avatar
tux-linux
Can it run on an AMD GPU?
for now it's nvidia only
Avatar
sad
Avatar
eg of output with "demonic device by HR giger"
Avatar
how many time to generate this?
Avatar
this one, less than 10 seconds
Avatar
on what gpu
Avatar
on a RTX 2070 super
Avatar
it doesn't run on cpu at all?
8:36 PM
even if it could take 100x longer?
Avatar
It's using cuda cores so I don't think so
Avatar
welp yeah
8:37 PM
but
8:37 PM
hope
Avatar
12 minutes not too bad
Avatar
On my RTX 2070s depending of the setting I'd say i'm having in between 2.5 and 5 iteration/s
8:41 PM
and it takes at least 50 iterations to get a descent results.
8:42 PM
150 iterations being the point of diminishing return. The AI seems to go too abstract after that or focus on details too much.
8:42 PM
I'm still learning it tho obviously.
Avatar
ok good
Avatar
It doesn't like text very much too (like most of AI). Here's a "logo for an ereader OS named inkbox"
Avatar
lmao
Avatar
pretty
Avatar
it has the shape of a pocketbook device
Avatar
well something without text
Avatar
AI sure is scary .... It will take over the world one day
8:44 PM
this xorg icon as the icon server is ugh
Avatar
I made this in Blender when InkBox didn't exist
Avatar
i know, its cool
Avatar
but it looks out of place now
8:44 PM
soo we need to replace it
Avatar
it's not an emergency
Avatar
i know
8:45 PM
you can try more on your AI to do it
Avatar
you should subscribe too
Avatar
Avatar
Aramir
It doesn't like text very much too (like most of AI). Here's a "logo for an ereader OS named inkbox"
if not, set this ;p
Avatar
it's free
Avatar
well yea
Avatar
I applied ~2weeks ago
8:45 PM
and received the invite yesterday
Avatar
Midjourney is also pretty amazing. Here take some movie posters for "space ninja versus robot"
Avatar
cool
8:50 PM
I wonder where it took the so distinctive christian cross in the first picture
Avatar
That's because I didn't gave it only "space ninja versus robot" as input.
8:51 PM
The exact prompt I created with this website https://promptomania.com/midjourney-prompt-builder/ tldr : if you're uninspired and want to communicate better with the AI this is the way to go. It will help you add a bunch of defails in your request.
Start using the best prompt builder for Midjourney - it's free and easy to use.
8:53 PM
There's also a version for stable-diffusion https://promptomania.com/stable-diffusion-prompt-builder/ but I'm not sure if Stable Diffusion GRisk GUI 0.1 is passing the information correctly. I'd have to compare the results in between using the gui and command-line. (edited)
Start using the best prompt builder for Stable Diffusion - it's free and easy to use.
👍 1
Avatar
Avatar
tux-linux
Got early access to DALL-E This is what it generated with A Claude Monet painting of a computer programmer sitting at his computer. Astounding
Craiyon is an AI model that can draw images from any text prompt!
Avatar
yeah I remember using dall-e mini. I was not impressed. Here's the result I had at the time for "brick wall texture"
9:02 PM
versus what I got with "stable-diffusion" yesterday
Avatar
im sharing my trauma with you.
Avatar
lmaaaoooo
Avatar
I haven't see an AI managed eyes correctly yet.
9:03 PM
and those cats would agree with me.
Avatar
the cat in the first picture seems to have two heads
9:05 PM
9:05 PM
I got this
Avatar
I like long face in the 2nd last ^^
Avatar
never again
9:06 PM
SPOILER
Image attachment
Avatar
the third one is not too bad
9:06 PM
they morphed into each other
9:07 PM
this is hilarious
9:07 PM
dall-e or stable-diffusion can probably do better
Avatar
What did you type ? "advertisement for the worst plastic surgery" ? (edited)
😆 1
Avatar
"couple of people"
Avatar
gonna give stable-diffusion a shot
Avatar
look! eyes!
9:08 PM
didnt helped :(
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
we've got some descents shots in there
Avatar
yeaaaah stable-diffusion is definetly lost here. "couple of people" is too vague for it to work correctly
9:10 PM
9:11 PM
we're not gonna talk about the 2nd one.....
9:11 PM
it has the "people" part right but that's about it.
Avatar
it's already better
Avatar
"cute couple" is a better formulation for that kind of request.
Avatar
DId you forget your results already ?
9:16 PM
at least those have eyes and teeth.... Maybe just a tad too much
Avatar
i know, still horryfying
Avatar
although that guy is not cute...
Avatar
Avatar
Aramir
at least those have eyes and teeth.... Maybe just a tad too much
liquid eyes
Avatar
Ok this one is too much I'm gonna stop now with "couple pictures"
9:18 PM
I'm loosing it
Avatar
hey, this is good
Avatar
the guy's face was bent by his gf's
9:19 PM
yeah, better
Avatar
But the posing of the guy, it's so creepy
Avatar
log into facebook
9:20 PM
there are similar pictures
Avatar
dude is probably pointing a gun at the poor girl with his right hand
9:20 PM
"now smile for the camera"
Avatar
Try Desperate programmer losing his patience at computer and tearing out his hair out of madness
Avatar
too much details, but hey it's gonna be fun... probably... maybe
Avatar
remove the hair part if needed
Avatar
close enough I guess
9:23 PM
programmer <=> beard
9:23 PM
noted
Avatar
well, it's almost right
Avatar
This one is nightmare fuel
SPOILER
Image attachment
Avatar
@Szybet , we should add an user app that does this it would be hilarious (edited)
Avatar
midori can do this propably
Avatar
Avatar
Aramir
This one is nightmare fuel
whoa
Avatar
but hmm
Avatar
Avatar
tux-linux
@Szybet , we should add an user app that does this it would be hilarious (edited)
maybe for 1 april
Avatar
no, stable-diffusion on ereader (edited)
9:25 PM
would take an hour to generate one iteration
9:25 PM
but would be cool anyway
Avatar
poor glo is gonna catch on fire
🤣 1
Avatar
well do you want me to help with the request thing? otherwise ESRI maps will not be there ;/
Avatar
stable-fusion (edited)
Avatar
i have no idea whats going on
9:26 PM
looking for logo
Szybet started a thread. 8/26/2022 9:29 PM
crass00 joined the server. 8/26/2022 11:25 PM
Avatar
Avatar
crass00
Click to see original message
11:26 PM
hello crass00, how is your day?
Avatar
Avatar
crass00
Click to see original message
looke joined the server. 8/27/2022 1:31 AM
Avatar
Avatar
looke
Click to see original message
1:42 AM
Helo loooke
Avatar
Hello there, welcome. Don't mind the creepy AI spiel just above we're cool and totally humans 🙂
Avatar
Deleted User 8/27/2022 2:31 AM
what are these pictures about
Avatar
Skynet taking over.
Avatar
Deleted User 8/27/2022 3:23 AM
😮
3:23 AM
na but actually what is it
Avatar
Avatar
looke
Click to see original message
Sticker
Avatar
Avatar
Deleted User
na but actually what is it
szybet is looking for an AI generated logo for inkbox
Avatar
Avatar
Szybet
soo we need to replace it
@tux-linux if we replaced that ereader, then we could do something with that
Avatar
maybe
Avatar
Avatar
tux-linux
maybe
wait
6:01 AM
we could put the text inside the ereader?
6:03 AM
__ | ink | | box | __
6:03 AM
that...
6:03 AM
didn't work
6:03 AM
but you get the idea
Avatar
Spent 12hrs debugging stable diffusion on 4G AMD GPU, it almost worked but I ended up getting segfaults at every invocation What a waste of time, congrats to myself
😢 2
Avatar
Avatar
crass00
Click to see original message
Avatar
Avatar
dill
@tux-linux if we replaced that ereader, then we could do something with that
I would want in the motto something like "not only for reading"
Avatar
Avatar
dill
szybet is looking for an AI generated logo for inkbox
ohhh
thwright joined the server. 8/28/2022 4:49 AM
Avatar
Avatar
thwright
Click to see original message
Sticker
Avatar
Avatar
thwright
Click to see original message
Avatar
what happened to that guy who self compiled qt?
Avatar
I think he's busy with university
7:09 PM
Or something like that
Avatar
oh okay
7:10 PM
i had hopes
Avatar
Discord new mobile update is weird
7:13 PM
It is
Avatar
"A photograph of an astronaut riding a horse" baked from my CPU! (stable-diffusion) (edited)
Avatar
"a photograph of Steve Jobs hugging Bill Gates"
SPOILER
Image attachment
4:41 AM
^ this was the 50th step
4:41 AM
this was the 20th, it's strangely almost better
SPOILER
Image attachment
Avatar
"a photograph of a sunset with mountains in the background, no clouds, evening"
5:05 AM
that one is really good
Avatar
...wow! thats amazing
👍 1
5:36 AM
"no clouds"
Avatar
yeah I know anyway, it's still good
Avatar
A Rick Astley painting by da Vinci and Van Gogh
Avatar
a color photograph of Bernie Sanders sitting down in a coffee shop, looking at a cat in the background @Aramir , this one took ~6min with 25 timesteps and one sample on CPU (got it working finally, https://www.youtube.com/watch?v=JQFemtBPexw) 576x576, 32G of RAM, I guess your rig would have done that in seconds? (edited)
Avatar
what cpu do you have
8:58 AM
and cooling
Avatar
oof yeah probably 10 seconds top
😅 1
Avatar
I still have to test it in command line and add txt2imghd to the pipeline
👍 1
9:25 AM
(that's probably gonna quadruple the rendering time at least)
Avatar
Are you going to start generating missing book covers with the plot outline and dall-e2?
😆 1
Avatar
Avatar
Szybet
what cpu do you have
Ryzen 7 3800XT 8C/16T Fan cooling I was given it (edited)
Avatar
Avatar
tux-linux
Ryzen 7 3800XT 8C/16T Fan cooling I was given it (edited)
well with half the perfomace in a laptop i dont think i have any chance
Avatar
maybe using your gpu.
2:05 PM
Even tux should have been able to use their amd card. (edited)
Avatar
gtx 1050 ti
2:05 PM
good luck
Avatar
Well, the official requirements are 10G of VRAM
2:05 PM
How much RAM do you have? (edited)
Avatar
vram I doubt it
Avatar
It's written on the readme
2:06 PM
Anyway 4G won't make it
Avatar
I doubt he has 24gb vram on a 1050ti
Avatar
Probably
Avatar
Avatar
Aramir
I doubt he has 24gb vram on a 1050ti
I meant RAM
Avatar
ram 24 16+8
Avatar
It ran fine on 32G You should get to 256x256 resolution at least
2:07 PM
I got to 576x576
2:08 PM
Better to run in from tty with display manager down otherwise will get OOM
Avatar
1050ti is 4gb ram so yeah you can forget it. I wouldn't bother with any card under 6gb vram.
Avatar
CPU version would be the only hope
2:11 PM
And honestly, it's not that long of a waiting time
2:11 PM
I've seen worse (Blender renders)
Avatar
Even 6gb it' s..... well you might generate 256x256 image with that but I wouldn't get my hopes up.
2:12 PM
8gb is the minimum viable. >10gb is good.
👍 1
2:13 PM
I found this guide with a cool illustration at the end showing the difference between each samplers https://rentry.org/GUItard (among a few other useful things)
👍 1
Avatar
I used ddim most of the time
Avatar
I don't even know which one I was using cause GRisk gui is "kinda jank but it works ™️". (edited)
Avatar
hehe I just used the cli
Avatar
Avatar
tux-linux
CPU version would be the only hope
i5 7 gen ( propably ) 4/8
Avatar
Should be fine Just slower (edited)
2:18 PM
RAM is the thing that matters most I think
Avatar
24 gb, it cant be a problem
Avatar
Well, I got oom'ed in KDE with 4G of used ram/32
Avatar
kde is kde
Avatar
The model checkpoint already weighs 4G
Avatar
should be ok, model itself should take about 3gb of ram, then it will expend with your targeted resolution
2:20 PM
yeah 3gb, 4gb ish
2:20 PM
that's why most low level gpu card can't handle it.
2:24 PM
There's also an amd guide on the same website https://rentry.org/sdamd (edited)
Avatar
well i dont think i will have time for this, because of this
4:02 PM
Avatar
Niaudio PCB?
Avatar
Nice
Avatar
What freaks me out about stable-diffusion is that it's open-source So no matter how good it is with invisible picture watermarking or NSFW content filter, people will always find workarounds and (possibly) lead to ... major ... society problems This is probably the one and only time I'm saying a software should not have been released as open-source ^^ (edited)
Avatar
thats what society needs to learn about, you wont avoid it with closed source software simply every picture should be signed, to proof its truth from a legit source something like nft but for veryfying truth and without a blockchain, and not scamming people
Avatar
Some tool like that was inevitable. It was bound to happen one day or another. I think having it closed-source and therefore only accessible to one party/country/enterprise would have been even more worrying.
Avatar
well, yes and no
Avatar
Now that it' s open, everyone is forced to acknowledge it and deal with it, learn how to recognize those images, etc
👍 1
4:47 PM
Honestly it's 2022 and I'm still baffled that there is no "digital hygiene" course of some sort.
4:47 PM
Just like there should be "mental hygien" overall.
Avatar
will take another 50 years for it to be implemented...
Avatar
Learn to think, learn to search, recognize dark pattern, recognize manipulation, etc
Avatar
closing source is like in a space - level civilisation trying to avoid unauthorized star ships weapons https://youtu.be/wTtIakFvOZc i think this is this video
Avatar
wu what ?
Avatar
a metaphor for this that spawned in my head
Avatar
I don't see the connection but ok I'll check
Avatar
Linus Torvalds meeting Queen Elizabeth II
SPOILER
Image attachment
Avatar
Thats horrifying
Avatar
Deleted User 8/29/2022 6:05 PM
what happened to his hand
Avatar
stable-diffusion 😉
6:23 PM
apart from the hands, it's pretty realistic
Avatar
What code are you using?
Avatar
python scripts/txt2img.py --prompt "a color photograph of Queen Elizabeth II meeting Linus Torvalds" --ddim_steps 30 --skip_grid --n_samples 1 --H 576 --W 576 --n_iter 1 --seed 5538821 (edited)
Avatar
Where does it grab the image content from?
Avatar
Avatar
NonaSuomy
Where does it grab the image content from?
AI
Avatar
model checkpoint
6:25 PM
it's trained, and can reproduce from them
Avatar
Avatar
tux-linux
Linus Torvalds meeting Queen Elizabeth II
photoshop flowers on these hands and post it on reddit and watch the world burn
Avatar
thankfully for the world, I will not do that ;p
☹️ 1
Avatar
Avatar
tux-linux
it's trained, and can reproduce from them
it's like being a cook and having all the ingredients; you can mix-match them at your will
tux-linux started a thread. 8/29/2022 6:35 PM
Avatar
Deleted User 9/1/2022 4:08 AM
who was gonna setup the matrix bridge again
8:05 AM
but if there were more than 3 people wanting it
🥴 1
8:05 AM
🥴
Avatar
Deleted User 9/1/2022 3:58 PM
oof
3:58 PM
but you never know if you do do that we may attract more people
3:59 PM
the people who usually dont have discord anyway
3:59 PM
I know quite a few of these types of people
3:59 PM
Who may just be deterred just because of discord in the first place
Avatar
okay, i will create a channel
5:06 PM
but not a bridge, still more people are needed
Avatar
Deleted User 9/1/2022 5:25 PM
Alright let me know
Avatar
eemmc? what cpu?
6:37 AM
where are the kernel sources
6:37 AM
🥴
Avatar
It'll be out on day one if we're lucky (and we might not be, as it might not be an ntx board)
7:07 PM
seems to be !i.MX given the speed at which it boots from what I recall
7:08 PM
which would confirm my hunch
Avatar
fcc photos?
Avatar
No clue if it's not still embargoed
wishindo joined the server. 9/3/2022 3:36 PM
Avatar
Avatar
wishindo
Click to see original message
Avatar
Avatar
wishindo
Click to see original message
Avatar
I just hope it will make the Clara cheaper so I can buy one
Avatar
They've been periodically on sale for a while now
Avatar
Not cheap for me...
Avatar
oh, new kobo
6:36 PM
good price too
Avatar
Avatar
tux-linux
Not cheap for me...
it's 159.99 CAD here in edmonton
Avatar
Avatar
dill
good price too
Avatar
way too much for me
Avatar
exactly
Avatar
Avatar
tux-linux
way too much for me
it's the cheapest kobo right now i think
Avatar
150€ here, I'm okay with that pricing too. I won't be upgrading tho cause ; I don't have infinite money, my libra h2o still work, I won't get anything under 7" screen for personal use.
Avatar
Deleted User 9/3/2022 8:01 PM
buy tux one and ship it to him
8:01 PM
let me know when the matrix room has been created
Avatar
Avatar
Deleted User
let me know when the matrix room has been created
@tux-linux are you willing to privilege me to create a official one?
8:18 PM
or simply a fan club ;p
Avatar
You're invited to talk on Matrix
1:58 AM
@Deleted User
5:52 PM
is this worth the money? (this is CAD, btw)
5:52 PM
@tux-linux
5:52 PM
Avatar
where is the gpu?
5:53 PM
which SSD? model
5:53 PM
which screen? model
5:53 PM
why pay for windows?..........
5:54 PM
uh
Avatar
for me seems like a scam for people who dont know computers
Avatar
b-but i know computers
5:54 PM
the gpu is amd radeon integrated
Avatar
Avatar
Szybet
which SSD? model
nvme pcie m.2
5:55 PM
the cpu has 8 cores, 16 threads
Avatar
Avatar
dill
the gpu is amd radeon integrated
even MC won't run on this
Avatar
i'm getting it for school lol
Avatar
Avatar
dill
nvme pcie m.2
yea and? it can be a shitty adata that will badblock itself after a month
Avatar
Avatar
dill
i'm getting it for school lol
good then
Avatar
2522.10 in poland
Avatar
well gimp won't run smoothly too
Avatar
Avatar
Szybet
yea and? it can be a shitty adata that will badblock itself after a month
true, but i've had good experiences with acer in the past
Avatar
Avatar
dill
true, but i've had good experiences with acer in the past
what i want to say that you dont know the specs
5:56 PM
also, is this a computer?
Avatar
or a laptop
5:56 PM
okay
Avatar
is there a version without windows?
5:57 PM
it would be cheaper
Avatar
Avatar
Szybet
what i want to say that you dont know the specs
you don't need to know the specs in detail if it's a trusted source though
Avatar
Avatar
Szybet
is there a version without windows?
no sadly
5:57 PM
plus i need windows for school (i'll be dual-booting)
Avatar
Avatar
dill
you don't need to know the specs in detail if it's a trusted source though
i trust no one
Avatar
Avatar
dill
no sadly
(i checked)
Avatar
Avatar
dill
plus i need windows for school (i'll be dual-booting)
i can give you a way to disable the watermark for free.
Avatar
watermark?
Avatar
windows has a watermark if it isint activated
5:58 PM
and nothing more
Avatar
oh it's probably activated tho
5:59 PM
plus i have like 10 windows product keys if it isn't
5:59 PM
from various computers belonging to my family
Avatar
also with a laptop is it full plastic? then after a year it will fall apart
5:59 PM
i glued mine with epoxy 3 times already
5:59 PM
the monitor henges will break
Avatar
Avatar
Szybet
the monitor henges will break
why
Avatar
also show me the insides of this laptop. if there is only one heat pipe its worth trash
Avatar
i don't think it's full plastic (edited)
Avatar
Avatar
Szybet
also show me the insides of this laptop. if there is only one heat pipe its worth trash
...how
Avatar
Avatar
dill
why
because plastic
Avatar
it has good reviews and i'm only planning to use it for school
Avatar
Avatar
dill
i don't think it's full plastic (edited)
it can be plastic with silver paint on it
Avatar
Avatar
dill
it has good reviews and i'm only planning to use it for school
reviews on the internet are worth nothing
Avatar
but i have a budget
Avatar
i can add there a review too if you want
Avatar
i can't spend more than this
Avatar
Avatar
Szybet
i can add there a review too if you want
true
Avatar
Avatar
dill
i can't spend more than this
and i've looked at a lot of options
Avatar
Avatar
dill
i can't spend more than this
sure, so search for the best one
Avatar
i did though
6:02 PM
it's the equivalent of 2,522 polish zloty
Avatar
for a laptop user that must repair its laptop every 2 months with new glue, a metal cover is a must for me
Avatar
Avatar
dill
it's the equivalent of 2,522 polish zloty
i know
Avatar
Avatar
Szybet
for a laptop user that must repair its laptop every 2 months with new glue, a metal cover is a must for me
i can't find any details
6:03 PM
nvm, found it
6:03 PM
aluminum and aluminum-magnesium alloy with plastic bezel
Avatar
if a laptop doesnt have details and is cheap - in 3 moths you will need to replace the thermal paste, disk and repair the cover
Avatar
Avatar
dill
aluminum and aluminum-magnesium alloy with plastic bezel
better than nothing
Avatar
Avatar
Szybet
if a laptop doesnt have details and is cheap - in 3 moths you will need to replace the thermal paste, disk and repair the cover
not necessarily
Avatar
Avatar
dill
not necessarily
i want to believe its not like that ;p
Avatar
the website i'm on doesn't give too many details
Avatar
well maybe someone dissasembled it?
6:06 PM
i just want this to last ~4 years
Avatar
it will overheat
Avatar
unlike my mom who thinks i should use it until i'm 30 :P
Avatar
Avatar
Szybet
it will overheat
i can see that, what do i do though
Avatar
where is the batter?
Avatar
heat isn't much of a problem
6:07 PM
idk let me see
Avatar
Avatar
dill
i can see that, what do i do though
well accept it
6:08 PM
what is this
6:08 PM
6:08 PM
and where is the ssd
Avatar
better picture
6:08 PM
it isint there?
Avatar
Avatar
Szybet
it isint there?
weird LMAO
Avatar
Avatar
dill
better picture
the metal cover here...
Avatar
Avatar
dill
Click to see attachment 🖼️
and this
6:09 PM
honestly i might just get it i'm not going to put too much strain on it
6:09 PM
i don't want good specs
6:09 PM
i want a usable computer
Avatar
those arent the same model
Avatar
the swift 3 has slightly different models
6:12 PM
i'll just go ahead and get it lol
6:12 PM
i've explored every option i can find
Avatar
i hope you won't regret then
6:14 PM
i doubt it though, but i'll see
6:14 PM
i'll be using a laptop bag anyways so it shouldn't be too damaged
Avatar
> you put your bag somewhere with this laptop > it will disturb someone, he will move it > the screen has a spiderweb on it thats my fear for my stuff
6:18 PM
thats why i only take to school an old lenovo tablet with linux and the cpu overclocked to write some notes (edited)
Avatar
#macbookair ;p
6:20 PM
Or a cheap-ass Android tablet w/ a BT keyboard and a stand (edited)
6:21 PM
That worked, too, but I never needed to run any custom software, just note taking
Avatar
Avatar
NiLuJe
#macbookair ;p
i wont touch this even if someone pays me
Avatar
Avatar
NiLuJe
Or a cheap-ass Android tablet w/ a BT keyboard and a stand (edited)
nah #linuxmasterrace
Avatar
It's (unfortunately) the best laptop money can buy (emphasis on money nowadays ;p; it wasn't so bad a few years ago, especially w/ student prices) (edited)
Avatar
i need to scare off my classmates with linux
Avatar
The only other sane solution would be a thinkpad tank, but that's no longer the same category/use case
6:23 PM
Because laptop are uniformly terrible
Avatar
Avatar
NiLuJe
It's (unfortunately) the best laptop money can buy (emphasis on money nowadays ;p; it wasn't so bad a few years ago, especially w/ student prices) (edited)
until something breaks, yes I already replaced the lcd cable in my laptop, and repaired the keyboard on lenovo tablet by removing the pogo pins and replacing them with a cable
Avatar
Which is why 99.9% of my recommendations for a laptop are actually: get a Chromebook (edited)
Avatar
Avatar
NiLuJe
Which is why 99.9% of my recommendations for a laptop are actually: get a Chromebook (edited)
only for school, yea that the best
6:24 PM
actually @dill maybe a chromebook?
Avatar
Avatar
Szybet
i need to scare off my classmates with linux
Take your notes with vi in a tty, instead of a graphical desktop. Maximum confusion from others looking over your shoulder.
Avatar
Something as simple as taking notes in something that supported Solarized Dark was enough to make people go "wtf" over here 😉 (edited)
6:24 PM
So, yeah, vi would be fun 😄
Avatar
Avatar
wishindo
Take your notes with vi in a tty, instead of a graphical desktop. Maximum confusion from others looking over your shoulder.
they are already scared when i boot it up
Avatar
(Another point for a mac: Ulysses is goddamn amazing)
Avatar
Ulysses?...
Avatar
It's a fancy writing app
Avatar
but have you seen joplin already?...
Avatar
It's Ulysses like, yeah
Avatar
open source and just better
6:27 PM
with syncthing i dont need internet access to sync between my phone
Avatar
Same, my notes were in a dropbox folder, and they're in MD
Avatar
dropbox has p2p support?
Avatar
No idea, but doesn't really matter (edited)
Avatar
also - android dropbox app is horrible
Avatar
Didn't actually need the dropbox app, just an MD-capable reader w/ dropbox API support (edited)
6:29 PM
Happened to be Jotterpad at the time, there are probably better solutions nowadays
Avatar
Avatar
dill
Click to see attachment 🖼️
I could never afford that for a laptop
6:40 PM
8G of RAM is not enough for this price
6:40 PM
2022 standard should be at least 16G
Avatar
8gb of ram and only 512gb of storage. I wouldn't take it
Avatar
8gb is fine?
Avatar
There's probably better offers out there for a similar prices (depending of your region ofcourse)
Avatar
for what do you need 16?
Avatar
gaming, to please the chrome ram hungry beast, video/photo editing, big projects compilations, etc
Avatar
he said for school
Avatar
I wouldn't advocate for 32gb, but yeah 16 is a good sweet spot
Avatar
also its upgradable propably
Avatar
Avatar
NiLuJe
#macbookair ;p
Expensive as shit though
Avatar
and he needs windows for school anyways. yeah he can hacks but most likely it will be a pain in the ass. So it rules out chrome books too. (edited)
Avatar
Avatar
tux-linux
2022 standard should be at least 16G
True
6:49 PM
I can upgrade ram easily tho
Avatar
Avatar
Szybet
actually @dill maybe a chromebook?
NOOOOOOOOO
Avatar
Avatar
dill
NOOOOOOOOO
No Don't.
11:00 PM
he will be missed
Avatar
Avatar
tux-linux
No Don't.
what?
11:00 PM
oh, don't get a chromebook
11:01 PM
yeah i got the acer
11:01 PM
on it rn
Avatar
the $699 one?
Avatar
hmm hmm
11:01 PM
at least now you have a decent cpu for running inkbox emulator on it
11:01 PM
and
11:01 PM
did you install linux yet
Avatar
Avatar
tux-linux
did you install linux yet
i'm planning to do it don't worry
👍 1
11:02 PM
:D
Avatar
lmao i only got set this thing up 5 minutes ago
Avatar
I used archinstall last time messed up my whole drive
Avatar
and i am VERY familiar with the arch installation process
Avatar
couldn't understand the partition layout
Avatar
what is archinstall?
Avatar
this has NORTON installed on it...
11:03 PM
why
Avatar
Avatar
Szybet
what is archinstall?
official arch guided installer
Avatar
crap
Avatar
Avatar
dill
official arch guided installer
what the heck is this heresy
Avatar
suggestion: do a clean windows 11 install
11:03 PM
your pc can handle it
Avatar
so this is a ryzen 7 5700U
Avatar
even if it may say it's not supported
Avatar
why 11?...
11:04 PM
do 10
Avatar
it can handle it
Avatar
no i'm comfortable with 10
Avatar
and unbloat it
11:04 PM
get a pro n version
Avatar
11 is unfamiliar
Avatar
Avatar
Szybet
and unbloat it
the ideal would be: uninstall it completely
Avatar
i have windows 10 home i think (edited)
Avatar
but of course you have school
Avatar
home is disgusting
Avatar
honestly i just want functionality
11:04 PM
for school (edited)
11:05 PM
and arch isn't stable so i might just get ubuntu or fedora
Avatar
i never had problems that weren't my own cause, so i dont understand you
Avatar
my brother in christ, once i deleted /lib
11:06 PM
lmao (edited)
Avatar
still repairable with arch chroot
11:06 PM
¯\_(ツ)_/¯
Avatar
no i don't want ANY problems lol
11:07 PM
once i missed 3 hours of school because linux kernel was broken again
Avatar
i have broken pulseaudio 15 minutes before lessons and restoring the backup took 10 minuts
11:08 PM
¯\_(ツ)_/¯
11:09 PM
nice
11:09 PM
i'll use fedora honestly (edited)
Avatar
fedora is good
Avatar
yeah or ubuntu
Avatar
but arch is too powerfull
Avatar
MAYBE endeavourOS but probably not
Avatar
i needed qt4 on linux mint so i installed arch linux in docker
Avatar
Avatar
dill
MAYBE endeavourOS but probably not
no
11:10 PM
i once tryied
11:10 PM
never again
Avatar
garuda if you want
Avatar
oh YEAHHH
Avatar
Deleted User 9/4/2022 11:30 PM
what happened
11:30 PM
fedora is good for user friendliness
11:31 PM
you don't really need arch
11:31 PM
I wouldn't even use arch (i did before)
11:31 PM
and don't go using artix either thats more cringe cause a lot of stuff won't work
11:32 PM
I would choose void over arch as it actually brings stuff to the table
11:32 PM
but albeit the install process would be more difficult than the just works arch
Avatar
Avatar
Deleted User
and don't go using artix either thats more cringe cause a lot of stuff won't work
yeah artix SUCKS
Avatar
Avatar
Deleted User
I would choose void over arch as it actually brings stuff to the table
installs bedrock\ HEY maybe i should install suicide linux
Avatar
Deleted User 9/4/2022 11:39 PM
bedrock is an interesting idea
11:39 PM
I never tried it myself
Avatar
it's surprisingly stable actually
Avatar
bedrock has in tbe faq that its unstable
Avatar
Deleted User 9/4/2022 11:40 PM
I would rather do these things from scratch if anything
Avatar
Avatar
Szybet
bedrock has in tbe faq that its unstable
it worked well for me idk (edited)
Avatar
Avatar
Deleted User
bedrock is an interesting idea
i tried installing LFS from a bedrock host... it did not go well
Avatar
Deleted User 9/4/2022 11:41 PM
you make bedrock from lfs
Avatar
i use bedrock
3:31 AM
havent had too many problems that wernt pebkac (edited)
Avatar
Add a --tiling option parameter which patches all models to use padding_mode='circular'. This causes SD to generate tiling images natively, in one go, without extra processing. It's a...
Avatar
is there a way to add github organisations to rss feed?
jwo joined the server. 9/6/2022 11:18 PM
Avatar
Avatar
jwo
Click to see original message
Avatar
Avatar
jwo
Click to see original message
alex(O_o) joined the server. 9/7/2022 12:33 PM
Avatar
Avatar
alex(O_o)
Click to see original message
1:58 PM
what
1:58 PM
you already was here (edited)
1:58 PM
were*
Avatar
Avatar
alex(O_o)
Click to see original message
Avatar
re
6:51 PM
yep, I don't know why but my discord app was buggy, I couldn't see the conversations... Quiting and re-joining fixed it ^^
👍 1
RDF300 joined the server. 9/10/2022 4:41 PM
Avatar
Avatar
RDF300
Click to see original message
Avatar
Welcome
👋 1
Avatar
Avatar
RDF300
Click to see original message
Avatar
Avatar
RDF300
Click to see original message
alex(O_o) joined the server. 9/10/2022 6:23 PM
Avatar
re-re
6:24 PM
it's a weird issue
6:24 PM
and annoying
Avatar
oh crud i didnt realise this was the main chat channel, been using inkbox all this time
Avatar
how to change time ?
Avatar
ntp sync
6:28 PM
but then you aren't on 2.0
6:29 PM
you need to change it from shell
6:29 PM
you can also install a development version
Avatar
please sir 😄
6:29 PM
or more how to exit out the openstreep map app XD
6:30 PM
give it to me and i break it. that's legit what they do at work
Avatar
Avatar
RDF300
or more how to exit out the openstreep map app XD
it will also be fixed in 2.0
Avatar
Avatar
RDF300
or more how to exit out the openstreep map app XD
already redesigned
Avatar
it is already fixed
6:31 PM
but the userapps server is currently down
Avatar
look at this
6:31 PM
you dont have this on the stock os ;p
Avatar
ooo fancy . the mini is slow so yea
Avatar
Avatar
tux-linux
but the userapps server is currently down
you dont have a backup?
Avatar
also i just reliased i taped the origional sd card to the back of the case before i upgraded it to 16gb
6:32 PM
so i might have the origional os, just need to flash that onto a bigger card and expand the space
Avatar
Avatar
Szybet
you dont have a backup?
yes, somewhere
Avatar
but i do prefer inkbox to the kobo os
👍 1
Avatar
Avatar
RDF300
but i do prefer inkbox to the kobo os
you havent tryied it yet
Avatar
True, i also need to make sure im on 1.9 before trying anything more ( as on 1.5 to 1.6 the card isnt automatically expanded )
Avatar
it isin't on 1.9 too... well @tux-linux add it too todo list. i think i will do this
Avatar
Avatar
RDF300
True, i also need to make sure im on 1.9 before trying anything more ( as on 1.5 to 1.6 the card isnt automatically expanded )
you need to do this manually with shell
Avatar
Avatar
Szybet
it isin't on 1.9 too... well @tux-linux add it too todo list. i think i will do this
what?
Avatar
right which i'm gesssing i need uart for ?
Avatar
Avatar
tux-linux
what?
expanding onboard
Avatar
= damaging mmc?
Avatar
yea doing that now, i got sidetracked and thought i did 1.9 but was on 1.6
Avatar
it's the development version
Avatar
ah ok let me download that one, i was doing the 1.9 found in the github updates folder
Avatar
Avatar
tux-linux
= damaging mmc?
what
Avatar
ooo i have an m5stick i recon i could use that to get uart access 😄
Avatar
Avatar
Szybet
what
how do you plan to 'expand onboard'
Avatar
currently its only 1GB
6:58 PM
on the nia it can be 10~
6:58 PM
well maybe bigger images then?
Avatar
so you are going to write 10G of zeroes to the mmc?
Avatar
what...
Avatar
Avatar
tux-linux
how do you plan to 'expand onboard'
.
Avatar
the mini can replace the sd card so i have an 8 in there at the moment but when i plug it in with usb it comes up at 510 MB
Avatar
expand the partition / onboard size
6:59 PM
do you really want to lock users to 1GB?
Avatar
onboard is a file
Avatar
while it can be 10?
Avatar
Avatar
tux-linux
onboard is a file
exactly, expanding it
6:59 PM
i did it once
Avatar
how
Avatar
i dont remember, you writed the instructions
Avatar
now do ls -sh /data/storage/onboard
Avatar
ahaha the image i had has the user trolltech
Avatar
=qt
Avatar
oh really ? fair, i was poking around and found this
8:36 PM
[Qt%20Factory%20Cache%204.8] com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqgif.so=2012-10-15T13:12:21, gif com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqico.so=2012-10-15T13:12:21, ico com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqjpeg.so=2012-10-15T13:12:21, jpeg, jpg com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqmng.so=2012-10-15T13:12:21, mng com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqsvg.so=2012-10-15T13:12:21, svg, svgz com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqtga.so=2012-10-15T13:12:21, tga com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\imageformats\libqtiff.so=2012-10-15T13:12:21, tiff, tif com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\local\Trolltech\QtEmbedded-4.6.2-arm\plugins\sqldrivers\libqsqlite.so=2012-10-15T13:12:21, QSQLITE
Avatar
makes sense then
Avatar
did davidfor pass away ? , just went to his page damn (edited)
Avatar
yea without him honestly this kobo would be eswaste by now
Avatar
Avatar
RDF300
yea without him honestly this kobo would be eswaste by now
inkbox?..........
Avatar
my mum would have chucked it away by now as she wanted more books
8:50 PM
so i upgraded it to a 16gb card
8:50 PM
and i only just got it back from her when she bought a new one after this one wouldnt boot correctly
8:50 PM
weirdly after i installed inkbox 1.0
8:50 PM
then swapped back to the 16gb card it just booted
8:51 PM
im happy to have inkbox just from what i have seen sofar it is still a beta i think
Avatar
you haven't installed the development version
Avatar
that is true, and now i know the 2gb card is effed i will try that
Avatar
sometimes after swapping sd card it wont boot, cpu wont detect the sd card. try some more bu removing it and putting it back
Avatar
with the 1.9 i do 1.5 > 1.6 > 1.9dev right ?
8:52 PM
it just stopped workingh without me taking a screwdriver to it
Avatar
Shhhi.... yea i did read that
Avatar
Avatar
RDF300
im happy to have inkbox just from what i have seen sofar it is still a beta i think
1.9 is a usable release, the current dev version with all improvments is okay, 2.0 will be the first release that i would say is good (edited)
👍 1
Avatar
jsut to confirm, its the 1.5 then 1.6 then the private link you sent before ?
Avatar
yes
👍 1
Avatar
must have an .htaccess file blocking my permission to it
Avatar
fixed
Avatar
on a side note i love it when our customers blame the hosting for something the webdev did with a htaccess file
Avatar
it was just a chmod issue
Avatar
ohhhhh still,
9:01 PM
with the "storage" issue, for me to resolve that within windows without a arduino at the moment is 0% right ?
Avatar
why don't you just want to install linux
Avatar
you mean what problem?
Avatar
Avatar
tux-linux
why don't you just want to install linux
i didn't wanted to give him this answer but its the best one ;p
Avatar
oh yea build from source ...
❓ 1
9:02 PM
i wonder if the WSL would work
Avatar
expanding the storage? built the root kernel, you get to the shell and the rest is easy
Avatar
Avatar
RDF300
i wonder if the WSL would work
Avatar
yea, i prefered the lazy and origional way of using disk genius and expanding the fat32 XD
Avatar
Avatar
RDF300
yea, i prefered the lazy and origional way of using disk genius and expanding the fat32 XD
Avatar
sorry, but you are making me lol
Avatar
i really like this gif
9:04 PM
w40k is always cool
Avatar
okay back to talking to me like i know nothing, how am i using linux to conenct to the kobo to increase the storage space, or am i taking the sd card out and using gparted bascilly
Avatar
take the sd card out
Avatar
usbnet / ssh
Avatar
or that
Avatar
ohhhhhh it supports thattttttt
Avatar
oh sorry you mean usb micro otg then a usb to ethernet ?
Avatar
just a simple usb micro cable
9:08 PM
nothing more
9:08 PM
nothing less
Avatar
Avatar
Szybet
O.o?
O.o
Avatar
o.0 0.o -.- 0.0
9:09 PM
sorry, ah fine i didnt know that the inkbox os supported that usbnet connection method. again i compare this kobo to the rg350
👍 1
9:11 PM
i have to cave one day and install linux over windows, i know enough of it
😢 1
Avatar
dual-boot: exists
Avatar
i'm making excuses shhhhh
Avatar
Bro once I booted 6 distros at once
5:59 AM
Just for fun but still lmao
5:59 AM
Tux probably remembers
Avatar
i just realised i have a spare pi 🙂
Avatar
you are rich then
Avatar
Avatar
dill
Bro once I booted 6 distros at once
bedrock linux
Avatar
Avatar
mari
bedrock linux
6 separate distros on 6 separate partitions
Avatar
was trying to joke
Avatar
oh ok lmao
1:13 AM
dont worry im stupid
8:53 AM
huge fan of foss
8:53 AM
im waiting, then :p
Avatar
Waiting for what?
Avatar
for him to port it 🥴
12:52 PM
i have hopes
12:52 PM
dreams too
Avatar
welp I hope you're right
Avatar
can i have admins rights for discord?
2:02 PM
for limited time if you prefer that
2:02 PM
i want the roles, welcome channel, forum feature
Avatar
The rM2 doesn't have a hardware EPDC, so a port is a no-go until https://github.com/matteodelabre/waved is ready
Experimental driver for the reMarkable 2 E-Ink display - GitHub - matteodelabre/waved: Experimental driver for the reMarkable 2 E-Ink display
8:00 PM
And REAGL support is going to be... tricky (like, patented tricky ;/)
8:01 PM
And you really don't want to use an rM without REAGL ;p
8:02 PM
(so, as usual, reddit is wrong: it does not support the usual mxcfb ioctl; unlike the rM1) (edited)
8:22 PM
"apple of einks" crap
ManuXD32 joined the server. 9/17/2022 4:03 PM
Avatar
Avatar
ManuXD32
Click to see original message
Avatar
Avatar
ManuXD32
Click to see original message
Sticker
Avatar
Are you still developing the sanki app for ereaders??
4:05 PM
i will soon add new features
4:05 PM
and repair it a bit
4:05 PM
so, yes
Avatar
Oh nice!!
Avatar
It will come with user apps support in 2.0 release (edited)
Avatar
I'm really interested in trying it but i haven't been able to compile it myself 😩
Avatar
Avatar
Szybet
wow
I think you have a tester now
Avatar
Hahahahha
4:06 PM
I'd like to
Avatar
Avatar
ManuXD32
I'm really interested in trying it but i haven't been able to compile it myself 😩
yes, its complicated
Avatar
probably needs to be updated though
Avatar
Qt 6 configure done, now compiling
Avatar
first, you need inkbox
Avatar
So i need to open the kobo nia to use the sdcard?
Avatar
pretty much yes
4:10 PM
you also have a nia
4:10 PM
nice
Avatar
Okay, gonna give it a try
4:11 PM
Thanks!
Avatar
Avatar
Szybet
you also have a nia
7th person
Avatar
In case it doesn't work i can just flash the official firmware right?
Avatar
Avatar
tux-linux
7th person
:D i want device roles
Avatar
Avatar
ManuXD32
In case it doesn't work i can just flash the official firmware right?
yes
4:11 PM
but do a backup before (edited)
Avatar
Avatar
Szybet
can i have admins rights for discord?
@tux-linux :D
Avatar
How do i? hahaha
4:12 PM
Just copying the info inside?
Avatar
make a img from the sd card
4:12 PM
whole copy
4:12 PM
there is a guide somewhere for it
Avatar
Okay, gonna look for it
4:13 PM
Thanks!!
Avatar
Avatar
Szybet
:D i want device roles
I added you to role permissions
Avatar
Avatar
tux-linux
I added you to role permissions
okay thanks, i will do it later
👍 1
Avatar
if(id == 99990) {?
6:37 PM
hm ok, but then why do you need to copy the whole function below and switch to that if it doesn't work? how could it not work?
Avatar
Avatar
tux-linux
hm ok, but then why do you need to copy the whole function below and switch to that if it doesn't work? how could it not work?
below are some custom lines
👍 1
Avatar
????????
7:02 PM
a function to choose between the regular function and the folder function if the option is enabled
7:02 PM
but you didnt provide a path to the config, so i left it as it is ;p
7:03 PM
7:03 PM
it took me an entire day to figure out to charge the battery
7:03 PM
7:04 PM
stupid me ;p
Avatar
Oh ok
Avatar
Hey again
7:12 PM
I've managed to install inkbox
7:12 PM
But i don't know how to install the app
7:12 PM
😩
Avatar
which version of inkbox do you have
7:13 PM
download this
Avatar
Done
Avatar
and extract it into .apps folder on the ereader
7:14 PM
via usb
7:14 PM
extract it, so there is a sanki folder and everything else inside it
Avatar
Should the directory be already there?
7:15 PM
do you have the "show hidden files" option enabled?
Avatar
I've only got one directory ".inkbox"
7:15 PM
Yep, i do
7:16 PM
user app are for 2.0 release
7:16 PM
well so now we have more work
7:16 PM
do you have a linux machine?
Avatar
Yeah
7:16 PM
Fedora 36
Avatar
you need to self compile the kernel
7:17 PM
fo inkbox
7:17 PM
with root enabled
Avatar
I've juts noticed that the storage is on read only
7:17 PM
How do i compile it??
Avatar
Avatar
ManuXD32
I've juts noticed that the storage is on read only
umm @tux-linux im pinging to precisely show you this message
Avatar
Avatar
ManuXD32
I've juts noticed that the storage is on read only
i have no idea about this, weird
Avatar
Avatar
ManuXD32
How do i compile it??
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
7:18 PM
and for the nia: env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
Avatar
Ohh thanks!!
7:19 PM
Gonna try it
Avatar
Avatar
ManuXD32
I've juts noticed that the storage is on read only
what storage
Avatar
The one that appears when you use the usb
Avatar
Avatar
Szybet
with root enabled
can you send him an update package? since you have the keys
Avatar
Avatar
ManuXD32
The one that appears when you use the usb
what's the output of mount
Avatar
Avatar
tux-linux
can you send him an update package? since you have the keys
i will send him, i already have everything compiled anyway
Avatar
thanks
Avatar
Avatar
tux-linux
what's the output of mount
The origin is protected against writting
Avatar
security cool but now we need to struggle if someone wants a dev version
Avatar
i will not merge your PR but handle it separately because of some merge conflicts
7:21 PM
so it will be only one commit
Avatar
Avatar
Szybet
security cool but now we need to struggle if someone wants a dev version
then they just have to compile everything themselves great learning experience we should put up a guide on the wiki
Avatar
Avatar
tux-linux
i will not merge your PR but handle it separately because of some merge conflicts
i dont care, just credit me
👍 1
Avatar
i already pushed your other patches
7:23 PM
and ticked some to-do list checkboxes
Avatar
Avatar
tux-linux
then they just have to compile everything themselves great learning experience we should put up a guide on the wiki
hmm @ManuXD32 do you want really spend some time with inkbox ( and sanki ) help us test it etc?
Avatar
Avatar
tux-linux
i already pushed your other patches
good
Avatar
Yes, i do!!
Avatar
Avatar
ManuXD32
Yes, i do!!
how long will you survive
Avatar
Hahahahha, i hope long enough
Avatar
if the init is done, the only major todo is the update process
Avatar
literally everyone here except the two of us are never available/gave up/lost interest/just decided to quit
Avatar
Avatar
tux-linux
how long will you survive
i see you are pesymistic at this point ;p
Avatar
it is a fact
Avatar
i know
Avatar
Avatar
tux-linux
literally everyone here except the two of us are never available/gave up/lost interest/just decided to quit
Sad to read that
7:25 PM
Tbh
Avatar
Avatar
ManuXD32
Yes, i do!!
well then i propose you build inkbox yourself
Avatar
Avatar
Szybet
if the init is done, the only major todo is the update process
I will finish reviewing the folders PR then continue init
Avatar
Avatar
Szybet
well then i propose you build inkbox yourself
and that you write a wiki page along the way if you want
Avatar
Avatar
Szybet
well then i propose you build inkbox yourself
Is it the same as compiling?
7:27 PM
My knowledge about the topic is very limited, but i'm willing to learn
Avatar
as for the update process: 1. just do a script inside the recovery 2. why isint the qt chroot upgrdable? just replace the isa file
Avatar
Avatar
ManuXD32
Is it the same as compiling?
yes
Avatar
Avatar
tux-linux
and that you write a wiki page along the way if you want
actually, he could improve my guide
Avatar
Avatar
Szybet
as for the update process: 1. just do a script inside the recovery 2. why isint the qt chroot upgrdable? just replace the isa file
2. I told you I would change that, I never thought I would need to upgrade it
Avatar
its pretty finished
Avatar
Avatar
Szybet
yes
Okay, i'm downloading the files
Avatar
Avatar
Szybet
actually, he could improve my guide
yes, and convert it to wikicode without pandoc, because pandoc has pitfalls too
Avatar
Avatar
ManuXD32
Okay, i'm downloading the files
which ones
Avatar
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
7:28 PM
Those
Avatar
ok so if @ManuXD32 you want to write a guide too: https://github.com/Szybet/niAudio/blob/main/inkbox.md here are some steps and hints you can learn from, you can improve the guide too
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
Okay!!
Avatar
I can add the steps i see more useful and even write a script
Avatar
for example, this is well-written stuff
Avatar
Avatar
ManuXD32
I can add the steps i see more useful and even write a script
script is already done
Avatar
Reproducible image builder for InkBox OS. Contribute to Kobo-InkBox/imgtool development by creating an account on GitHub.
7:30 PM
no, there is worse, but still
Avatar
also @ManuXD32 if you can, build everything inside a debian docker container ( distrobox is cool ) to avoid problems
Avatar
yea... sad that the authour left
Avatar
Avatar
Szybet
also @ManuXD32 if you can, build everything inside a debian docker container ( distrobox is cool ) to avoid problems
Didn't know i could break something by compiling it outside a docker hahahah
Avatar
Avatar
Szybet
yea... sad that the authour left
well, still around sometimes and he was really invested into the Sony like, more than I could ever be on any device one day, I will get the courage to fix it (edited)
Avatar
Avatar
ManuXD32
Didn't know i could break something by compiling it outside a docker hahahah
i learned it the hard way. cross compiling is weird, it can cause problems from machine to machine
Avatar
Avatar
tux-linux
well, still around sometimes and he was really invested into the Sony like, more than I could ever be on any device one day, I will get the courage to fix it (edited)
still sad that he completly left the project after it
Avatar
as (almost) everyone does, but it was a record time Daboone72 also stayed for somewhat long but never came back since ~feb 2022 (edited)
7:36 PM
so I am not saying that you are not welcome to be here, not at all, we are happy to help you but if you don't contribute or anything or leave it's a bit sad for us
Avatar
I get it, but i'm really willing to learn and contribute as much as i can
😄 1
Avatar
Hey, i've been trying to build the kernel like this but i can't seem to make it work 😩
Avatar
whats the problem
10:27 PM
error
Avatar
I get this output
10:29 PM
scripts/build_kernel.sh: line 46: cd: too many arguments ---- Building Kobo Nia (N306) kernel ---- ---- Building ROOT kernel for n306 ---- make: arm-nickel-linux-gnueabihf-gcc: No such file or directory ./scripts/gcc-version.sh: line 25: arm-nickel-linux-gnueabihf-gcc: command not found ./scripts/gcc-version.sh: line 26: arm-nickel-linux-gnueabihf-gcc: command not found ./scripts/gcc-version.sh: line 25: arm-nickel-linux-gnueabihf-gcc: command not found ./scripts/gcc-version.sh: line 26: arm-nickel-linux-gnueabihf-gcc: command not found CLEAN .tmp_versions CLEAN scripts/basic CLEAN scripts/dtc CLEAN scripts/genksyms CLEAN scripts/kconfig CLEAN scripts/mod CLEAN scripts CLEAN include/config include/generated arch/arm/include/generated CLEAN .config
10:29 PM
cp: target 'bb/kernel-master/initrd/n306/etc/init.d/rcS' is not a directory cp: target 'bb/kernel-master/initrd/n306/etc/init.d/startx' is not a directory cp: target 'bb/kernel-master/initrd/n306/etc/init.d/inkbox-splash' is not a directory cp: target 'bb/kernel-master/initrd/n306/etc/init.d/developer-key' is not a directory cp: target 'bb/kernel-master/initrd/n306/etc/init.d/overlay-mount' is not a directory cp: target 'bb/kernel-master/initrd/n306/etc/init.d/initrd-fifo' is not a directory cp: target 'bb/kernel-master/initrd/n306/opt/bin/uidgen' is not a directory cp: target 'bb/kernel-master/initrd/n306/bin/checksum-verify' is not a directory cp: target 'bb/kernel-master/initrd/n306/sbin/setup-wifi' is not a directory fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). ---- Kernel build ID is: WRu5ByVw ---- ---- Kernel commit is: ---- make: arm-nickel-linux-gnueabihf-gcc: No such file or directory drivers/input/misc/Kconfig:815⚠️ leading whitespace ignored make: arm-nickel-linux-gnueabihf-gcc: No such file or directory /bin/sh: line 1: arm-nickel-linux-gnueabihf-gcc: command not found HOSTCC scripts/dtc/flattree.o CC scripts/mod/devicetable-offsets.s make[2]: [scripts/Makefile.build:259: scripts/mod/empty.o] Error 127 SHIPPED scripts/genksyms/parse.tab.c make[2]: Waiting for unfinished jobs.... /bin/sh: line 1: arm-nickel-linux-gnueabihf-gcc: command not found make[2]: [scripts/Makefile.build:153: scripts/mod/devicetable-offsets.s] Error 127 make[1]: [scripts/Makefile.build:403: scripts/mod] Error 2 make[1]: Waiting for unfinished jobs.... HOSTLD scripts/dtc/dtc HOSTLD scripts/genksyms/genksyms make: [Makefile:555: scripts] Error 2 ---- There was an error during the build process, aborting... ----
Avatar
please use
10:30 PM
``` on discord
Avatar
Before the message?
10:30 PM
and after
10:30 PM
it will format it nicely
Avatar
Oh okay
Avatar
you propably need to symlink your kernel directory to /home/build/inkbox/kernel
Avatar
Avatar
Szybet
you propably need to symlink your kernel directory to /home/build/inkbox/kernel
Oh okay, gonna try it
Avatar
Avatar
ManuXD32
Click to see attachment 🖼️
exactly like that
10:35 PM
also for problems etc, use #quill
10:35 PM
here are some more regular conversations
Avatar
Oh okay!
Avatar
you are stikl here
3:46 PM
sadly not so often
Avatar
But of course
Avatar
spi is more on smartphones than ereaders
3:47 PM
but some flash chips use it
3:47 PM
¯\_(ツ)_/¯
Avatar
Ideally it's generalized information
Avatar
You can apply the information processes with pretty much dumping any firmware.
3:58 PM
Hopefully they continue with the series
3:59 PM
Like once you dump analyzing the firmware etc.
Avatar
Avatar
Szybet
sadly not so often
I got lost in decoding the CANBus of a car radio to use the steering wheel controls to send commands to the raspberry pi
4:17 PM
Also camera machine learning with Coral on PoE cameras
Avatar
Avatar
NonaSuomy
Like once you dump analyzing the firmware etc.
binwalk
Avatar
Yeah it mentions that and we used that before
11:15 PM
4 days to get a usb hub working
11:15 PM
programming is easy
11:15 PM
anyway, soon i will start work on audio
Avatar
What is the picture of?
Avatar
niAudio
8:48 AM
pcb
Avatar
a custom pcb they designed to add audio to the glo nia
Avatar
why they?... its me
10:30 AM
only to the nia
Avatar
"they" is a common way to refer to someone in a genderless fashion. (disclaimer nothing to do with "woke" mindset, please don't start this debate). As I don't know if you're a guy/girl even tho I have strong suspicions I use "they".
Avatar
whatever as a non english native speaker, its confusing
Avatar
I understand, it got me the first time too.
12:23 PM
But then I started to notice it being used more and more in that way
Avatar
if i would use for my final english exam, i wouldnt pass it :p
Avatar
What's the machine in the back of the picture?
4:48 PM
the white box
Avatar
my custom made regulated power supply
4:54 PM
with some fancy featurews
Avatar
Can you take a better picture of it?
10:08 PM
yay
Avatar
Very good We should have a fundraiser so I/we could buy it
Avatar
maybe... first finish the first clara
Avatar
Yeah, a fundraiser for the first Clara would be fair too
Avatar
Avatar
tux-linux
Very good We should have a fundraiser so I/we could buy it
160 CAD i could get that in 1-2 months
Avatar
We’re excited to roll out a new way to help your community server hold organized, meaningful conversations without drowning each other out: Forum Channels.
Avatar
i want this^
5:28 PM
+ i added device roles to discord
5:28 PM
not all devices tho
Avatar
Anyone tried to flash a tolino board with inkbox btw ? They're supposed to be similar to kobo
2:05 PM
(please don't add it to the todo list, I'm just curious)
Avatar
not me
Avatar
would be hard I think those are European exclusive (and not even available in every european country making it extra painful to get) (edited)
Avatar
i think mostly in german countries
2:12 PM
in north of germany they were in every library
Avatar
deutschland, belgium, italia, switzerland, netherlands and austria
Avatar
Avatar
Aramir
Anyone tried to flash a tolino board with inkbox btw ? They're supposed to be similar to kobo
no one willing to do anything
2:29 PM
in short
Avatar
np was just curious to see if the boards were the exact same or not.
Avatar
yeah so after investigation they're not the exact exact same boards but very very similar.
3:21 PM
https://github.com/akemnade/u-boot-fslc/wiki https://wiki.postmarketos.org/wiki/Kobo_Clara_HD_(kobo-clara) didn't know this wiki existed, lots of info in there (probably none you didn't know already) (edited)
Avatar
yeah apparently the tolino shine is very very close to the clara hd
Avatar
Avatar
Aramir
https://github.com/akemnade/u-boot-fslc/wiki https://wiki.postmarketos.org/wiki/Kobo_Clara_HD_(kobo-clara) didn't know this wiki existed, lots of info in there (probably none you didn't know already) (edited)
andi is the author
Avatar
I just noticed there's two serial connectors on my Kobo Glo.... Are they both supposed to work ?
Avatar
one is for bluetooth?
9:14 PM
gsm connection?
9:14 PM
the point is, another chip uses uart to communicate with the cpu
9:14 PM
for the nia its bluetooth, but the chip isint soldered
9:15 PM
well maybe it will work, its still conected to the cpu
Avatar
I have no clue what if it s the correct one
9:18 PM
don't judge my soldering skills ... I'm working with a 10 years old 10$ soldering iron (edited)
9:19 PM
busybox microcom -t 115200 /dev/ttyUSB0 doesn't respond
Avatar
Avatar
Aramir
don't judge my soldering skills ... I'm working with a 10 years old 10$ soldering iron (edited)
nah its good
9:19 PM
i saw worse
Avatar
neither do screen /dev/ttyUSB0 11520
Avatar
respond to what?
Avatar
(I'm guessing that's the correct baudrate)
Avatar
maybe you swapped tx rx?
9:20 PM
yes it is
9:21 PM
you can't see it because of the wires but I'm respecting that chart...
Avatar
you connected vcc?...
Avatar
I tried both
Avatar
Avatar
Aramir
Click to see attachment 🖼️
you arrent connecting it straight to to usb?
9:21 PM
no.......... disconnect vcc
9:22 PM
if you supplied 5V the rip i think
Avatar
fuuuuuu
Avatar
Avatar
Szybet
you arrent connecting it straight to to usb?
?
9:22 PM
i mean
9:22 PM
was there magic smoke?
9:22 PM
if not, maybe there is hope
Avatar
no magic smoke, and device still shows up on my linux
9:23 PM
so I'm safe
Avatar
does it work
Avatar
Avatar
Szybet
you arrent connecting it straight to to usb?
?, this image is cursed btw
9:23 PM
that you posted
Avatar
still silent, but the UART usb is not dead
Avatar
Avatar
Szybet
?, this image is cursed btw
how so ?
Avatar
Avatar
Aramir
how so ?
usb straight to tx rx
9:24 PM
are you using a converter or not?
9:25 PM
well maybe you killed only the uart
9:25 PM
happened once to a guy when porting
9:28 PM
there's some chip in it. I've used it before to flash a router.
Avatar
i have the exact one
9:29 PM
is pretty good
9:29 PM
9:30 PM
1. isint 5v connected to TX? ( short ) (edited)
9:30 PM
2. thats a weird configuration
9:30 PM
you know you need to connect the kobo TX to your RX?
Avatar
That might be it
9:32 PM
I might be a complete morron
Avatar
Avatar
Szybet
maybe you swapped tx rx?
i said it here
9:32 PM
+ it happens to everyone
Avatar
I thought you meant I swapped during the soldering. soldered the RX cable on the RX pin
Avatar
well this means the same thing
Avatar
Swaping those real quick
9:34 PM
I'm somewhat smart, I didn't solder the usb cable directly
9:35 PM
those connections, sometimes doesnt work
9:38 PM
gonna try the other port
Avatar
just to be sure
9:53 PM
what soft / command do you use to connect to serial port
9:53 PM
and is there some kind of special procedure
Avatar
i use minicom
9:54 PM
and nothing fancy
Avatar
k that name rings a bell
Avatar
sometimes hardware flow neds to be changed
9:55 PM
screen should also work
9:57 PM
you have issues with suspending your app right?
Avatar
why not leave it to the inkbox power daemon, and focus on whats truly matters :D?
Avatar
That's on the roadmap ^^
10:00 PM
Anyways, once in minicom "print screen" / ctrl A C should print a bunch of logs whenever I'm pressing buttons ?
10:00 PM
cause now it's still dead silent
Avatar
its more complicated
10:01 PM
maybe now, focus on getting anything on the screen
10:01 PM
shut down your ereader / turn it on
10:01 PM
you should get u-boot logs on the screen
Avatar
wait isn't there something about the dialout user group
10:03 PM
damn it
10:03 PM
that might be it
Avatar
obviously run it with sudo?...........
10:03 PM
run it with root
10:03 PM
the group might be uucp too
10:03 PM
ls -l /dev to be sure
Avatar
meh if sudo is ok sure
Avatar
maybe from bare root
10:03 PM
to be sure
10:03 PM
¯\_(ツ)_/¯
Avatar
I mean my uart usb interface is there crw-rw---- 1 root dialout 188, 0 sept. 27 22:01 /dev/ttyUSB0
Avatar
at least this
Avatar
but then nothing in minicom
10:05 PM
(gonna try to switch to english for your convenience)
Avatar
nah, u-boot logs are in english
10:06 PM
but they arent there
Avatar
seems like everything should be running
10:08 PM
I'm starting to question the damn uart dongle
Avatar
if its the one you send me, its okay
10:08 PM
you can try shorting rx to tx, then you will se your own messages
Avatar
welp nothing when shorting rt to tx together
Avatar
toggle hardware flow in minicom
Avatar
looks like I can buy another uart usb key
10:15 PM
oh ok
Avatar
Avatar
Szybet
toggle hardware flow in minicom
still nothing
Avatar
try other program
10:18 PM
are you shorting only rx tx of the usb adapter?
10:19 PM
are the diodes on the usb - uart adapter even flickering?
Avatar
No USB leds to check
Avatar
Avatar
Aramir
No USB leds to check
because?
Avatar
Cause it s a cheap usb UART thingy
Avatar
its crap
10:22 PM
you can dissasemble it if you want
Avatar
just done it
Avatar
can i have a look?
Avatar
XDDDDDDD
10:24 PM
it has no cristal oscilator
10:25 PM
that it shows up for the pc is a miracle already
Avatar
I swear I've managed to flash OpenWRT with that """thing"""
Avatar
with what baud rate
Avatar
don't remember that was years ago
10:26 PM
anyways I'm off to amazon getting a new one
Avatar
try 1280 baud rate and then short the pins / try to type something
10:27 PM
if it doesnt work, toggle hardware flow once more
10:27 PM
if it still doesnt work, its trash
Avatar
klslskl?
10:30 PM
showed up?
Avatar
no i rage typed in it
10:32 PM
when you're telling me to type something
10:32 PM
you mean in another terminal ?
Avatar
no, in this one
Avatar
just to be extra sure
10:32 PM
ok
10:32 PM
so yeah I type ls in it
Avatar
does klklkl show up even if you disconnect rx tx?
Avatar
and then nothing so I spammed
10:32 PM
nope
10:33 PM
gonna short it right on the freaking board to be sure it's not the wires
Avatar
so it showed up only when they are connected?
Avatar
it showed up when I type it in minicom
10:34 PM
but it did nothing
Avatar
Avatar
Aramir
it showed up when I type it in minicom
thats the point
Avatar
Avatar
Szybet
so it showed up only when they are connected?
yes or no
Avatar
yes it showed up when I typed it
10:36 PM
in the minicom console
10:36 PM
I type ls in minicom
10:36 PM
it shows up ls
Avatar
so when you disconnect it, it doesnt show up?...
Avatar
that's indeed not happening if I'm not shorting things up
10:36 PM
so shorting rt and tx allows me to type things in minicom
10:37 PM
so it's not totally dead yet
Avatar
yes, its working
10:37 PM
wow
Avatar
ok sorry
10:37 PM
really sorry
Avatar
now try this with a higher baud rate
10:37 PM
nah no need to be
Avatar
still shorting rx to tx ?
Avatar
I can type using 115200
Avatar
so its working
Avatar
gonna hook it back up to glo and see if I can type things
10:39 PM
then I'm gonna probably RTFM again
Avatar
Avatar
Aramir
gonna hook it back up to glo and see if I can type things
it will not work
Avatar
first get anything on the screen
Avatar
when you send a letter to kobo, kobo needs to send the latter back to you
10:40 PM
the kobo doesnt seem to live
10:40 PM
soo
10:40 PM
try to reboot it when connected
Avatar
honestly it might have been responding and I was dumb
10:40 PM
maybe I typed ls and expected it to respond when hitting enter
Avatar
if it was rebooting when you were connected, it should output a lot of thins
10:41 PM
you would notice that
10:43 PM
btw I rehooked it and the kobo responds, I can type things in minicom
10:43 PM
it still only shows what I'm typing so it's useless
10:43 PM
but it's something
Avatar
reboot the kobo
10:45 PM
with the power butto
Avatar
led is blinking green but nothing shows up on the kobo screen
10:51 PM
one reboot later it works again but still nothing shows up
10:51 PM
one character showed up
10:53 PM
I'm gonna stop spamming for now and read some manuals
10:53 PM
lol
Avatar
your connection is bad propably
10:54 PM
or you have set the wrong baud rate
Avatar
omg there's a third rx /tx pin
11:00 PM
WHY
11:00 PM
👀
Avatar
https://discord.com/channels/809205711778480158/809205711778480162/1024399393920659578 One where I initially connected on this pic, one on the right (in the red "paint") and one at the top right
Avatar
maybe just ask @tux-linux which one is the good one?
Avatar
I'm gonna kick someone in the balls
Avatar
Avatar
Aramir
I'm gonna kick someone in the balls
11:02 PM
🥴
Avatar
the night is not over yet, it can still happen
11:04 PM
So I tried the one labelled J2, J5 and not J1 yet
Avatar
Avatar
Aramir
omg there's a third rx /tx pin
It's called gnd
Avatar
xd no that's not what I meant
11:10 PM
gimme a minute
11:13 PM
There's 3 sets of serial pins
11:13 PM
I've been trying to get an answer from J2 and J5 for a couple hours for now and just noticed J1 at top
11:13 PM
is it this one I'm supposed to connect to ? (edited)
Avatar
try every one
11:32 PM
¯\_(ツ)_/¯
Avatar
can't even type using J1
Avatar
first you need u boot logs...
Avatar
oh yeah I try that everytime
11:51 PM
ofc I got nothing
Avatar
Avatar
Aramir
is it this one I'm supposed to connect to ? (edited)
I don't remember Probably j5
12:03 AM
what is writed on this IC exactly
12:04 AM
i doubt its this
Avatar
MSP430 is right, no idea if there are different variants
Avatar
43062333
12:11 AM
12:11 AM
I'm done for tonight
12:12 AM
I'm more damaging the board that actually soldering stuff
12:12 AM
I'm buying a new iron tomorrow
12:14 AM
hopefuly I haven't totally destroyed eveything yet
12:16 AM
I tried everything so I m assuming I just suck at soldiering
12:17 AM
which honestly isn't that far off. It's probably my worst soldering job yet but I swear this thing can barely melt the tin
12:19 AM
Gonna get a new tip at the very least
12:20 AM
kinda hard to take pic of my tip (that's what he said)
Avatar
thats what he said fr
12:33 AM
freaking weird
12:34 AM
kobo are you drunk
12:34 AM
the serial connection nextto this chip is to program it
12:36 AM
12:36 AM
btw thats a short for sure
12:36 AM
why youdont check the connections with a multi meter?
12:36 AM
+ you are doingg all of this woth the battery connected
12:36 AM
not a fan of this
Avatar
I'm not. I'm just reconnecting it to test thing (edited)
12:38 AM
next chapter tomorrow. I'm honestly worried that I've destroyed the pad with this iron. (edited)
Avatar
Avatar
Szybet
the serial connection nextto this chip is to program it
so what you're saying is that J1 is definetly not the one to be used
12:40 AM
I'm longing for that J5
12:41 AM
but that's the one with a big gaping hole instead of a ground at this point. Not that it really matters there's ground everywhere
Avatar
Also that ground wire wasn't shorting when placed face down. It looks like it s shorting there because I was holding it weirdly for the pic (edited)
12:53 AM
Hopefully tomorrow will be better with proper gear. Otherwise I ll crack open the glo hd and move on to it (edited)
Avatar
http://gethighstayhigh.co.uk/kobo-self-build/ so it looks like it should indeed be J5
Which Kobo Model? Your new Kobo – firmware update Your new Kobo – backup the SD Card Connecting an instrument to a Kobo – overview Removing the rear cover Inside a Kobo – Serial port Inside a Kobo – SD Card Inside a Kobo – Battery Dissembling a Kobo Connecting a Bluefly to the Kobo … Continue reading Kobo Self Build →
9:46 AM
Also wow, what a neet usecase
Avatar
you son of a b***
10:31 AM
@Szybet the wiring diagram for the uart was wrong ..... or at the very least missleading, it inversed rx and tx. And I have to NOT connect ground
10:32 AM
thanks ali express
10:33 AM
it's so beautiful I want to throw up.
10:34 AM
or that's just my covid. (turns out I've got 38,8°c so I might actually be sick) (edited)
Avatar
Avatar
Aramir
@Szybet the wiring diagram for the uart was wrong ..... or at the very least missleading, it inversed rx and tx. And I have to NOT connect ground
-_-- i said invert tx rx
Avatar
and I tried but probably on J2 not J5
Avatar
it's all stupid stuff, I accept full responsibility.
Avatar
well you learned things
Avatar
thanks for putting up with me
10:41 AM
The worst thing is ..... I now remember that the ground caused similar trouble last time too
Avatar
Is it normal that I can't pass the booting kernel step when I'm connected ?
11:36 AM
(stock rom here, but same with inkbox)
11:39 AM
... nevermind now it does... I'm gonna resit the sd card ribbon (even tho it boots just fine when serial isn't connected) just to be safe and try to mess around with baudrate to get rid of those weird characters (edited)
Avatar
figured it out
12:14 PM
turns out the ground is needed but I probably burnt the pad on board woopsie.
Avatar
And now I can forget about this whole mess
Avatar
Avatar
Aramir
or that's just my covid. (turns out I've got 38,8°c so I might actually be sick) (edited)
i'm sick too :p
Avatar
So just for fun I wanted to try to make it work on my WSL2 setup. Because I like pain. And turns out : 1/ you still can't connect usb devices to WSL2 => solved, you can connect them through ip using usbipd https://github.com/dorssel/usbipd-win/wiki/WSL-support. Pretty easy. 2/ the debian kernel provided by microsoft does not have the pl2303.ko module required to use my specific USB-UART device. And you can't add compile and add modules to it. Therefore I have to recompile a kernel. 🤡 I will not spam here about this don't worry. I just wanted to share my experience so far as I think I'm pretty much the only mad enough to use WSL2 around here. I'll come back to share if I succeeded. see ya all.
8:41 PM
the perfect solution
8:41 PM
i know
8:41 PM
no need to thank me
Avatar
XD I know
8:53 PM
I just want to see if it can be done.
Avatar
That was quite easy actually. Some instructions if someone crazy enough wants to give it a try somehow : // Assuming you're already running a WSL2 (debian) //**************** How to serial connect in WSL2 **************** 1/ install usbipd on windows's side to share usb device through IP with WSL2, more info here : https://github.com/dorssel/usbipd-win/wiki/WSL-support 2/ install bunch of necessary software in WSL2 (might be some unnecessary ones depends of your needs, distrib) with : sudo apt install linux-tools-5.10 usbip hwdata usbutils usbserial setserial 3/ In some Admin Powershell (urgh), lis usb devices busids with : usbipd wsl list 4/ link usb device to WSL2 with usbipd wsl attach --busid [BUS_ID] 5/ check if /dev/ttyUSBxxx shows up. If not ... guess what ... WSL2 kernel probably doesn't have your device's driver. To be sure, check it out with ls -l /sys/bus/usb-serial/drivers. You'll have to build your own kernel then. //**************** How to build custom WSL2 kernel **************** 1/ sudo apt install build-essential flex bison libssl-dev libelf-dev git dwarves 2/ git clone https://github.com/microsoft/WSL2-Linux-Kernel.git 3/ cd WSL2-Linux-Kernel 4/ cp Microsoft/config-wsl .config (might as well change CONFIG_LOCALVERSION in it while you're at it so you can differentiate your kernel later on) 5/ Make menuconfig 6/ Enable your driver : Device Drivers -> USB Support -> USB Serial Converter support -> [whatever device you're using] 7/ make -j xxx (xxx being how many cores you want to build with) 8/ cp arch/x86/boot/bzImage /mnt/c/[USER_NAME]/wsl_kernel 9/ Create the following file C:\Users\<UserName>\.wslconfig with this content : [wsl2] kernel=C:\\Users\\aramir\\wsl_kernel 10/ in powershell/cmd wsl --shutdown (just to be sure) 11/ relaunch your WSL2 and check out your new kernel with : uname -a and voila !
Avatar
im sure installing linux is quicker
Avatar
If I had to do it from scratch it'd probably take me 20 minutes including kernel's compilation.
10:16 PM
so 5 minutes following the instructions and 15 minutes sitting on my chair and watching youtube.
10:18 PM
but honesty I discovered that "make menuconfig" step during wsl2's kernel compilation have been quite eyes opening. I've seen ways to enable multiple things that I've been missing until now. So I'm glad I did it, I learned some things.
10:19 PM
i dont know if spaming linux memes is against the server rules
10:19 PM
but i will keep doing it
Avatar
Avatar
Aramir
but honesty I discovered that "make menuconfig" step during wsl2's kernel compilation have been quite eyes opening. I've seen ways to enable multiple things that I've been missing until now. So I'm glad I did it, I learned some things.
is it diffrent from bare linux?
Avatar
not really, but that's the only way to add driver (and other useful options) I don't usually mess around compiling my own kernel. I've probably done it 10 times max including when I add to compile Android's kernel. (edited)
10:25 PM
So I can't compare every submenus and play "spot the difference"
Avatar
its the same
Avatar
from what I remember, yes it's very similar
Maxim Bakulin joined the server. 9/29/2022 1:46 PM
Avatar
Avatar
Maxim Bakulin
Click to see original message
Avatar
Avatar
Maxim Bakulin
Click to see original message
Avatar
Avatar
Maxim Bakulin
Click to see original message
Avatar
https://www.mobileread.com/forums/showthread.php?t=345181 you could mention me that he asked ;v
Nia Needed help with USB OTG get to working Kobo Developer's Corner
Avatar
and there were no messages in my inbox on this forum
11:21 PM
im subscribed to those threads (edited)
11:22 PM
god fkjsdnfksajndkjsankjdsnakj why does everyone use this forum
Avatar
cause there's no other :p
Avatar
even fb would be better
Avatar
Avatar
Szybet
even fb would be better
N o
3:43 PM
You can theme it too
3:54 PM
my themer extension doesnt work good
Avatar
Directly from the website?
Avatar
well then
6:05 PM
i didnt found thid option
6:05 PM
🤪
Avatar
Avatar
Szybet
god fkjsdnfksajndkjsankjdsnakj why does everyone use this forum
i got banned for rickrolling :P
Avatar
Avatar
dill
i got banned for rickrolling :P
admins are stupid
Avatar
A working implementation of text-to-3D dreamfusion, powered by stable diffusion. - GitHub - ashawkey/stable-dreamfusion: A working implementation of text-to-3D dreamfusion, powered by stable diffus...
Avatar
thats cool
Avatar
Never seen that before...
3:39 AM
gentoo/gentoo
Avatar
That's a lot of fork OO
11:06 PM
they are still expensive as hell...
Avatar
without a driver
12:25 AM
still its small for that size
Queam of Wheat joined the server. 10/13/2022 8:59 PM
Avatar
Avatar
Queam of Wheat
Click to see original message
Avatar
wow, welcome
10:19 PM
it has been a while that a new peson showed up
Avatar
Avatar
Queam of Wheat
Click to see original message
10:19 PM
@Que... he left
10:19 PM
nice... (edited)
Avatar
Yes... The curse of this discord server...
Avatar
0 messages are sent in my server lmao
Avatar
hmmm you have a server ?
Avatar
Avatar
Aramir
hmmm you have a server ?
there are his friends
11:50 PM
and shitposting
12:16 AM
basically
Avatar
Avatar
Aramir
hmmm you have a server ?
all my friends just shitpost random stuff
Avatar
oh ok. I thought it was yet another ereader discord for a moment ^^
Avatar
@Szybet btw, i don't regret buying this laptop one bit 😀
6:34 AM
i hope it stays like that
6:35 AM
breaking hinges, problems with bios, the lcd cable, keyboard...
6:36 AM
i have these problems with... ~4000 zł laptop from 6 years ago
Avatar
24/10/2005
Avatar
as i understand, happy birthday?
Avatar
Avatar
tux-linux
24/10/2005
if this is your birth date, then im one year older
1:54 PM
you were born on 24th of October too?
Avatar
no, 26 but still close
1:55 PM
wszystkiego najlepszego z okazji urodzin then
👍 1
Avatar
So we are 17 for two days
Avatar
Avatar
tux-linux
24/10/2005
:D happy birthday!
4:55 PM
🎉
Avatar
thanks!
Avatar
damn it I keep forgeting you're both so young.
8:38 PM
happy birthday tho
8:38 PM
🎉
🎉 2
Avatar
Avatar
Aramir
damn it I keep forgeting you're both so young.
i'm 14
Avatar
eink under a microscope
3:39 PM
its not completly black :(
Avatar
it's still ok
atro joined the server. 10/30/2022 6:16 PM
Avatar
Avatar
atro
Click to see original message
Sticker
Avatar
Avatar
atro
Click to see original message
Avatar
@atro and? any conclusions?
Avatar
Avatar
atro
Click to see original message
Avatar
I'm still reading and taking notes, I'll get my hands on a real device in a few days (probably three days from now). I definitely want to get involved in the implementation and testing for the Clara HD
4:18 PM
Just so you know, I tried some embedded programming a few times (but I'm far from good), I did study C++ and am a Rust developer as of now, I'm also a GNU/Linux user so I'm able to write bash
4:19 PM
I think that I can help but I may need some guidance
4:22 PM
However if everything goes right I'm planning on helping with new devices or with the Qt part (I don't know Qt at all, but I'd like to learn it)
Avatar
qt is easy to learn
4:49 PM
but hard to use
4:50 PM
well from your description you have similar abilities as me, and i contributed a lot to this project
4:50 PM
lots of code was rewritten to rust for example
4:51 PM
for now, me and @tux-linux dont have time, so the project is in freeze before a b i g and major 2.0 release
4:52 PM
if you want to contribute... i dont know if clara is a good choice
4:53 PM
from what i remember, fbink didn't worked, and i dont think you can help with it. @andi what is the state of clara kernel?
Avatar
I remember reading that fbink doesn't work on the Clara HD, however I don't know what it is yet
6:24 PM
@Szybet is there any area that you suggest to start contributing?
Avatar
Avatar
atro
I remember reading that fbink doesn't work on the Clara HD, however I don't know what it is yet
fbink is the key componnent to show anything on the eink screen
Avatar
Avatar
atro
@Szybet is there any area that you suggest to start contributing?
whatever you would want, really
6:25 PM
if you see something that you could improve, then do it
Avatar
I was looking into the Clara HD because it's cheap and looks nice but seems like you're advising against working on it, is fbink that hard to port?
Avatar
for 90% yes
6:35 PM
its kernel related stuff
6:35 PM
kobo nia is cheap too, and its fully supportefd
6:36 PM
there simply were cases that we couldnt port inkbox to a device, it depends on many people so, if you want to contribute, then buy a device that already the low level stuff is done
6:36 PM
thats my opinion and suggestion, your decission can be diffrent
Avatar
Yes, Nia is cheaper than the Clara but the resolution is too low for my taste
Avatar
its not that bad
6:37 PM
wait for andi reply about the clara kernel, he will know more
👍 1
6:39 PM
also, it would be sad if you got a device and porting inkbox to it would be impossible / to hard for us
6:39 PM
thats what i would like to avoid
Avatar
Yes, I'm grateful for that heads up because that would actually be really sad
Avatar
There were never any FBInk issues ;o) (edited)
Avatar
but it doesnt work
Avatar
And we handled the mainline kernels detection a few months ago for devices where it was problematic (IIRC, the Tolinos based on < Mk. 7 boards) (edited)
Avatar
IDK whats the problem, andi could explain
Avatar
Okay, I forgot that the first bit affected the Clara IFF the NTX HWConfig block was not accessible
7:06 PM
On Kobo Clara HD with 5.17.10 near-mainline-kernel + Debian + user in video group: andi@akepd:~/FBInk$ groups andi video andi@akepd:~/FBInk$ Release/fbink -s [FBInk] Couldn&#39;t find a Kobo ve...
7:06 PM
In any case, it's fixed (edited)
Avatar
Avatar
Szybet
from what i remember, fbink didn't worked, and i dont think you can help with it. @andi what is the state of clara kernel?
I brought Inkbox support as far as telnetting into the debug shell
7:35 PM
and having display output
Avatar
does eink work?
Avatar
hmm @tux-linux what do you think, the rest is possible?
Avatar
It "works" but needs further testing regarding Qt GUI
Avatar
and backend things
Avatar
I had a generous donation sent in the other day, I need to get some more money but I think I'll be able to buy one soon
Avatar
wait wait wait
Avatar
I provide two sets of kernels for it, one with eink-drm
Avatar
you didnt read
Avatar
and one with eink-fbdev
Avatar
I'm speaking about eink
Avatar
@tux-linux read what @atro is talking about
Avatar
I read the last 10 messages I don't have much time
Avatar
well then read them later
7:38 PM
no hurry
Avatar
Kobo Clara support should help for running anything near-mainline
Carol12321 joined the server. 11/1/2022 4:11 AM
Avatar
Avatar
Carol12321
Click to see original message
Avatar
Avatar
Carol12321
Click to see original message
Avatar
well @Carol12321 welcome, any questions? what is your purpuse here?😄
9:09 PM
@atro idk if you readed the conversations, the kobo clara is portable, just some work needs to be done
Avatar
@Szybet that's good news, I'll be happy to buy one and help out
Avatar
Avatar
andi
Kobo Clara support should help for running anything near-mainline
Does this mean that once Kobo Clara is ported, other Kobo devices will be able to use the same kernel?
Avatar
Avatar
atro
Does this mean that once Kobo Clara is ported, other Kobo devices will be able to use the same kernel?
not the same, but use the same custom drivers / code in a perfect scenario only the device tree and config would need to be changed
👍 1
Mike Dotty joined the server. 11/3/2022 3:58 PM
Avatar
Avatar
Mike Dotty
Click to see original message
4:02 PM
Hey folks. I used to be a lead of OpenInkpot project. Nice to see new project with "build from ground up" idea.
Avatar
Avatar
Mike Dotty
Click to see original message
Avatar
Avatar
Mike Dotty
Hey folks. I used to be a lead of OpenInkpot project. Nice to see new project with "build from ground up" idea.
Hi, truly an honour to have you here. Would not have expected an ancient OpenInkpot developer at any time, it was a really great project
Avatar
Thanks. I look back at it with a bit of a shame, it was so mismanaged :) (edited)
4:15 PM
Anyway, after a long spell with Kindle I'm interested again in hacking on more open e-book readers.
Avatar
wwlcome
4:42 PM
openinkpot? havent heard of it
Avatar
wow cool
Avatar
Avatar
atro
@Szybet that's good news, I'll be happy to buy one and help out
so @tux-linux maybe buy another device?
Avatar
Avatar
Szybet
not the same, but use the same custom drivers / code in a perfect scenario only the device tree and config would need to be changed
with good chances the same kernel but different device tree. Configuration can be probably simplified, since kernel interfaces are more standard, e.g. clear patterns for button/led names, avoiding dealing with usb power supply falsely declared as battery (as in ntx 4.1.15 kernels) . And if configuration files are suffixed with a compatible string from /sys/firmware/devicetree/base/compatible, so they can coexist in the same image, so in the end we have waveform + uboot + devicetree as a difference in the device images.
12:10 AM
some crazy idea I have:
12:17 AM
what about creating an update file for kobos which puts them into that lowlevel download mode (by doing the eBR-1A # mw 20d8040 30 eBR-1A # mw 20d8044 10000000 reset sequence via /dev/mem) once so then a uboot can be loaded which exposes the emmc/sdcard via usb, so backups can be done easily?
👍 2
12:20 AM
That is a bit less instrusive than that bootenv flash method I proposed for the Kobo Libra H2O
12:22 AM
the update file could probably be created an such a way that it happens only once, so no permanent changes are done
12:22 AM
downside is that a uboot configured for that task is needed
Avatar
Avatar
andi
what about creating an update file for kobos which puts them into that lowlevel download mode (by doing the eBR-1A # mw 20d8040 30 eBR-1A # mw 20d8044 10000000 reset sequence via /dev/mem) once so then a uboot can be loaded which exposes the emmc/sdcard via usb, so backups can be done easily?
thats the way i plan to inkbox be installed without dissasembling the device, with an installer that will exist... one day
12:27 AM
but how do you do that without everwriting uboot
Avatar
well, that download mode is hardcoded in the SoC itself, uboot is then loaded from usb into ram
12:32 AM
until now I triggered that download mode only from uboot cmdline
12:33 AM
but yesterday I successfully triggered a similar mode on a omap4 device I am trying to hack via /dev/mem and rebooting via /proc/sysrq-trigger
Avatar
Avatar
andi
what about creating an update file for kobos which puts them into that lowlevel download mode (by doing the eBR-1A # mw 20d8040 30 eBR-1A # mw 20d8044 10000000 reset sequence via /dev/mem) once so then a uboot can be loaded which exposes the emmc/sdcard via usb, so backups can be done easily?
But then what about if this update goes wrong 😬
Avatar
Avatar
andi
but yesterday I successfully triggered a similar mode on a omap4 device I am trying to hack via /dev/mem and rebooting via /proc/sysrq-trigger
Oh great No MMC write
Avatar
are ntx cpus programmable? like they have a flash with settings or something
Avatar
Yes please, non intrusive inkbox installation would give it a much bigger adoption rate.
Avatar
Avatar
Szybet
are ntx cpus programmable? like they have a flash with settings or something
and im planning here to swap cpus on kindles to unlock them ;P
Avatar
afaik they are programmable
4:56 PM
the imx6sl (not the ll) support some kind of secure boot
4:57 PM
so they can cryptographically check the bootloader and reject it
5:00 PM
called High assurance boot
Avatar
yea, and replacing the cpu will fix the problem? (edited)
Avatar
I remember there is also a security hole up to chip revision X
Avatar
really?
5:04 PM
unsigned bootloaders This requirements can be lifted on devices with the following System On a Chip, if they were made before July 2017: NXP I.MX6 Quad NXP I.MX6 QuadPlus NXP I.MX6 Dual NXP I.MX6 DualLite NXP I.MX6 DualPlus NXP I.MX6 Solo NXP I.MX6 SoloX NXP I.MX6 SoloLite NXP I.MX6 UltraLite NXP I.MX6 ULL NXP I.MX53 NXP I.MX50 NXP VFxxx This is because such chip contains a hardware security flaw enabling to execute your code nevertheless.
Avatar
yea but... how to exploit it?
5:08 PM
cool list, i dont see a CVE description or something
Avatar
I do not have a better source
5:11 PM
Hello, I'd like to ask whether i.MX6DL parts with updated ROM that fixes mentioned vulnerability [1] are already available? I came across some links [2], [3] but it is still not clear to me. Second question is how can I be sure that bought part has this ROM update included? I'd like to know which R...
5:11 PM
CVE-2017-7932)
Avatar
it is possible to bypass the signature verification by using a specially crafted certificate leading to the execution of an unsigned image.
5:13 PM
i think swapping the cpu would be easier ;p
Avatar
depends on your skills
5:14 PM
and the amount of devices
5:14 PM
you need to create such a certificate once
5:15 PM
but you need to swap cpus on every device
Avatar
cpu swap will work on every one
5:18 PM
and this, not really
5:18 PM
also i plan this only as a proof of concept to free a ereader
5:19 PM
and a opportunity to solder some big bga chips
Avatar
well, I think you need only one certificate per chip type
5:25 PM
so if there is a proper installation process, people repeat it without soldering skills
Avatar
well, if the cpu is old enough
6:00 PM
but please, before soldering something new in, try to find out as many connections as possible (edited)
6:00 PM
so everything wihch can be more easily figured out without cpu
6:29 PM
but in the far future
Avatar
Avatar
Szybet
cpu swap will work on every one
you forgot one factor: average human stupidity (edited)
Avatar
i dont expect anyone to swap out a bga cpu
1:48 PM
but in theory every laptop repair service could do it if you ask gently, they have special bga swap machines
1:50 PM
well now I have something
Avatar
is this solder lead free?
Avatar
yes
Avatar
i once had one without lead
1:51 PM
i tossed it out of my window and went get a proper one
Avatar
well, I will see
1:52 PM
this solder
1:53 PM
it has lead + soldering flux in it
1:53 PM
the best, i use it all my life
Avatar
I don't have flux here it seems
1:56 PM
dont even try to solder without flux with this solder you have
Avatar
I will ask my grandfather; he has some
1:57 PM
probably 50-year-old flux, but still works (edited)
Avatar
@Szybet found the Clara HD, should arrive this friday
Avatar
well @atro do you have an arduino, pi, serial to usb converter? one of them will be needed
8:29 PM
What happened again with your legs?
8:29 PM
also, i would like to discuss the snow thing...
8:29 PM
@dill
Avatar
Avatar
Szybet
What happened again with your legs?
ok so remember when i broke my ankle?
8:29 PM
i just injured my OTHER ankle
8:29 PM
and now walking is painful
Avatar
Avatar
Szybet
also, i would like to discuss the snow thing...
i live in canada
Avatar
Avatar
dill
and now walking is painful
then don't
Avatar
Avatar
dill
ok so remember when i broke my ankle?
i remember, thats why i ask
Avatar
Avatar
Szybet
then don't
i am at school
Avatar
Avatar
dill
i live in canada
dying out of heat is worse
Avatar
i have to walk around
Avatar
Avatar
Szybet
dying out of heat is worse
true
Avatar
Avatar
dill
i am at school
hear me out
8:32 PM
leave
8:32 PM
painkiller sunglasis
Avatar
today was the secont time tux-linux started typing and doesnt dinished 🤨
Avatar
Avatar
dill
painkiller sunglasis
;_;
Avatar
if its serious and you wont heal it, only worsen it you will be walking in a half disabled way rest of your life
Avatar
nah its a minor sprain (edited)
Avatar
Avatar
Szybet
also, i would like to discuss the snow thing...
@Szybet what's going on here?
Avatar
snow discussions
Avatar
We will have snow soon here
Avatar
i propably, never
8:58 PM
for maybe 2 days
Avatar
Avatar
dill
edmonton
lets build a snowman
Avatar
i've done that hundreds of times (edited)
Avatar
one more
9:05 PM
one more
9:05 PM
one more
Avatar
@atro and? what with the clara?
Avatar
this project has a curse or what D:
Avatar
LMAO another clara HD
12:37 AM
💀
Avatar
I told you
Avatar
I might get a Clara HD but since I'm already getting a phone I'm probably not allowed
Avatar
Avatar
tux-linux
I told you
Did you get a 2e?
Avatar
Avatar
tux-linux
no
You need 100 bucks, right?
Avatar
About that, idk exactly
Avatar
Its 160 here in Alberta
6:17 AM
Idk how much it is in QC tho
Avatar
Well, I've got some spare money but haven't decided whether I should spend it on this or on a remarkable
Avatar
Because it will be useful for college
6:25 AM
Snow has arrived
Avatar
remarkable for inkbox doesnt have much sense
Avatar
Avatar
tux-linux
Snow has arrived
cool where is a snow man
Avatar
Avatar
tux-linux
Snow has arrived
you're 2 weeks late
3:58 PM
:P
Avatar
It snowed in the beginning of November here
4:12 PM
I hate the weather in Alberta
Avatar
Avatar
Szybet
remarkable for inkbox doesnt have much sense
Why not
4:13 PM
It's a powerful device
Avatar
we lack the software for now
4:27 PM
most importantly note taking
Avatar
Thats true but still it can be done... painfully
Avatar
i plan it in the future for the nia
4:28 PM
if i will be able to create a pen myself
Avatar
first snow also here, but it does not stay yet, temperature is still above freezing point
Avatar
Avatar
Szybet
most importantly note taking
yes but the screen is too small
Avatar
scrolling
5:38 PM
i mean
5:38 PM
page changing
Avatar
Avatar
Szybet
well @atro do you have an arduino, pi, serial to usb converter? one of them will be needed
I have both a serial-USB and a Pi, however they're in my old house :/
5:39 PM
@Szybet can I safely turn it one to fiddle with it or do I need to back up the partitions before the first boot?
Avatar
well, serial usb are cheap >3$ even
Avatar
Avatar
atro
@Szybet can I safely turn it one to fiddle with it or do I need to back up the partitions before the first boot?
what do you mean exactly? My english is limited
Avatar
do they need to back up the partitions
5:42 PM
or can they turn it on to play with it
Avatar
I just received my Kobo Clara HD, I haven't turned it on yet
5:42 PM
Yup, exactly what Dill said (edited)
Avatar
you can use it with the stock firmware, sure
5:45 PM
maybe
5:45 PM
hmm
5:46 PM
if you really want, you can make a backup, because the stock firmware from factory will be diffrent from a updated one
5:46 PM
maybe it will be important in the future
5:46 PM
but your decission
5:46 PM
as for porting inkbox, before we do anything, you need to make a backup. It is neccesery even if you install inkbox on an already ported device
Avatar
iirc clara hd has an internal microSD card
5:47 PM
just buy another
5:48 PM
another 8gb or something
Avatar
? a backup is still needed
5:48 PM
a micro sd card is easy to get lost
Avatar
yeah true
5:49 PM
i mean to say
5:49 PM
get a new microSD card
5:49 PM
and make a backup of the original
5:49 PM
and keep the original in a safe place
Avatar
eink wave share calibration things on the sd card are special for this and other eink from one line from the factory so, not eassly recoverable and needed to use the screen
Avatar
i dont know what these things mean
Avatar
make a backup, and make 3 backups of that backup. in short
Avatar
clara hd images are available
5:52 PM
ask on MR
5:52 PM
i got banned from that forum for rickrolling
5:53 PM
Rickroll
Avatar
Avatar
Szybet
eink wave share calibration things on the sd card are special for this and other eink from one line from the factory so, not eassly recoverable and needed to use the screen
there is no guarantee it will work with his device most likely it will ,but still
Avatar
backup the shit out of that microSD card then @atro
5:54 PM
this is the answer
5:54 PM
always backup
5:55 PM
i have a backup .img on google drive (edited)
Avatar
I disassembled it, I'm gonna buy some microSD cards, the serial-USB, some jumpers and a microSD to USB because that's also too far to reach
👍 1
Avatar
Avatar
atro
I disassembled it, I'm gonna buy some microSD cards, the serial-USB, some jumpers and a microSD to USB because that's also too far to reach
cool, make some photos and post them
Avatar
you can get a microSD card that comes with an SD adapter
👍 1
Avatar
microSD to USB
what
Avatar
Avatar
Szybet
cool, make some photos and post them
if you really are commited to porting it, create a repo and post everything there like i did https://github.com/Szybet/niAudio
👍 1
Avatar
Ahahah, yeah I usually go with the USB adapter because I'm scared of the SD card getting stuck
Avatar
oh yeah that's why i use a usb adapter as well
Avatar
oh something like that
5:58 PM
cool
Avatar
Avatar
Szybet
cool, make some photos and post them
I only opened the back for now, do I also need screwdrivers to open everything or is it okay, I can already see the 4 pins where I'll probably have to connect the serial-usb
Avatar
Idk, post the photos
6:01 PM
i cant see what you seee
Avatar
already took out the microSD?
6:06 PM
Avatar
Yep, I wanted to check the size
Avatar
oh it should be 8gb
6:08 PM
isnt it written on the card itself
Avatar
very similar to the nia
6:09 PM
be carefull to not touch anything else
6:09 PM
the battery is connected, you could cause a short
Avatar
Okay, thanks for the suggestion
6:15 PM
I'll order everything and let you know
👍 1
Avatar
its the clara one, not the new 2e one?
Avatar
Yes, it's the old one
6:18 PM
I think that no work has been done for the 2e yet
Avatar
oh okay
6:18 PM
i was confused for a second
Avatar
Avatar
atro
I think that no work has been done for the 2e yet
no one really started, even wanted to so yea
Avatar
I like 2e because it's waterproof, but I figured I'd start with something easier
Avatar
waterproof... eink dont like humidity
6:20 PM
they get yellow
6:20 PM
so i wonder how
Avatar
Ah, I didn't know that
Avatar
also see the porting / Kobo Clara HD thread
👍 1
7:16 PM
for the last state there
Avatar
in #porting? (edited)
👍 1
Avatar
@alex(O_o) did you wake up?
11:48 PM
;o
11:49 PM
i saw you writing
Avatar
yep im awake
11:52 PM
not for long
11:53 PM
it's 23:53 here and i need to sleep
11:54 PM
i was reading the news about the clara hd
11:56 PM
i can try to help a bit in the next days
Avatar
well your initiative is needed
Avatar
@alex(O_o) we're in the same timezone, that's good if we are both working on the Clara
Avatar
im also is that timezone
Avatar
we're all europeans, right ?
11:59 PM
Italy
Avatar
niluje and tux-linux are from america ( continent )
Avatar
Or not ;). (I'm French) (edited)
Avatar
i saw you online more when tux-linux was, so in american timezone
Avatar
I'm on an inverted schedule 😉
Avatar
this explains a bit
Avatar
@dill what tool did you use for backing up every partition as a single .img?
Avatar
that was fast
4:18 PM
4:18 PM
gnome-disks has a cool option
Avatar
Thanks, I'm trying with dd right now
Avatar
Avatar
atro
@dill what tool did you use for backing up every partition as a single .img?
Dill isint a contributor / developer of inkbox. Only a user. Because tux-linux doesnt have time currently, ask me for things, i will answer or redirect it to niluje or andi if its their topic
Avatar
Avatar
atro
Thanks, I'm trying with dd right now
also good
Avatar
Okay, the first thing I'll need is understanding the steps to boot linux
Avatar
make a backup, then we can go further
Avatar
Backup completed
Avatar
lets move to #porting clara thread
4:59 PM
Avatar
Avatar
atro
@dill what tool did you use for backing up every partition as a single .img?
every partition?
Avatar
i already explained
Avatar
i think i used balenaEtcher
7:03 PM
oh ok
7:03 PM
not flash, backup it
Avatar
wait no i used dd
👍 1
7:03 PM
sorry my mistake
Avatar
the whole disk
10:01 PM
including the unpartitioned space
10:01 PM
I keep the original card as is
Avatar
@dill @tux-linux how do you keep those cables in stable place when serial connection is going on?
11:58 PM
asking for atro, he will not solder and i dont remember how
Avatar
Avatar
Szybet
@dill @tux-linux how do you keep those cables in stable place when serial connection is going on?
Nicolas uses plasticine (modeling clay)
Avatar
And toothpicks
Avatar
Avatar
atro
Backup completed
so dd if=/dev/sdX of=kobo-image.img (where X is replaced by the letter for your sdcard reader). losetup -r -P -f backup.img produces some /dev/loopXp1 and so on and that can be mounted?
Avatar
idk about the losetup thing but the dd is correct
Avatar
you are keeping talking about a thing that was resolved 3 days ago
Avatar
i'm stupid like that
Avatar
would there be anyone willing to test a new kernel on the nia?
Avatar
only im here with the nia
9:03 PM
other nia users are ghosts
Avatar
and i dont want to risk :(
Avatar
btw: does that have two serial ports or one?
9:30 PM
and bluetooth is >4.0?
Avatar
Avatar
Szybet
nia?
yeah
Avatar
there is a second, smd pads and from what you said those are connected to the missing bluetooth chip
Avatar
what bt version
Avatar
IDK, there isint any chip there, only kernel had some drivers for it that i removed, and device tree mentioned this serial port
Avatar
ok, so I mixed things up
5:08 PM
Good prices there are
5:18 PM
¯\_(ツ)_/¯
5:25 PM
5:25 PM
@NiLuJe if you see this, can you diagnose this eink screen of what could happen?
Avatar
the price lol
5:27 PM
12 dollars
Avatar
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
@NiLuJe if you see this, can you diagnose this eink screen of what could happen?
Please don't tell me it's your nia
Avatar
nooooooo, its a listing on a local site, a aura for 69 zł
Avatar
Oh Well the screen seems broken
Avatar
i know that too....
Avatar
Yeah it looks like my cracked mini
Avatar
but maybe something inside, like a recconection of connectors
6:45 PM
im looking for an easy fix ereader
Avatar
Replace the scree
6:45 PM
n
6:45 PM
Its not worth the money
Avatar
eink cost is 80% cost of the ereader
Avatar
Hard to say. It might be a badly seated cable, but it might also be a clean vertical break on a fault line 😉
👍 1
Avatar
just a side note: I trying to convince the bt200 (not an ebook reader) to accept newer stuff (it has Android 4.0.4). It has eMMC and uSD, I try to keep the eMMC mostly intact and put the new stuff on uSD. It is a bit hacking unfriendly. I need to short a soldering jumper to have access to u-boot over 1.8V serial or have any serial output on standard kernel. I had the impression, that it would boot from USB, UART and then uSD if eMMC fails. But I wanted to "dry-test" it before, So what did I: I put a 470 ohm resistor between the DAT0 line of the eMMC and ground. That was enough so that the eMMC could not be properly detected. So I could check whether the boot order was as expected
10:55 PM
luckily I even did not need to solder it, because DAT0 was available at a via. the wired resistor got some hold there
10:56 PM
That might also be a recovery option for some ebook readers without uSD, but you have to find the lines...
Avatar
So in short: you disabled the emmc so it would boot from other things?
Avatar
i also thought about it, but whats the point of it when you cant overwrite the eemc then
Avatar
disable it temporarlly until bootloader from uSD starts
11:26 PM
or whatever recovery option there is
Avatar
if you disable it, it will wait for another recovery and then it will wait for it, and you can reenable the eemc?
11:27 PM
cool
11:28 PM
i though the eemc wouldn't work after that
Avatar
it must be working at probing time
11:29 PM
so the boot rom in the SoC probes it, u-boot probes it, the kernel probes it
Avatar
good then
11:29 PM
but on most devices we dont know the pinout
11:30 PM
what about cutting a pcb line, to make it not working? of course not GND and VCC because it would be bad, but some others
Avatar
depends on what is available, here it might be sufficient to short GND+VCC, because separate regulator and short-circuit proof
Avatar
apart from that that a bit of solder on the data line can make it go woooo because of fast speed transfers...
Avatar
thet main point is getting information out of it
Avatar
Avatar
andi
depends on what is available, here it might be sufficient to short GND+VCC, because separate regulator and short-circuit proof
we dont know if there is a short protection too
Avatar
well, you have to do some research before doing too risky opertions
11:33 PM
here I played around with pullup/down settings
11:33 PM
while card was not active
Avatar
maybe write this info somewhere down
11:33 PM
not only on discord
11:33 PM
it might be helpfull in the future
Avatar
yes, a proper backup of /dev/brain should be done
👍 1
Avatar
discord changed their font strange
jeremiah_weeds joined the server. 12/3/2022 9:34 AM
Avatar
Avatar
jeremiah_weeds
Click to see original message
✋ 1
Avatar
Avatar
jeremiah_weeds
Click to see original message
Sticker
✋ 1
Avatar
Avatar
tux-linux
discord changed their font strange
Yeah it's called GG Sans
4:45 PM
It looks... weird
Queam of Wheat joined the server. 12/4/2022 6:24 PM
Avatar
Welcome
Avatar
Avatar
Queam of Wheat
Click to see original message
Slalamander joined the server. 12/11/2022 11:04 AM
Avatar
Avatar
Slalamander
Click to see original message
11:54 AM
welcome
Avatar
Avatar
Slalamander
Click to see original message
Sticker
2:48 PM
Hey!
Avatar
What is your goal here? 😄
Avatar
Ahh I bought a cheap ereader myself, in part for use with home assistant. I saw someone mention it in regards to inkbox, and after trying it out (I have a tolino shine, but it's analogous to a Kobo Glo) I really liked inkbox. At least here so I don't forget to update, but perhaps if needed I'm keen to do some testing on my device as well :)
Avatar
you are the guy from mobile read forums?
5:40 PM
well for testing your initiative is needed
5:40 PM
you would need to compile inkbox for root edition, and then compile things when developers want you to test
5:42 PM
i can create for you a Tester role if you want, but i doubt you will want to do it, its a lot of work ( well it depends, just software testing ), and 95% of people give up
5:43 PM
as for updating inkbox, there are a lot things in mainline and not in 2.0, so if you want the latest version you need to compile them yourself ( there are A LOT of things ), if you want to test, start with 2.0 features
Avatar
Avatar
Szybet
you are the guy from mobile read forums?
Ah no that was someone else haha
7:42 PM
I think for testing in that case I may not be the right person indeed 😅 At least, for testing more of the backend stuff. If needed I can at least try images out on my device tho :)
Avatar
Avatar
Slalamander
I think for testing in that case I may not be the right person indeed 😅 At least, for testing more of the backend stuff. If needed I can at least try images out on my device tho :)
Really, only time and will is needed. Nothing more. ( well a computer too... )
7:48 PM
if a skill is needee, we will teach you soo
Avatar
Ah in that case, you can put me in a tester role for now, I'd be happy to help :) Usually I'll have enough time.
Avatar
well first you need to compile inkbox for yourself, i can instruct you on #quill how to do it, after that i can give you the role
Avatar
Is it okay to do that tomorrow? It's a bit too late for me right now to still get started with that 😅
Avatar
its a long process for unexperienced people, it will take time
Avatar
Avatar
Slalamander
Is it okay to do that tomorrow? It's a bit too late for me right now to still get started with that 😅
also i dont have time 24/7, so its okay, its just important to not give up
9:20 PM
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
also i dont have time 24/7, so its okay, its just important to not give up
If you have time tonight, I suppose a basic set of starting points/resources can help me get started tomorrow, and I'll update you on how far I get
10:30 PM
but
10:31 PM
look up #porting clara hd thread, it says a bit about porting not testing, but still the knowledge links there are usefull
10:31 PM
also in #chat and #quill was a guy who compiled inkbox for himself, i cant remember, but tux-linux helped him do it
👍 1
Avatar
Avatar
nwroot
are there compilation instructions for inkbox
here, here is the guy
10:34 PM
the steps are indentical almost, but you dont need to partition the sd card for example, just the kernel and rootfs
10:34 PM
feel free to ask me at #quill even if im not active, i will answer as soon as i can
tikis joined the server. 12/23/2022 6:57 AM
Avatar
Avatar
tikis
Click to see original message
Sticker
Avatar
Avatar
tikis
Click to see original message
10:11 PM
such an rarity
Avatar
hehe
10:12 PM
init is almost ready
10:12 PM
like for 100%?
10:12 PM
i can test it soon
Avatar
i'm debugging some issues on kindle right now
Avatar
2.0 before new year?
Avatar
not possible
Avatar
Avatar
Szybet
2.0 before new year?
high school is stressful lol (edited)
Avatar
as for to do list, only audio and update system is some major work
Avatar
and clara support
Avatar
Avatar
dill
high school is stressful lol (edited)
you dont have the school off till new year?
Avatar
we have a snowstorm here so I have one more free day
Avatar
Avatar
tux-linux
and clara support
do you have the device?
Avatar
Avatar
Szybet
you dont have the school off till new year?
today was my last day before winter break
Avatar
Avatar
tux-linux
we have a snowstorm here so I have one more free day
nothing more?
Avatar
vacation started today
Avatar
Avatar
dill
today was my last day before winter break
cool, test sanki then if you have time ;P
Avatar
yesterday i had two exams
Avatar
Avatar
tux-linux
vacation started today
yea thats my point
Avatar
Avatar
tux-linux
yesterday i had two exams
i hope they got well
Avatar
i couldn't believe it was the 22nd of december
Avatar
Avatar
tux-linux
we have a snowstorm here so I have one more free day
Avatar
just didn't go together
Avatar
Avatar
dill
Click to see attachment 🖼️
yes, it's coming... supposed to lower soon
Avatar
Avatar
tux-linux
yes, it's coming... supposed to lower soon
keep in mind that wednesday was -45 with wind chill over here
Avatar
nice
10:17 PM
i guess
Avatar
Avatar
Szybet
cool, test sanki then if you have time ;P
i'll do my best :D
Avatar
Avatar
dill
keep in mind that wednesday was -45 with wind chill over here
holy crap
Avatar
Avatar
tux-linux
nice
nope lol
Avatar
-20 was max in poland
👍 1
Avatar
Avatar
Szybet
holy crap
colder than antarctica this week
10:17 PM
lmao
Avatar
i don't recall having -45 here in my life coldest was probably -35 or -38
10:18 PM
edmonton weather SUCKS
Avatar
i like winter
Avatar
i like november in edmonton
10:19 PM
that's about it
Avatar
Happy Christmas, Hanouka and whatnot to you all !
👍 2
🎄 2
Avatar
I should program a Christmas Easter egg (get it?) in InkBox
2:00 PM
@Szybet ideas?
Avatar
for this christmas? how are you supposed to ship it
Avatar
For future Christmases
2:05 PM
Something that would only show on 25th of December
Avatar
the app menu could have a diffrent icon composed of stars for christmas, or eggs for... the second one
2:07 PM
for now its only dots
Avatar
Oh I know
Avatar
and maybe for a long click ( 2s ) a message would appear
Avatar
I will replace the home icon by a Christmas tree
Avatar
Avatar
Szybet
and maybe for a long click ( 2s ) a message would appear
Yes that too probably
Avatar
well thats my idea but
2:08 PM
well lets replace all icons with similar ones but themed
Avatar
You can implement it Just follow code standards and icon sizes (512x512) and I will accept it
2:09 PM
It can be just one icon or many ones
Avatar
i have diffrent priorities... but sure, i will write it on the second to do list
👍 1
Avatar
Would have been cool to see it for Christmas but anyways I understand
Avatar
no chance to ship it today
Avatar
Then maybe I will do it I've got to fix init first though
Avatar
i mean, you wont make a release today
Avatar
C is a bit like Qt: sometimes something randomly breaks on one device and segfaults the program and you're never able to figure out why, so you implement questionable alternatives
2:13 PM
wtf
2:13 PM
screen saver for ipd does this
2:13 PM
it worked fine, i leaved the ereader for a month
Avatar
That's more urgent
Avatar
inkbox works fine tough
2:13 PM
i will reboot
Avatar
Check logs
2:13 PM
Now
2:14 PM
Now
2:14 PM
They will be erased at reboot, they live in tmpfs
Avatar
well im rebooting
2:14 PM
if its not replicable, i dont care
2:14 PM
my ereader is heavly modified, like the sd card extension
2:15 PM
now it works
2:15 PM
Nia, wtf
2:15 PM
maybe even a bit flip
Avatar
Good, I guess?
2:15 PM
A monstrous bit flip
Avatar
yea, i dont care
Avatar
Yesterday I spent almost half an hour trying to wake up my Kindle which seemed stuck somewhere between being alive and dead
2:17 PM
Then I connected it to serial and magic, it worked
Avatar
did u-boot work?
Avatar
Not sure
2:17 PM
Now it does
Avatar
disconnect the battery / check serial
2:18 PM
the first things to check
Avatar
A bit complicated to disconnect the battery in there I think
2:20 PM
it happened again after second going to sleep
2:20 PM
ehhhhhhh i will get logs
2:24 PM
okay
2:24 PM
find a simlarity
2:24 PM
2:24 PM
this and the previous photo
2:24 PM
:P
Avatar
Merry Christmas everyone !
🎅 3
2:39 PM
the most polish digital christmas card
2:39 PM
Merry Christmas
☃️ 2
Avatar
Great?
😄 1
Avatar
Avatar
Szybet
Click to see attachment 🖼️
saving this
8:18 PM
wow
Avatar
yeaaaaaa
Avatar
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
will you copy its improvments into inkbox?
12:21 PM
If you plan to port, then no
12:21 PM
we have already sketch ( rusty ), and i will integrate it into a qt app that will be a notebook (edited)
Avatar
how will you do that
3:25 PM
kindle
Avatar
Avatar
tux-linux
how will you do that
i will drink to much coffe, pass out for the night and wake up with a finished program?
Avatar
Avatar
tux-linux
kindle
what is the problem
Avatar
rust and kindle
3:27 PM
don't remember?
Avatar
not the same eink api
Avatar
oh well
3:28 PM
im sure plato creator is willing to help port plato to kindle
3:28 PM
thats what i did with him for the nia
3:29 PM
the qt whiteboard will be horrible anyway
3:29 PM
do you remember why we dropped sketch ( qt ) ? (edited)
Avatar
because you said it was horrible?
3:32 PM
because it was horrible
3:32 PM
;p
Avatar
that's why i was searching for alternatives yesterday (today)
Avatar
qtpaint is not working great, thats a fact
3:34 PM
and you cant avoid that
3:34 PM
what will happen with the sketch app now? will you replace it with rusty one, and on kindle say "sorry no"?
Avatar
there are better ones
Avatar
Avatar
Szybet
what will happen with the sketch app now? will you replace it with rusty one, and on kindle say "sorry no"?
that's why I was searching for alternatives
Avatar
Avatar
tux-linux
there are better ones
as good as platos?
Avatar
well, depends on the PoV
3:35 PM
but certainly better than qtsketch
3:35 PM
scribble
3:35 PM
i think
Avatar
until you figure out something more smooth than platos, i want it to be used at default
Avatar
it won't until it actually exists 😉
Avatar
well you haven't programmed the app yet
Avatar
it is there
Avatar
Avatar
Szybet
we have already sketch ( rusty ), and i will integrate it into a qt app that will be a notebook (edited)
in the future, for now we have bare plato's sketch
3:38 PM
and its enough to replace the current one for 2.0
3:39 PM
im focusing on audio now
Avatar
Avatar
Szybet
will you copy its improvments into inkbox?
also this
3:40 PM
also, please focus on this https://github.com/Kobo-InkBox/inkbox/discussions/36 (edited)
3:40 PM
dont add new things
Avatar
you did not update your repo before starting to commit ?
3:49 PM
you should have made a pr there
Avatar
nooo, because 1 i cant, you are the fork and 2 we had completly separate code 3 i cant make a pr to a fork
Avatar
then can you submit a patch that will work for this repo?
3:50 PM
thanks
Avatar
not really
3:51 PM
just discard your commits and pull the changes
3:51 PM
for the future the main repo should be on the inkbox organisation, this is now a mess
Avatar
w h a t
3:52 PM
i can't discard my commits
Avatar
its a mess now
Avatar
Avatar
tux-linux
i can't discard my commits
pull changes from main repo
3:52 PM
it will overwrite
Avatar
but how do you expect it to work like before if it isn't even the same code inside
Avatar
from what i can remember there was a overwrite / discard commit button
3:57 PM
idk, just copy the code then
Avatar
can you try to submit a patch for it today? I wanted to work on lockscreen
Avatar
what im supposed to do
4:04 PM
get your repo, overwrite your code with mine, send a patch?
Avatar
take the main repo and try to integrate your changes
4:04 PM
yes, sort of
Avatar
thats stupid a bit
4:04 PM
just copy the code?...
Avatar
we also don't have the same commits
4:05 PM
i think you are going to run into more issues
Avatar
not really, the patch will ignore everything else
4:05 PM
also if we want to resolve this, the fork needs then
Avatar
needs what?
Avatar
pull changes, overwrite, something
Avatar
well, yes, and this is what you should have done since the beginning
4:10 PM
before starting to work on it
4:10 PM
i will add it to code standards
Avatar
Avatar
tux-linux
well, yes, and this is what you should have done since the beginning
i cant im from the main repooooo
4:12 PM
i cant make a pr, or pull changes from a fork
4:12 PM
the fork needs to make a pull request
Avatar
Avatar
Szybet
i cant make a pr, or pull changes from a fork
git remote set-url git@github.com:Kobo-InkBox/epubtool git pull done
Avatar
w h a t
Avatar
git: exists
Avatar
how do you expect this to work
Avatar
it will ask you to merge or smth
4:18 PM
and it will be a mess
Avatar
it is already a mess
4:18 PM
otherwise, integrate changes manually
Avatar
it will be more
Avatar
Avatar
tux-linux
git remote set-url git@github.com:Kobo-InkBox/epubtool git pull done
and how do you expact this to look on github
Avatar
idk?
Avatar
Avatar
tux-linux
otherwise, integrate changes manually
might be the best option
Avatar
but you need to use my code
4:20 PM
not i yours
Avatar
then maybe just start with my repo, inspect yours for changes that aren't there (shouldn't be long, it's just one rust file) and change what you need to
4:21 PM
to be sure you didn't commit a merge, delete your repo locally and clone it again
Avatar
nooooooooooooooooooooooooooooo
4:22 PM
i looked up your repo, mine, integrated both, added new and it works
4:22 PM
its the final code
4:22 PM
nothing to change
Avatar
Happy new year everyone May 2023 bring you more things that work instead of ones that you need to reverse engineer or rewrite to make work... (Yes, thinking about you, Qt)
Avatar
Happy new year As it turns out, Qt Timers fuck up if you use too long / infinite while loops, which doesnt help with audio management
😎 1
Avatar
The Original e-Note Companion 6.8” Touch Screen Embedded Front Light Ample 1GB Memory Expandable Storage 8oz/ 132 x 175 x 9.8mm What's Included: 1 Original Mobiscribe 1 Stylus 1 Cover Please Note** This is a Refurbished device. By purchasing this, you are acknowledging and accepting that it has been used and may show s
4:25 PM
this isint too expensive...
Avatar
"Ample 1GB Memory" :p
6:02 PM
sd card exist
11:33 AM
this guy is checking out my rust tools for inkbox
11:33 AM
for some reason?
Avatar
username checks out
beaglebark joined the server. 1/9/2023 5:06 PM
Avatar
Avatar
beaglebark
Click to see original message
Sticker
Avatar
What's up
Avatar
release rush...
Avatar
Version 2.0 I'm guessing?
Avatar
yes
5:11 PM
a few months and it would be a year before we didn't release anything
Avatar
I would love to do testing but unfortunately I have a libra 2
👍 1
5:12 PM
If I can find the box it's in I do have a glo somewhere though
Avatar
you could use it
Avatar
Is the nia still the newest device the os has been ported to?
Avatar
yes
5:16 PM
currently
Avatar
Avatar
beaglebark
Is the nia still the newest device the os has been ported to?
no, Kindle 1?
5:18 PM
welcome anyway
Avatar
*newest
Avatar
When it comes to getting a kernel for inkbox built for a new device what are the main roadblocks?
Avatar
not only the kernel...
5:25 PM
everything? almost?
5:26 PM
how much knowledge do you have in linux things?
Avatar
getting? you mean preparing from a new device?
5:26 PM
if so, tux-linux has this knowledge but doesn't shared it
5:26 PM
so I* would need to look up commits (edited)
5:27 PM
🥴
zpunch joined the server. 1/9/2023 5:27 PM
Avatar
Avatar
zpunch
Click to see original message
Avatar
Avatar
tux-linux
how much knowledge do you have in linux things?
I've used Linux for over fifteen years but I've never gone down the rabbit hole of supporting new hardware
Avatar
Avatar
zpunch
Click to see original message
5:28 PM
welcome
Avatar
Avatar
beaglebark
I've used Linux for over fifteen years but I've never gone down the rabbit hole of supporting new hardware
not much supporting, more like porting
5:28 PM
why are so many new people out of sudden? @tux-linux
Avatar
that would be a new challenge for me but sounds like it could be exciting
Avatar
Avatar
beaglebark
I've used Linux for over fifteen years but I've never gone down the rabbit hole of supporting new hardware
I will tell you a little story : 90% of people who want to port InkBox to their devices surrender at some point or just disappear like it never happened
Avatar
Avatar
Szybet
why are so many new people out of sudden? @tux-linux
we both got libra 2s around the same time
Avatar
So you will need courage and determination
Avatar
Avatar
tux-linux
I will tell you a little story : 90% of people who want to port InkBox to their devices surrender at some point or just disappear like it never happened
where 7% is me and the rest is andi / niluje
5:29 PM
;D
Avatar
Avatar
tux-linux
I will tell you a little story : 90% of people who want to port InkBox to their devices surrender at some point or just disappear like it never happened
Just look at the Clara HD porting thread; it's almost a graveyard (sadly) (edited)
Avatar
Avatar
beaglebark
we both got libra 2s around the same time
this doesn't explain much
Avatar
to be fair thats a lot of open source projects. I mean... I'm guilty of leaving a few projects unmaintained... smolconcern
Avatar
I mentioned inkbox to him in another server and found this server and linked it to him
Avatar
hmm cool
Avatar
I'm guessing that inkbox runs a newer version of the kernel than what the devices originally shipped with, in the case of the libra 2 being a newer device than the ones that are currently supported would that make things more difficult or easier in that case? (edited)
Avatar
Avatar
beaglebark
I'm guessing that inkbox runs a newer version of the kernel than what the devices originally shipped with, in the case of the libra 2 being a newer device than the ones that are currently supported would that make things more difficult or easier in that case? (edited)
it's often the same kernel but modified a bit (edited)
Avatar
And as far as I can tell the kobo kernel sources do not have commit histories which is fun
Avatar
for Kindle Touch (a 2011?) device, I had to fake 2.6.35 version while it was 2.6.31 actually, but I also had to backport things such as devtmpfs support and ppoll syscall to make it work with the existing system
Avatar
Avatar
beaglebark
And as far as I can tell the kobo kernel sources do not have commit histories which is fun
*not fun
Avatar
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
Sounds like a lot of diff to be done
Avatar
Avatar
beaglebark
And as far as I can tell the kobo kernel sources do not have commit histories which is fun
yea, quite outdated. For clara 2 there is nothing
5:35 PM
nia is outdated so bigger battery usage
Avatar
Avatar
Szybet
yea, quite outdated. For clara 2 there is nothing
still nothing? there's a problem
Avatar
Avatar
tux-linux
still nothing? there's a problem
maybe i will contact the support
Avatar
I will open an issue
Avatar
Avatar
tux-linux
I will open an issue
i already did
Avatar
where?
Avatar
in the repo
Avatar
i don't see it
Avatar
The kernel shipped with nickel is different in many ways ( battery consumption, touchscreen wake up calls ). Could we get an updated version in the repo, Please?
Avatar
yes, but that's only for the Nia (edited)
Avatar
also: why the fu... does soar use a kernel switcher
Avatar
Avatar
tux-linux
yes, but that's only for the Nia (edited)
oh okay
5:41 PM
kobo has a messenger chat
5:41 PM
cool
Avatar
Released last September 22nd, this new model doesn&#39;t have any public kernel sources in this repository. Providing this device runs a Linux kernel, this would violate the GPL license it has ...
5:44 PM
lets attack them
5:44 PM
until they ban us
Avatar
after a year?
5:44 PM
it's been released sep 22
Avatar
Avatar
tux-linux
it's been released sep 22
2022
5:45 PM
now is
5:45 PM
2023
5:45 PM
2023 - 2022 = 1
5:45 PM
🥴
Avatar
but it isn't one year
5:45 PM
one year is 365 days
5:45 PM
it's been 109 days
5:45 PM
whatever
Avatar
Next year and one year later are very very different things
6:45 PM
Linus kernel
6:45 PM
this will go great
6:45 PM
🥴
Avatar
say that someone you know requested it
6:46 PM
and link to github issue
6:46 PM
maybe (edited)
Avatar
no because it was like 1h ago
7:03 PM
Avatar
@Szybet I'll be online tomorrow starting from 17.30 CET, I need to read a lot of messages in the Clara thread
Avatar
c o o l
8:21 PM
i can't be sure if i will have time
Avatar
No worries, I'll try to save a few hours for Thursday as well
Avatar
Avatar
tux-linux
Just look at the Clara HD porting thread; it's almost a graveyard (sadly) (edited)
🙄
Avatar
except for you
8:54 PM
and a few others
Avatar
some of us (me) are slow and lack expertise T.T but we will eventually do it (edited)
👍 1
10:28 PM
10:30 PM
kind demands
10:30 PM
messenger support guy worked
10:30 PM
😄
10:31 PM
i will even ping some of you
10:32 PM
@tux-linux @andi late christmas presents dropped
Avatar
btw is there anyone of you at fosdem? (edited)
Avatar
Avatar
andi
btw is there anyone of you at fosdem? (edited)
I'll be there! (edited)
Avatar
Avatar
andi
btw is there anyone of you at fosdem? (edited)
Too far...
totomx joined the server. 1/12/2023 2:03 AM
Avatar
Avatar
totomx
Click to see original message
Avatar
Avatar
totomx
Click to see original message
Avatar
Avatar
totomx
Click to see original message
Avatar
Avatar
atro
I'll be there! (edited)
hmm, what devices do you have? Just wondering if some hacking could be done in between
Avatar
he has the clara :D
Avatar
well, everything with the clara could be done remotely, too, since I also have the device
11:47 PM
it would be cool if you advertised inkbox os arround there
👍 1
11:48 PM
then maybe only not just 5~ ( + - - ) would work on it ;p
Avatar
@Szybet : I may have sent a poor sod in search of a Nia image your way from MobileRead, if you get someone asking you about one soon-ish
Avatar
Good, Szybet can try to get him to switch to InkBox 😄
Avatar
Avatar
NiLuJe
@Szybet : I may have sent a poor sod in search of a Nia image your way from MobileRead, if you get someone asking you about one soon-ish
okay cool
Avatar
Avatar
tux-linux
Good, Szybet can try to get him to switch to InkBox 😄
😄
9:45 PM
if i dont reply to him and he asks why, that's because i dont use mobileread forums... maybe once a month
9:45 PM
im available on github / matrix / idscord
Avatar
Oh, yeah, I directed him to here (as in, Inkbox discord) specifically
👍 1
Avatar
Wow, I thought I had seen the worst already
Avatar
dis aI are halenking I?
TeaBot joined the server. 1/20/2023 2:02 PM
Avatar
Hello y'all
2:03 PM
I've find my way here from the Mobile read forum
2:05 PM
a helpful soul named NiLuJe sent me down the rabbit hole
Avatar
Looking for nia image?
Avatar
I was, I mean I am, but i could not help but notice that you are working on an... OS(?) that would run on kobo HW ?
2:22 PM
some kind of software to put on the HW at least. Cards on the table I'm not super good with software.
2:23 PM
I am however an electronics tech so i can understand and do basic things at least
2:23 PM
just more of a HW guy
2:23 PM
I've got a Nia that was stuck in some kind of boot loop after an update
2:24 PM
i took out the SD card but its now lost. For... reasons
2:24 PM
So Ive got HW empty of soft
2:25 PM
I'm willing to try some shenanigans to get some other soft than the original one running on it. I just don't know how trustworthy the HW is.
2:26 PM
it was working before i took out the SD so I'm hopeful
Avatar
does it appear on the USB bus?
2:27 PM
without SD card (edited)
2:27 PM
or empty sd cad
Avatar
with an empty i think? what would it show without any sd card
Avatar
with nothing which looks like a bootloaer, it should show the raw hid device specific to IMX processors
2:34 PM
regardsless whether card is in or not
2:34 PM
just to do some basic hardware check
2:34 PM
before proceeding
Avatar
Avatar
andi
with nothing which looks like a bootloaer, it should show the raw hid device specific to IMX processors
So when I plug it in I've got zero reaction from the HW. No lights no nothing not sure if that is supposed to be the case without sd. How do I go and check this on windows? Where do i look? (edited)
Avatar
check wether something in the device manager appears
2:38 PM
lights are software-controlled, so there need to be some software setting it on
Avatar
Not seeing anything change in the device manager
Avatar
well i would now:
  • measure power consumption on usb
  • connect serial, if no sd card is attached, the cpu on boot splits out a single 0 bit
2:41 PM
to see if cpu is alive
Avatar
Avatar
andi
lights are software-controlled, so there need to be some software setting it on
That makes sense actually.
Avatar
Avatar
Szybet
well i would now:
  • measure power consumption on usb
  • connect serial, if no sd card is attached, the cpu on boot splits out a single 0 bit
Ah, so upon plugging it in, it sends a 0 bit on the Tx pin then?
Avatar
the is also a boot rom in the SoC controlling the boot process, so that would be what loads stuff from sd card or start the usb recovery mode
2:43 PM
probably press power button for 15s to turn it off
Avatar
Avatar
TeaBot
Ah, so upon plugging it in, it sends a 0 bit on the Tx pin then?
after clicking power button if its off
Avatar
So even without sd i should see some sort of activity when I turn it on or off ?
Avatar
Avatar
TeaBot
So even without sd i should see some sort of activity when I turn it on or off ?
the one we described, yes
Avatar
Because the thing is white screen and didn't react whatsoever to the button press back when it was working. The button is broken and I've soldered two wires that I'm connecting together to simulate press. Am i wrong in assuming the button was a NO that just connected both side upon press?
2:47 PM
Sorry for being a dumb dumb guys, I'm fairly new to tinkering like this
Avatar
did it worked with those wires
Avatar
Nope, same as with the button when it clicked, no visible reaction from the thing
2:50 PM
I'll have to try and measure the USB cable and see if I can catch something on serial
2:57 PM
How hard is it to transfer a Nia Image with the stock Kobo SW ? Cause that'd tell us right quick if the HW is okay or not
Avatar
nia image? you mean inkbox?
Avatar
No I mean the original soft on the Nia, if you've got a backup, and if it's not too much work to send it to me, i could flash another sd i have and try it (edited)
3:21 PM
Maybe inkbox would work. Just a software that would make it so the power button will visibly turn it on and off so that we can see if it works. Not sure I'm being clear lol
Avatar
first, make a backup ofyour original sd card just to be sure
Avatar
I'm gonna use another SD card, the original one is... Safe but unavailable
Avatar
second, i dont have time today to send you my image, so if you want grab inkbox 1.9 image and flash it
Avatar
Avatar
TeaBot
I'm gonna use another SD card, the original one is... Safe but unavailable
well on the original sd card are unique things for your device, so dont lose it
Avatar
I won't lose it, it is stuck between the SD slot and the frame of one of my computers. Turns out the slot wasn't properly centered and when I pushed in the card i did not check properly... It slid nicely into the PC. It hasn't moved so it's not going anywhere
Avatar
Avatar
Szybet
second, i dont have time today to send you my image, so if you want grab inkbox 1.9 image and flash it
Oh there is no hurry, sorry if I gave the impression! I'll grab the inkbox 1.9 tonight and try that
3:34 PM
Thank you both for your help, i really appreciate it
3:35 PM
If the Nia is still alive i'd be happy to help for Kobo related endeavors and use it to test things if y'all need !
3:38 PM
there is a mainline kernel ready for testing for the Nia
3:38 PM
a bit risky it is, could burn thr device
Avatar
Avatar
Szybet
a bit risky it is, could burn thr device
Intense! Why would it burn ?
3:41 PM
Anyhow, if my Nia is alive i can test that maybe
3:42 PM
Would it damage the SD ? Or is it only the chip at risk ?
Avatar
Avatar
TeaBot
Intense! Why would it burn ?
wrong voltages on power regulators
Avatar
Avatar
TeaBot
Would it damage the SD ? Or is it only the chip at risk ?
everything
Avatar
Avatar
Szybet
wrong voltages on power regulators
Oh my, yeah that sounds like a good way to fry everything
3:48 PM
Are y'all familiar with Linux ?
Avatar
Avatar
TeaBot
Are y'all familiar with Linux ?
yes
Avatar
I've got a Chromebook set with Lubuntu, and I've been using etcher on it to flash SD, USB etc.. is there a simpler, command line way to do it?
3:50 PM
but i like gnome disks gui
Avatar
Okay thanks, i'll look into that
Avatar
Avatar
Szybet
but i like gnome disks gui
Ah this looks like something that'll help me. Managing all disks sounds good. Thanks !
Avatar
Avatar
TeaBot
Click to see original message
6:28 PM
@TeaBot I am the principal maintainer of this project, if you want to know who I am Here's a download link for 1.9 : http://23.163.0.39/bundles/inkbox/native/n306/inkbox-1.9-n306.xz With my help (and probably @Szybet's too) you should update it to 2.0 development version ASAP 1.9 is terribly outdated
6:30 PM
xzcat inkbox-1.9-n306.xz | dd of=/dev/mmcblk0 status=progress Assuming mmcblk0 is your SD card's device node This image runs a modified stock Kobo kernel, so there shouldn't be any problems with voltage regulators
Avatar
Avatar
tux-linux
@TeaBot I am the principal maintainer of this project, if you want to know who I am Here's a download link for 1.9 : http://23.163.0.39/bundles/inkbox/native/n306/inkbox-1.9-n306.xz With my help (and probably @Szybet's too) you should update it to 2.0 development version ASAP 1.9 is terribly outdated
ummm for now he could just check if it works
👍 1
Avatar
Avatar
tux-linux
@TeaBot I am the principal maintainer of this project, if you want to know who I am Here's a download link for 1.9 : http://23.163.0.39/bundles/inkbox/native/n306/inkbox-1.9-n306.xz With my help (and probably @Szybet's too) you should update it to 2.0 development version ASAP 1.9 is terribly outdated
Hello! Nice to meet ya. I'm interested in trying the project for sure ! So far the question of the HW status is still very much open, I'm trying to find a easy-ish way to get it do something if it's still operational. I'm gonna try the 1.9, and see if the HW is ok 🙂
👍 1
Avatar
Aaaaaand it doesn't work
9:44 PM
I think the power supply hw is dead
9:44 PM
The thing doesn't turn on whatsoever
9:48 PM
I successfully flashed a sd with inkbox 1.9
Avatar
hmm, one try : disconnect battery and try usb plug in again
10:04 PM
no sd card
Avatar
Nevermind I'm dumb, it does work
9:07 AM
I un plugged the battery, plugged it back in and connected USB. I connected my cables together and it turned on
9:08 AM
Just did the setup, had kobox activated and now it's showing me an empty library
9:08 AM
Great success, thank you so much for your help
Avatar
Avatar
andi
hmm, one try : disconnect battery and try usb plug in again
I didn't exactly do that but thanks for the inspiration for battery unplugging to start off anew
Avatar
So, i originally planned to give it to my wife once it works. I'm willing to help y'all do some testing, cause I'm no developer but I'd be sad if we fried the thing when testing
9:24 AM
I gotta say i like the UI on this thing
9:24 AM
Straightforward, clean
9:25 AM
Is it compatible with Calibre ?
9:25 AM
Or is it drag&drop to put books on it
Avatar
Ah it says connected to computer but windows doesn't see it.
Avatar
Mmh linux doesn't see it either, there must be some kind of kink to work out
Avatar
4269113.535946] hid-generic 0003:15A2:0063.00A5: hiddev1,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank MEGREZ] on usb-0000:00:14.0-6.3.3/input0
10:51 AM
I get something like that on devices without SD card
10:52 AM
I would expect to see something similar on the Nia
10:52 AM
so, maybe you have a problem with usb data lines (in the cable, in one of the sockets or plugs)
Avatar
Dang, maybe both cables ive got right now are just power lines. I noticed that it said detection of computer when I plugged into the wall to charge battery. So it recognize power line, not data
11:07 AM
I'll try and find other cables
Avatar
Okay i found a cable that works managed to put two epubs on it
Avatar
So there was question of a version 2.0? Because obviously my HW works
8:01 PM
@tux-linux
Avatar
does the device appear on usb without sdcard? It is not important for the nia itself, but good to have a clear picture of recovery options, especially for devices with just internal eMMC. So if that door is for some reason closed at any kobo device it is good to be alert for trouble. So in summary: for science
Avatar
Avatar
TeaBot
So there was question of a version 2.0? Because obviously my HW works
what
8:44 PM
don't ping tux-linux, he is rarely here and he reads everything anyway
Avatar
Avatar
Szybet
don't ping tux-linux, he is rarely here and he reads everything anyway
its just to make sure he sees it
Avatar
Avatar
Szybet
what
8:45 PM
so... they checked if it worked :D
Avatar
oh this
8:46 PM
well
8:46 PM
if he wants
8:46 PM
¯\_(ツ)_/¯
Avatar
About myself: I am mainly a kernel/uboot hacker, helping out here on lowlevel things,
Avatar
Avatar
Szybet
if he wants
Is there no version 2.0? Or is it very experimental ? I mean, if you think i shouldn't try I'd listen
8:50 PM
And sorry for pinging
Avatar
its not ready, but there are many improvements
8:51 PM
so if you want it, you need to recompile everything yourself
Avatar
Avatar
andi
About myself: I am mainly a kernel/uboot hacker, helping out here on lowlevel things,
I will check without SD, see where i stand. I'll let you know what I find
Avatar
X11 freeze fix + onboard Rewrite init Recompile platform plugin with fixes for user apps in rootfs Folders in localLibraryWidget (@Szybet) Reader: fit to screen size better (@Szybet&#39;s work ...
8:51 PM
list of improvements
8:51 PM
if you want to test them, then sure
Avatar
Avatar
Szybet
so if you want it, you need to recompile everything yourself
Mmh. That sounds like one ought to know what one is doing. Ill look into that, see if I can figure out what to do
8:54 PM
Thanks for including me on this folks, even though I probably won't be much help on the dev front
Avatar
Avatar
TeaBot
Mmh. That sounds like one ought to know what one is doing. Ill look into that, see if I can figure out what to do
#chat #quill #porting kobo clara thread have everything you need to basically get the latest inkbox
Avatar
However if there is some HW modification to be done send me the PCBs and I'll do it lol
Avatar
Avatar
TeaBot
Thanks for including me on this folks, even though I probably won't be much help on the dev front
i learned almost everything from scratch, its just about dedication
Avatar
Avatar
Szybet
i learned almost everything from scratch, its just about dedication
Yeah, i just gotta look at it enough that it snaps into place and starts making sense to me. I've got HW know-how so i just have to link it to the firmware and software
9:00 PM
Or rather look into the hardware so that i understand what the soft is doing
Avatar
Avatar
TeaBot
However if there is some HW modification to be done send me the PCBs and I'll do it lol
here are 2 types of people: 1. one that will solder even spider heresy to make it work 2. the group that refuses to solder anything, even serial wires no middle ground, so no help is needed in case of hardware
9:15 PM
also as you have a nia and into hardware, i share this: https://github.com/Szybet/niAudio
9:16 PM
in short, a custom pcb on back on the nia to add over all usb support, with focus on audio
Avatar
Avatar
Szybet
here are 2 types of people: 1. one that will solder even spider heresy to make it work 2. the group that refuses to solder anything, even serial wires no middle ground, so no help is needed in case of hardware
Hahaha yeah i suppose my expertise won't be really needed then
Avatar
i mean, low level software + hardware is needed most of the time
9:26 PM
¯\_(ツ)_/¯
Avatar
I meant for others, it'll serve me for sure
Avatar
im talking about inkbox project all the time. so yea
Avatar
Avatar
Szybet
in short, a custom pcb on back on the nia to add over all usb support, with focus on audio
Woah that's pretty sweet, I'll look into that for sure
Avatar
btw is a refurbished eReader worth it
9:32 PM
nvm i was looking at a libra h2o but it doesn't have usb-c
Avatar
clara 2 has
Avatar
If I remember correctly someone is running nixos with my kernels + additional patches
9:44 PM
What I am often thinking about: buying something, hacking it and selling it again, but the next new one
9:45 PM
best selling to someone who can sometimes to maintain things
Glaive Tordu joined the server. 1/22/2023 2:30 PM
Avatar
Avatar
Glaive Tordu
Click to see original message
Avatar
Avatar
Glaive Tordu
Click to see original message
Sticker
Avatar
Avatar
Glaive Tordu
Click to see original message
2:50 AM
Hi there, you think that a bare knife is outdated ? ^^
Avatar
Avatar
dill
nvm i was looking at a libra h2o but it doesn't have usb-c
and then?
Avatar
Avatar
andi
4269113.535946] hid-generic 0003:15A2:0063.00A5: hiddev1,hidraw3: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank MEGREZ] on usb-0000:00:14.0-6.3.3/input0
SE BLANK MEGREZ is usually what I got on the PW3 when it was in download mode IIRC
👍 1
Avatar
Avatar
tux-linux
and then?
I'm thinking about getting a 2e but I want buttons this time
2:56 AM
Did you get a 2e yet
2:56 AM
why is usb-c important
Avatar
Avatar
tux-linux
why is usb-c important
I fucking hate Micro-USB
Avatar
well ok up to you
Avatar
The thing is, I want one type of cable for everything
Avatar
Avatar
tux-linux
Hi there, you think that a bare knife is outdated ? ^^
w h a t
Avatar
Avatar
dill
I'm thinking about getting a 2e but I want buttons this time
pcb with a uart converter + cpu and you have buttons for every ereader
8:32 AM
😄
Avatar
Avatar
tux-linux
SE BLANK MEGREZ is usually what I got on the PW3 when it was in download mode IIRC
you also have seen that on the Libra H2O when we experimented with bootloader
Avatar
some words about all that regulator stuff: Settings vary not too much between readers with same SoC, just because the specifications of the regulators meet specific use cases, of course everyone would use the dcdc regulators for the cpu, and things must match with the initial power-up state, so that at least the cpu runs to execute code that can configure regulators.
12:57 PM
but there is always a little risk remaining
12:58 PM
So I usually avoid doing such things if I am in a bad mood
12:58 PM
or otherwise not concentrated
12:59 PM
I usually brick things when I am in a bad mood and want to do something in a hurry
12:59 PM
that does not happen too often
Avatar
Avatar
Szybet
w h a t
in french glaive means gladius, a small roman sword
Avatar
oh okay🥴
Avatar
hmm, strange problem here...
9:45 PM
I bought a tolino vision second hand
9:45 PM
interesting is that it has internal eMMC
9:45 PM
and also an accessible uSD slot
9:46 PM
I have not checked yet boot order, but if that uSD slot has priority over eMMC
9:46 PM
than anything can be booted without opening the case
9:47 PM
but what is strange: usb
9:47 PM
connecting to usb while running the stock system
9:47 PM
mass storage appears shortly
9:47 PM
than disappears
9:48 PM
and will not appear again until I reload xhci_pci module on the host
9:48 PM
nor fastboot will
9:48 PM
after that module reloading things are better
9:49 PM
I can access fastboot
9:50 PM
and than happily boot mainline and load debian via nfs via usb network
9:50 PM
without any trouble
9:56 PM
until I agan try to communicate with the stock system
9:56 PM
WTF???
9:57 PM
after that no signs of life in dmesg
Avatar
I've had some weird experience with NXP boards on that front, but not for a long while (that was usually on i.MX 5 boards), and most of it went away on a different host, too
10:29 PM
Not familiar with how the Tolino handles USBMS, but...
10:29 PM
Small helper to handle USBMS on Kobo in KOReader. Contribute to koreader/KoboUSBMS development by creating an account on GitHub.
10:29 PM
IIRC, the weirdness was not permanent on sunxi, though
10:30 PM
It just fails to enumerate for that session or drops out early or something
10:30 PM
(It's disabled in the stock Kobo USBMS scripts, too)
Avatar
Hey @Szybet, when you have time, could i trouble you for the Nia stock software image? I'd like to get it in the hand of someone who archives all model to help other people on the mobile read forum. I see a lot of people looking for one. Lemme know if you're too busy and I'll look for it somewhere else
Avatar
i will provide it in the weekend
9:39 AM
but first i will overwrite the serial number there
9:39 AM
well find a way i can send you it, its 7GB i think
9:40 AM
also you will need to flash it and clean it, there are my books🥴
Avatar
Avatar
Szybet
well find a way i can send you it, its 7GB i think
Yeah. It's a big boy. Compressed archive maybe ? I will flash it and clean it, no worries. Will do a factory reset and make an image of that
Avatar
Avatar
Szybet
but first i will overwrite the serial number there
Is there something I need to modify with the serial number? Or is a dummy SN good to go?
Avatar
there are tools to zero-out empty space
10:12 AM
then it would be more compressible
10:12 AM
e.g. data partition should be compressable to almost zero
Avatar
Avatar
TeaBot
Is there something I need to modify with the serial number? Or is a dummy SN good to go?
i will do it
Avatar
Avatar
TeaBot
Yeah. It's a big boy. Compressed archive maybe ? I will flash it and clean it, no worries. Will do a factory reset and make an image of that
it is already compressed wirh xz
Avatar
Avatar
Szybet
it is already compressed wirh xz
Oof that's a swol archive
10:29 AM
Mmh i'm not sure how to do the transfer, gotta think for a minute
Avatar
well, to make things small, create a file full of zeros on each partition and delete it afterwards, and then compress the image
Avatar
Avatar
TeaBot
Hey @Szybet, when you have time, could i trouble you for the Nia stock software image? I'd like to get it in the hand of someone who archives all model to help other people on the mobile read forum. I see a lot of people looking for one. Lemme know if you're too busy and I'll look for it somewhere else
hey, just let them install inkbox ;p
Avatar
Avatar
Szybet
hey, just let them install inkbox ;p
Lol would probably be simpler tbf
Avatar
sharing stock image is against my interest actually 🥴
1:09 PM
i will do it anyway propably, in weekend
Siroj42 joined the server. 1/24/2023 2:58 PM
Avatar
Avatar
Siroj42
Click to see original message
3:05 PM
Welcome😄
Avatar
Avatar
Siroj42
Click to see original message
Avatar
Hey, little question, is v1.9 supposed to keep the place in the book once we exit to home menu ?
Avatar
yes, there is also an option in that in tge settings idk if enabled
12:18 PM
by default
12:19 PM
global reading settings, i think it should be false
12:19 PM
to wotk
Avatar
Okay thanks, I'll look into it
Kaktoose joined the server. 1/26/2023 3:57 PM
Avatar
does inkbox support epub files?
Avatar
@atro hmm
Avatar
Avatar
Kaktoose
Click to see original message
Avatar
@Szybet i might have found a Nia Image somewhere else! If you haven't already done some stuff regarding transferring, hold off; if it works I'll send it to the forum and you won't need to do anything
Avatar
i didnt do anything yet, i said in the weekend
9:13 AM
sure
Avatar
Avatar
Szybet
i didnt do anything yet, i said in the weekend
I know, just making sure that nothing was started just in case. Thanks!
Avatar
@Szybet well no luck on the Nia Image lead. So whenever you've got time, be it this weekend or later, I'd test it and send it on to the forum
Avatar
im short on time actually... we will see
6:46 PM
¯\_(ツ)_/¯
Avatar
No worries, if you don't have the time for it, you don't 🙂 maybe some other time if i can't find one elsewhere
Avatar
35 zł: 35 zł: Sprzedam niedziałającego e-book&#039;a KOBO, usterka jest zaznaczona na 3-im zdjęciu. Możliwa wysyłka :)
10:43 PM
can anyone quess what kobo model this is
10:43 PM
I could repair the port propably
Avatar
the back pattern is specific
10:44 PM
glo something or other or aura maybe?
Avatar
It's a Glo
Avatar
I need to be sure
Avatar
Or mini black
Avatar
not hd?
10:44 PM
The screen is really broken
10:45 PM
You won't be able to do anything with it
Avatar
@NiLuJe you worked with einks, those ports are available? like on mouser / digikey?
Avatar
not hd, it's rakuten branded
Avatar
There's a diagonal unequal line It's not a port problem
Avatar
yeah, looks like a broken substrate
Avatar
well sad
10:47 PM
im looking for an ereader to buy and repair at this price exactly, with a repair that could work actually
4:47 PM
might be a replacement display
Avatar
Yes it is
4:51 PM
i already searched for the nia, arround 3/5 of the price of the whole nia
4:54 PM
pixelation spot hmm
4:56 PM
well i will create a thread and post there damaged ereaders
Szybet started a thread. 2/2/2023 4:56 PM
Avatar
I invite tux-linux and niluje there :D
5:00 PM
to look up the kobo aura if its any good
5:00 PM
Avatar
Sorry Szybet, I'm very busy preparing for the FOSDEM, hopefully I'll be less busy after February 18th
Avatar
last chance to get covid-19 quarantined 😉
7:21 PM
since yesterday, isolation is no longer mandatory
7:21 PM
here
7:21 PM
but in Belgium there is afaik still 7 days
Avatar
Avatar
atro
Sorry Szybet, I'm very busy preparing for the FOSDEM, hopefully I'll be less busy after February 18th
okay sure, i was only curious
Avatar
@TeaBot are you still waiting for the image
8:41 PM
you have like 20 hours to tell me if so, if yes, i will upload it somewhere
8:41 PM
bonus points if you find some place to store it
Avatar
Avatar
Szybet
@TeaBot are you still waiting for the image
I haven't found one yet, yes I'm still in the market to get one
Avatar
Avatar
Szybet
bonus points if you find some place to store it
Like an upload space for it ? Or storage on my side ?
Avatar
Avatar
TeaBot
Like an upload space for it ? Or storage on my side ?
those are the same thing, yes
Avatar
Oh I meant storage on my side, but like on HDD or something. I can look into it. I think I've got Dropbox but i don't know about the space i can get
Avatar
if you want to share it only, we can use syncthing
9:01 PM
but if you want to distribute it in any way, you need to find a public storage space
Avatar
I was just gonna share it with people here and there. There's someone on mobile read forum that has a bunch of images and shares them. I was gonna share with them
9:04 PM
so prepare syncthing or just find another solution like dropbox / mega
Avatar
Avatar
Szybet
so prepare syncthing or just find another solution like dropbox / mega
I've got my Dropbox open
9:27 PM
Want me to send you a shared folder and you upload in there?
9:28 PM
Ah I've only got two Gigas of space though
Avatar
first i need to find my spare sd card to prepare the image
9:29 PM
i want to clear it & add inkbox add
Avatar
Avatar
TeaBot
Ah I've only got two Gigas of space though
its 2.2
9:30 PM
well maybe if andi says that booting off USB is easy for even nickel then i can go for it
Avatar
I can try an upgrade for 30 days
Avatar
you better find a permanent solution
Avatar
Dang, for 0.2 that's too bad
9:35 PM
Ok mega gives 20 Gigs
Avatar
Avatar
Szybet
i want to clear it & add inkbox add
the inkbox add is the deal i share this image, it will just be a book that says who's the author and about inkbox. do you accept it?
Avatar
Avatar
Szybet
the inkbox add is the deal i share this image, it will just be a book that says who's the author and about inkbox. do you accept it?
A book in the image with like, info on inkbox and everything? That sounds only fair (edited)
9:38 PM
and further info about the image
9:38 PM
technical things
Avatar
Yeah, sounds very fair to me, absolutely
9:45 PM
You should have access to this normally
Avatar
then don't share this link publicly
9:45 PM
write access to it at least
9:46 PM
i will upload it next week, i lost the sd card which is sad
Avatar
Avatar
Szybet
then don't share this link publicly
Good point, I'm a dummy
Avatar
Avatar
Szybet
i will upload it next week, i lost the sd card which is sad
No problem, I'm not in a hurry. Thank you for helping with this 😃
Avatar
does the kobo glo have a crystal oscillator inside?
9:10 PM
what a question
Avatar
lol
9:14 PM
its the glo hd
9:14 PM
i spotted these from this low quality image
Avatar
For time / clock?
Avatar
obviously almost every IC has a timer circuit in it, which can be a crystal oscilator
9:14 PM
but doesnt need to be
Avatar
what does the text on it say?
Avatar
what?
Avatar
I can't find it in mine
9:35 PM
what does the text say on it?
Avatar
Avatar
Szybet
i spotted these from this low quality image
. no idea
9:36 PM
its the glo hd, not glo
Avatar
ah ok
Avatar
what are you trying to achieve?
Avatar
I want to repurpose it to build a low power radio transmitter
9:38 PM
You have a pcb with wifi / linux on chip / very specific IC and you want use the cristal oscilator from it to build a radio transmiter?
9:38 PM
bro noooooooooooooooooooooooo
nak joined the server. 2/6/2023 10:16 PM
Avatar
Avatar
nak
Click to see original message
10:16 PM
Welcome
Avatar
What journey got you here?
Avatar
just was looking around alternative firmware for my clara hd
Avatar
oh my god
10:17 PM
there were at least 20 people already that said that will port it and gived up in the middle of the work
10:18 PM
soooo if you want to help then you are welcome
10:18 PM
🥴
Avatar
im mainly just looking out of curiousity
10:18 PM
lol
Avatar
i understand
10:18 PM
im just saying it clearly
Avatar
Avatar
Szybet
there were at least 20 people already that said that will port it and gived up in the middle of the work
Lmaoooo can confirm
Avatar
other options which are out there for the Kobo Clara HD are: Yocto or PostmarketOS
Avatar
yocto is not for normal users
11:40 PM
11:40 PM
it's diffrent build root
Avatar
well, depends on how things are prepared/documented, but yes, yocto is mostly used in the industry
Avatar
Why do people do this...
Avatar
no clear motive... it is not the classical drive-into-crowds-to-kill-max-people thing. Things could be worse, but of course still horrible
emulti joined the server. 2/17/2023 1:12 AM
Avatar
Avatar
emulti
Click to see original message
Sticker
1:43 AM
welcome
1:43 AM
let's continue the concersation here
1:43 AM
i will write the reply for you answer tommorow
Avatar
Thanks! Will check booting from external SD works in the meantime. My timezone: GMT+8
Avatar
Well it doesn't work. All that happens is a factory reset to a 2012 firmware version from the recovery partition. Interestingly the wifi network is non-functional on that firmware too. I need to find a way to interrupt the boot process and point u-boot at a different kernel/rootfs. I guess I need a serial cable which will take a few days to arrive.
Avatar
yes you need a serial cable for sure
10:58 AM
create a thread in #porting about your device
Avatar
Three already is one
Avatar
is it the A?
mastnacek joined the server. 2/17/2023 2:00 PM
Avatar
hello
Avatar
Avatar
mastnacek
Click to see original message
Sticker
Avatar
Avatar
mastnacek
Click to see original message
Avatar
monthly atro ping
9:19 PM
@atro
Avatar
I'm back, sorry again
Avatar
nah, don't be sorry
6:46 PM
im only checking if you are still alive
Avatar
Starting from this week I will try to be more productive, I will start by checking once again the status of my SD card installation and where I need to go from there, once I get there I'd like to actively contribute to the project to complete the N249 porting
7:55 PM
If everything goes well I would like to make a contribution that is substantial enough to speak about this project at the Chaos Communication Camp conference in a 30 min or 1h talk. @Szybet do you think that this is feasible in ~5 months? (edited)
Avatar
Avatar
atro
If everything goes well I would like to make a contribution that is substantial enough to speak about this project at the Chaos Communication Camp conference in a 30 min or 1h talk. @Szybet do you think that this is feasible in ~5 months? (edited)
in a week 8h a day lol
7:56 PM
even porting the clara is enough
7:57 PM
if you really want to contribute, please speak to @tux-linux to give someone else ( me?... ) permissions to all repos. He doesn't have time lately, and my pull request wait and wait
7:58 PM
because if not, it will be pain
Avatar
Which pull request
Avatar
my god
Avatar
There are so many
Avatar
exactly
8:00 PM
now imagine atro joins
8:00 PM
am i doing such a horrible job?
Avatar
atro really has a lot to catch up to be as active as you
Avatar
i believe in him
🥰 1
Avatar
In logic things, no In code quality and English, welp
Avatar
define logic then
8:01 PM
code quality only sometimes
8:01 PM
english welp, i can start writing code in polish if you want
Avatar
Avatar
Szybet
if you really want to contribute, please speak to @tux-linux to give someone else ( me?... ) permissions to all repos. He doesn't have time lately, and my pull request wait and wait
I remember having to wait a couple of weeks for him to merge some PRs, from what I can see you are probably the only one that is active enough to help with the job
Avatar
not propably, for sure
Avatar
Well, getting the product to work But not actually cleaning the code under it
Avatar
Avatar
tux-linux
In logic things, no In code quality and English, welp
That is about you, not atro
👍 1
Avatar
@tux-linux GitHub repos have a setting for only allowing merges after 2 approvals (edited)
Avatar
Avatar
tux-linux
Well, getting the product to work But not actually cleaning the code under it
what
Avatar
You may check the code style, we may even try to automate the check given enough time
Avatar
It's like you cook a steak on the outside but you leave it half-cooked on the inside (edited)
Avatar
i think you are too perfectionist
Avatar
Better that than not
Avatar
not really
Avatar
atro, if you want a job, you can look into Xorg compiling
8:04 PM
But Clara HD isn't even ported yet (edited)
8:05 PM
Forget it
Avatar
Avatar
atro
You may check the code style, we may even try to automate the check given enough time
the problem is, if we 2 start to work, those pull request will stack up and no one will want to merge them
Avatar
You don't have any other compatible device?
Avatar
I don't, however if you want we can have a call and we may try make this porting way faster
Avatar
Avatar
Szybet
the problem is, if we 2 start to work, those pull request will stack up and no one will want to merge them
I merged one yesterday
8:06 PM
I think
Avatar
Avatar
tux-linux
It's like you cook a steak on the outside but you leave it half-cooked on the inside (edited)
okay then, is this a reason to close the entire restaurant for x months because the main cheff left?
Avatar
I'm not very experienced at electronics or embedded
Avatar
Avatar
tux-linux
I merged one yesterday
i want you to see when you merge 10 commits that are at the same time in inkbox repo
Avatar
Tell me you know how to connect a serial port
Avatar
Avatar
Szybet
i want you to see when you merge 10 commits that are at the same time in inkbox repo
no one needs this madness
Avatar
You said sound isn't ready
Avatar
Avatar
tux-linux
You said sound isn't ready
it isin't priority, you are offline mainly so i shifted my focus to keyboard. i need it for school
Avatar
Avatar
tux-linux
Tell me you know how to connect a serial port
I do, I've also made a repo with a guide on everything we've done for N249: https://github.com/aartoni/n249
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
So what is there to merge apart from gui-bundle that I don't want to merge
Avatar
Avatar
atro
I do, I've also made a repo with a guide on everything we've done for N249: https://github.com/aartoni/n249
Good
Avatar
Avatar
tux-linux
So what is there to merge apart from gui-bundle that I don't want to merge
god, i mean imagine the future
Avatar
Yes Better not think too much about it
8:09 PM
I have time this week
8:09 PM
Week off
Avatar
@Szybet to be fair I understand @tux-linux's concern on code quality
Avatar
Avatar
tux-linux
Yes Better not think too much about it
Avatar
At least we both like cats
Avatar
Avatar
atro
@Szybet to be fair I understand @tux-linux's concern on code quality
it isin't bad. in code quality he means only if { } else if and camelCase sometimes
Avatar
Avatar
Szybet
god, i mean imagine the future
What is there to merge currently
Avatar
sometimes english too
Avatar
Avatar
Szybet
it isin't bad. in code quality he means only if { } else if and camelCase sometimes
And English
8:10 PM
And design
8:10 PM
And a lot more things
Avatar
is this really a reason to not give me permissions that i can approve attro work? i will do mine with pull request anyways, just to speed things up
Avatar
Avatar
tux-linux
And design
with design i always ask you for help because you are better at it
Avatar
Avatar
tux-linux
And a lot more things
well then?
Avatar
This week I will do update system redesign I don't know if it is worth looking into x11
8:13 PM
it is
Avatar
I consider folders completed
Avatar
Avatar
Szybet
well then?
im waiting
Avatar
Well, general things, like where to put files, tmpfs-minded design, signature verification, things you forget or don't want to implement
Avatar
1. who decided where ipd configs are, new ereader configs... bruh 2. ??? 3. where i said "nah dont verify it"
8:19 PM
;_;
Avatar
User apps? Maybe?
Avatar
I dont think so
Avatar
2 is for updateConfig or smth
8:21 PM
Like, writing to the MMC each time is ... wrong
Avatar
i explained it alreadyyyy
Avatar
what's preventing you from putting this in a tmpfs?
8:22 PM
well, maybe we did it already
Avatar
1. it's to avoid creating another thread 2. this file is created ONLY if config is changed anyway
Avatar
Avatar
tux-linux
well, maybe we did it already
yea.........
Avatar
ok, i was just saying I usually need to remind you about the necessity of using a tmpfs
Avatar
this isint a reason to restrict access
8:25 PM
it's because if you push a huge amount of commits over the span of, say, two months, it might take even more time for me to actually review it and understand what you did the PRs are better for this because it's for relatively small changes compared to the big project and it forces me to try to understand what you wrote before accepting it so I can at least have an idea of how it works
8:27 PM
I also do not feel comfortable at the idea of having code that I didn't review or check in my project
8:29 PM
this is why I'm not sure I want to give you, or anyone else, write access
Avatar
here and here you have file changes to review? but with me with access, it will be in the repo and other contributions can easily be added, a dev version of inkbox easily created. If not, everything is a mess inside pull request waiting. + there is a reviewed commit button i think
Avatar
Avatar
tux-linux
I also do not feel comfortable at the idea of having code that I didn't review or check in my project
im here for a year.
Avatar
Avatar
tux-linux
this is why I'm not sure I want to give you, or anyone else, write access
you know it will happen one day anyway?...
8:31 PM
if you want the project to grow and have sense, you need to give write access to someone else because you have a life and are not always active
Avatar
Avatar
Szybet
here and here you have file changes to review? but with me with access, it will be in the repo and other contributions can easily be added, a dev version of inkbox easily created. If not, everything is a mess inside pull request waiting. + there is a reviewed commit button i think
then what is the difference between a dev branch and a waiting pull request?
Avatar
there is order, if me and atro both will wait for approval, it will be bad
8:36 PM
i can review his commit and then push me. no problems, no merge things
8:36 PM
and no wait time
8:38 PM
i dont know if i talked about it before, but the reason im contributing to inkbox, learning qt and cpp for it is only because plato creator is not welcoming, so open about his project (edited)
8:38 PM
i asked about the emulator being slow, pointed to the code that does it and he replied "it works for me"
8:38 PM
draw conclusions
8:40 PM
It&#39;s me again, I have many questions The emulator was really slow for me, just unusable. I checked the code in emulator.rs and changed all lines that concerned something with waiting, like ...
8:40 PM
🥴
8:41 PM
oh he actually did something about it
8:41 PM
a year after
Avatar
do you have an account on inkbox gitlab?
9:10 PM
isin't gitlab just a backup? (edited)
Avatar
do create one
9:11 PM
github is the backup
9:11 PM
mainly
Avatar
Avatar
tux-linux
github is the backup
lol
9:11 PM
i never was on that gitlab
9:12 PM
in the mean time you can remind me how to point a qt app to the platform plugin manually, user app can't find it
Avatar
did you read the wiki page?
Avatar
i even edited it today lol
9:14 PM
env -i DEVICE="${DEVICE}" DEVICE_CODENAME="${DEVICE_CODENAME}" QT_FONT_DPI=${QT_FONT_DPI} PATH="/app-bin:/system-bin" LD_LIBRARY_PATH="/system-lib/lib:/system-lib/qt/lib:/app-lib:/system-lib/qt" QT_QPA_PLATFORM=kobo:debug:keyboard:mouse LC_ALL="en_US" /system-lib/lib/ld-linux-armhf.so.3 /app-bin/feathernotes.bin
Avatar
do i use the account from gitlab main domain?
Avatar
Avatar
Szybet
env -i DEVICE="${DEVICE}" DEVICE_CODENAME="${DEVICE_CODENAME}" QT_FONT_DPI=${QT_FONT_DPI} PATH="/app-bin:/system-bin" LD_LIBRARY_PATH="/system-lib/lib:/system-lib/qt/lib:/app-lib:/system-lib/qt" QT_QPA_PLATFORM=kobo:debug:keyboard:mouse LC_ALL="en_US" /system-lib/lib/ld-linux-armhf.so.3 /app-bin/feathernotes.bin
im using this
Avatar
i already have gitlab.com account
Avatar
no I don't think so
Avatar
Avatar
Szybet
in the mean time you can remind me how to point a qt app to the platform plugin manually, user app can't find it
what's the error
Avatar
28/02/2023 @ 21:11:43 | userapps: Launching user application at: '[/mnt/onboard/onboard/.apps/feathernotes/feathernotes]/app-bin/feathernotes.sh' qt.qpa.plugin: Could not find the Qt platform plugin "kobo" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Aborted
Avatar
strange
9:16 PM
are qt libs mounted?
9:16 PM
there is the platform plugin too
Avatar
what does df -h look like
Avatar
main rootfs
9:18 PM
chroot
Avatar
if you compare your extension to a working qt app (ex.: Conway), are there differences?
Avatar
not really
Avatar
then does conway work
Avatar
you email confirmation on gitlab doesnt work
Avatar
what's the error
9:24 PM
no email
9:24 PM
at all
9:24 PM
can you accept the invite on the site directly?
Avatar
where??...
Avatar
great
9:25 PM
now i have to set up a smtp server
Avatar
create an account manually
9:25 PM
or smth
Avatar
Avatar
tux-linux
then does conway work
um no
9:25 PM
oh no
Avatar
well...
Avatar
QT_PLUGIN_PATH="/system-lib/qt/plugins/"
9:34 PM
well
9:34 PM
i will add it to the wiki
Avatar
Why did it not need this before
9:36 PM
It's absurd
9:36 PM
something changed something else
Avatar
my qt toolchain
9:36 PM
is diffrent, maybe
Avatar
what version are you at
Avatar
the same as you
Avatar
welp
Avatar
maybe i compiled it later
9:36 PM
its newer
9:37 PM
or some other hacks
9:37 PM
whatever
9:37 PM
i rememer i needed using it for other apps too
9:37 PM
those gps ones that didnt worked
9:38 PM
shouldnt crwx---rw- be enough for an app to use a input device?
Avatar
it can't use the input device?!
Avatar
calm down
9:38 PM
im tinkering with it
Avatar
what is it at
9:39 PM
it was 706 previously
9:39 PM
in the error i got
Avatar
is this your code?
Avatar
modified, yes
Avatar
follow naming scheme
9:40 PM
please
9:40 PM
i didn't noticed that
9:40 PM
sure then
Avatar
reqf_input_devices
Charlton joined the server. 3/1/2023 9:45 AM
Avatar
Hi all, I have a Kobo Touch N905C and came across this OS yesterday. I downloaded v1.5 and copied it across to an SD card using Balena Etcher. My Kobo just boots into the normal OS? Please can someone advise?
Avatar
Are you the guy from github?
10:41 AM
Welcome
10:42 AM
Does the n905c have an internal emmc?
10:42 AM
Is the sd card the main storage?
10:45 AM
Write it using the way as described in the download page
10:46 AM
Make sure ypu write to the correct storage
Avatar
I haven't posted anything on Github no, and thank you
10:51 AM
It has a 256mb boot drive and a 1.3gb internal chip (States 2gb online)
10:51 AM
When I try and write the image to the internal chip, it says it doesn't have enough space
Avatar
What boot drive?
11:04 AM
Is it really a n905c?...
11:04 AM
Wait for @tux-linux
Avatar
Definitely a N905C yes. Ok, thank you
11:24 AM
I may have mistaken the boot drive for another device plugged into my machine
Avatar
Sounds most likely
Avatar
You can't use the external SD slot
2:02 PM
There is another one inside the device
Avatar
So there is 😄
2:09 PM
Thank you 🙂
👍 1
2:09 PM
2:14 PM
Update to 1.9 at least
2:14 PM
It is usable, 1.5 idk
👍 1
Avatar
Must say, the update process is very smooth, on 1.9 now 🙂 (edited)
Avatar
Sorry, me again. So it looks like I have 500mb of storage space but a lot of unallocated storage on the SD card, how do I go about resizing that?
Avatar
@tux-linux
4:50 PM
i doubt its supported officialy
4:51 PM
are you into linux? Charlaton?
Avatar
No, not particularly
4:51 PM
I have 3 linux Chia miners
4:51 PM
But mainly for stability
4:52 PM
As for using it, my knowledge is pretty basic
4:52 PM
¯\_(ツ)_/¯
4:52 PM
we will see
Avatar
Avatar
Szybet
@tux-linux
rm [p4]/onboard dd if=/dev/zero of=[p4]/onboard bs=1M count=<nb. of bytes of storage space desired> sync
Avatar
but its another sd card
Avatar
we don't support external sd cards
Avatar
It's the internal one, but it's only created a storage partition of 500mb
Avatar
Avatar
tux-linux
rm [p4]/onboard dd if=/dev/zero of=[p4]/onboard bs=1M count=<nb. of bytes of storage space desired> sync
then do this
Avatar
Avatar
tux-linux
rm [p4]/onboard dd if=/dev/zero of=[p4]/onboard bs=1M count=<nb. of bytes of storage space desired> sync
then you need to do this
Avatar
Ok thank you
👍 1
Avatar
@dill be more optimistic, spring is coming ;p
6:01 PM
School is stressful rn because I have a lot of stuff going on... I promise I'm reading everything on this server (this is one of my only unmuted servers)
Avatar
well then good luck
👍 2
Mikku joined the server. 3/3/2023 2:35 PM
Avatar
Avatar
Mikku
Click to see original message
2:41 PM
Welcome
Avatar
what are you doing here
Avatar
Avatar
Mikku
Click to see original message
Sticker
Avatar
Avatar
Mikku
Click to see original message
DobaMuffin joined the server. 3/4/2023 6:36 AM
Avatar
Avatar
DobaMuffin
Click to see original message
Sticker
6:49 AM
117 members 😮
Avatar
Avatar
DobaMuffin
Click to see original message
Sticker
Avatar
Avatar
dill
117 members 😮
2 active users, 10~ write something once a year
Avatar
Hello, what are you here for?
Avatar
To eat muffins i suppose
Avatar
Hi. I'm here because I'm interested in learning more about new developments with the project. I have 2 Kobo touch eReaders with inkbox installed.
Avatar
which models
Avatar
N905b and N905c
Avatar
good
2:19 PM
we have 2 big things remaining to do before we release v2.0
2:19 PM
1. finish update system redesign 2. fix xorg
2:19 PM
third one is actually have the GUI to launch again, see #dev
2:19 PM
when things go bad...
Avatar
Hopefully the font size issues and not being able to close out of a menu are fixed.
Avatar
what exactly are they
Avatar
File chooser menu?
Avatar
what version of OS
Avatar
The newest release on GitHub. I have an issue where when I open up a menu or something with the x button on the tip right, it gets cropped off the screen and I can't click it.
Avatar
Avatar
DobaMuffin
The newest release on GitHub. I have an issue where when I open up a menu or something with the x button on the tip right, it gets cropped off the screen and I can't click it.
screenshot?
Avatar
I'll try to get an image later today.
👍 1
2:23 PM
Maybe even a video if I can.
Avatar
Avatar
DobaMuffin
The newest release on GitHub. I have an issue where when I open up a menu or something with the x button on the tip right, it gets cropped off the screen and I can't click it.
whoa, you compiled everything without any help and guides?
Avatar
No no.
2:23 PM
The releases tab.
Avatar
oh ok
2:23 PM
then its old
Avatar
But I'll have to try and compile the newest version.
Avatar
we god an entire library in the newest dev
2:24 PM
good news: there is a guide
2:24 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
2:24 PM
:D
Avatar
Sweet
Avatar
Soo when will you begin
Avatar
Oh geez... Uni and work are taking everything out of me right now. I'll probably be able to look at the codebase starting in the summer.
👍 1
Avatar
Try not to forget...
Avatar
That's the harder task.
Avatar
yea, we had tooo many people give up / go away
12:14 AM
there is a reason only 2 of us welcomed you
12:15 AM
there is no one here more (* some people do read those chats, help sometimes) (edited)
Avatar
What programming language is being used?
Avatar
Avatar
DobaMuffin
What programming language is being used?
c, c++, qt, rust, shell
12:16 AM
python interpreter launches on ereaders for 30s, so no
Avatar
C is something I'm learning currently. C++ seems similar.
Avatar
Qt is not a programming language
Avatar
dont be so specific
12:19 AM
when i code in qt i dont feel like im coding in c++
12:19 AM
all those functions, such a higher level
12:20 AM
like, at what point a framework becomes a language of itself, based on the parent
12:20 AM
look up typescript, it could be a framework eassly
Avatar
well, yeah, but still
baahemian joined the server. 3/5/2023 1:37 AM
Avatar
I can't even find a way to close the app.
2:03 AM
And a few others are like that.
Avatar
It has been fixed
2:08 AM
Avatar
Ah, so a reinstall should fix it right?
Avatar
No
2:08 AM
An update to dev version
Avatar
ah 2.0 fix
Avatar
Avatar
baahemian
Click to see original message
Avatar
Hey thanks! I saw this project while digging for some projects to tinker with. Have a kobo libra 2 so not in the supported devices yet but I would be interested in testing and doing what little I can to help. Not much on the software development side (yet) but have spent some time administering Linux networks
👍 1
Avatar
Avatar
baahemian
Hey thanks! I saw this project while digging for some projects to tinker with. Have a kobo libra 2 so not in the supported devices yet but I would be interested in testing and doing what little I can to help. Not much on the software development side (yet) but have spent some time administering Linux networks
Welcome, if you want to port then look up threads in #porting , how the process looks etc
Sprawlie joined the server. 3/5/2023 10:02 PM
Avatar
Avatar
Sprawlie
Click to see original message
10:03 PM
Um welcome
Avatar
Avatar
Sprawlie
Click to see original message
Avatar
Avatar
Sprawlie
Click to see original message
shwanzy joined the server. 3/7/2023 10:46 AM
Avatar
Welcome
Avatar
Avatar
shwanzy
Click to see original message
Avatar
Avatar
shwanzy
Click to see original message
WellMetOutlander joined the server. 3/7/2023 8:50 PM
Avatar
Avatar
WellMetOutlander
Click to see original message
Avatar
Avatar
WellMetOutlander
Click to see original message
WellMetOutlander 3/7/2023 9:00 PM
Avatar
Avatar
WellMetOutlander
Click to see original message
9:16 PM
Woah, welcome
9:17 PM
how are nowadays 3 people each day coming here, and there are months of total silence?
Avatar
Life
Avatar
I have some pdf comics that have been scanned double page per page is there a good easy way to batch process them to cut them so they fit nicely on the kobo screen?
10:06 PM
I tried Calibre but not sure if it knows how to do that.
Avatar
i dont think cutting will be better than just using it native, with zoom adjustments / scrolling
Avatar
For some reason when you zoom the text is still garbage or the page doesn't scale properly so its difficult for a young reader.
Avatar
you mean inkbox?
Avatar
So I wasn't waiting long enough for the zoom pass over but still would like to cut the pages as zooming around the page is rough on eink
Avatar
it does the job - it should refresh after the moving though
Avatar
Guess I have to find some automated pdf cutter
10:20 PM
that just cuts ever page down the center and puts it into two separated pages
10:22 PM
Most software seems to split the pages into multiple pdfs but not actually take one of the pages and split it into two.
Avatar
Many ebook readers natively support PDF documents but, unfortunately, not all PDF documents are easy to read on a small ebook reader screen. Let’s take a look at two simple and free ways to convert PDF files for enjoyable reading.
10:22 PM
idk
Avatar
Splitting a PDF landscape single double-page spread into two portrait pages?? OK this is dull and not relevant unless it’s relevant, but it’s a solution to a problem that once explained is ea…
10:25 PM
Wonder if there is free software that does that
Avatar
im sure you arent the first person with the problem
Avatar
k2pdfopt -grid 2x1x0 -w .5s -h 1s file.pdf
Avatar
k2pdfopt works great thank you.
10:39 PM
Avatar
So after looking through all the pages it randomly would cut pages half way through. Using mutool first did well splitting everything right down the middle mutool poster -x 2 in.pdf out.pdf though it cuts the cover as well 😄 (edited)
propp joined the server. 3/8/2023 10:37 AM
Avatar
Avatar
propp
Click to see original message
10:45 AM
WOW Welcome
10:45 AM
Many people join lately
Avatar
Avatar
propp
Click to see original message
Sticker
Avatar
Avatar
propp
Click to see original message
Avatar
Avatar
propp
Click to see original message
Avatar
Briss 0.9 worked you can tell it to not cut the first page with a cropping box.
Avatar
idk if it has been a month, 2 weeks for sure monthly atro ping xD @atro
hhhkaokao joined the server. 3/9/2023 1:26 PM
Avatar
Avatar
hhhkaokao
Click to see original message
1:37 PM
Welcome! What is your purpuse here? 😄
Avatar
Avatar
hhhkaokao
Click to see original message
Avatar
Avatar
hhhkaokao
Click to see original message
dtw_2005 joined the server. 3/11/2023 9:33 PM
Avatar
Avatar
dtw_2005
Click to see original message
9:33 PM
Welcome
Avatar
Avatar
dtw_2005
Click to see original message
9:34 PM
Hi!
Avatar
Avatar
dtw_2005
Click to see original message
mononoke joined the server. 3/11/2023 11:52 PM
Avatar
Avatar
mononoke
Click to see original message
11:53 PM
Welcome!
Avatar
Hat einen kleinen Kratzer den man als helleren punkt sieht wenn die hintergrundbeleuchtung an ist.,Kobo eReader für eBooks in Ingolstadt - Ingolstadt
12:35 AM
@tux-linux what model is this
12:35 AM
i might get it
12:50 AM
Nur Abholung
12:50 AM
crap
Avatar
Avatar
dtw_2005
Click to see original message
Sticker
loiz6530 joined the server. 3/14/2023 12:21 AM
Avatar
Avatar
loiz6530
Click to see original message
Avatar
Avatar
loiz6530
Click to see original message
Avatar
Avatar
loiz6530
Click to see original message
DylanTackoor joined the server. 3/14/2023 7:48 AM
Avatar
Avatar
DylanTackoor
Click to see original message
👋 1
7:51 AM
Welcome everyone?
7:51 AM
Can you say a word?
7:51 AM
So many people, so much silence
🙊 1
7:55 AM
Bruh
Avatar
Avatar
DylanTackoor
Click to see original message
9:46 PM
I am a bit wondering about shipping batteries nowadays abroad (edited)
9:47 PM
I think it is nearly impossible for private persons nowadays
Avatar
I already have written to a few sellers
9:50 PM
For some reason shipping to poland is 15 euro...
Avatar
Avatar
andi
I think it is nearly impossible for private persons nowadays
Whaaat i hear first time about that
Avatar
and you cannot put goods into letter mail as a private custumer since 2019 if destination is international (edited)
9:58 PM
in Germany
9:58 PM
so you have to use more expensive things
10:00 PM
so something >=12 euro is completely sane
10:06 PM
No matter the size, in poland to poland a package to... Paczkomat? Idk if there is a word for it costs 2€, even less
10:06 PM
Saaaad
Avatar
I've never had issues getting tablets and the like shipped in the mail.
Avatar
DHL small parcels starts at 6 euros to Poland, with insurance and tracking it is 14 euros, so if there is some distrust, then probably sellers will try to use something with tracking
Avatar
Me neither, but I'm obviously in the wrong place
Avatar
well, the BT200 I received from Japan, there was even in the parcel discription: no batteries, the batteries were in, but the parcel was not marked at all
10:45 PM
Welche Vorschriften gelten beim Versand von Lithium-Batterien und Akkus in Paketen? Mit welchem Paketdienst kann ich Batterien national und international verschicken?
10:45 PM
so basically only via UPS is possible for private customers
Avatar
Maybe only because it was cheaper (edited)
Avatar
or just other rules for things departing in Japan
11:05 PM
whatever
11:06 PM
Germany->Poland would probably not be air transport, so things might work
11:07 PM
because rules not so much enforced
Avatar
There are usually (very strong) rules about shipping stuff that's a fire hazard via air, yeah
10:39 PM
Even via road, getting alcohol shipped to a pharmacy usually requires a separate delivery
Avatar
Well here in Canada I don't seem to have got problems about road shipping eReaders
Avatar
(that's half because fire hazard, and half because weird legacy custom rules about alcohol because moonshine days ;p)
👍 1
10:44 PM
On the upside, I have access to medical grade isopropyl alcohol, which is kind of a bitch to get otherwise in france
10:45 PM
worked great to clean a daughter card the other day
10:46 PM
Because someone (it was me) had a PSU installed the wrong way around (fan up), so computer case was dust central >_<"
Avatar
Avatar
NiLuJe
On the upside, I have access to medical grade isopropyl alcohol, which is kind of a bitch to get otherwise in france
Any diffrences from regular one?
Avatar
Avatar
NiLuJe
On the upside, I have access to medical grade isopropyl alcohol, which is kind of a bitch to get otherwise in france
fun fact (probably because of even more weird EU/FR rules): it has an expiry date (of ~5 years)
10:47 PM
it's basically pure (99.99%, or ~200 proof for our US friends)
10:48 PM
You usually only get 91 or 93%
Avatar
Avatar
NiLuJe
fun fact (probably because of even more weird EU/FR rules): it has an expiry date (of ~5 years)
😆
10:49 PM
As you are here, could you look up #dev with my usb libs compiling problem? (edited)
Avatar
missed what you were trying to build
10:50 PM
saw the log but don't know what it's from
Avatar
libusb needs libudev, libudev needs usb utils, usb utils needs libusb
10:50 PM
Basically that
10:50 PM
Whole problem in one sentence
Avatar
I'm pretty sure I've built libudev in the past w/o libusb
10:50 PM
might be a configure (or meson?) flag to disable
Avatar
Well i hadnt found one yet
Avatar
The systemd-less one, specificially: https://github.com/eudev-project/eudev
Repository for eudev development. Contribute to eudev-project/eudev development by creating an account on GitHub.
Avatar
And im not the only one with the problem, someone trying to compile it for android had similar issues and solved it with rust hackery i dont understand yet
Avatar
Which doesn't appear to depend on libusb at all, so, there you have it? 😄
Avatar
Avatar
NiLuJe
The systemd-less one, specificially: https://github.com/eudev-project/eudev
I tryied an archive one from kernel.org
Avatar
Avatar
NiLuJe
Which doesn't appear to depend on libusb at all, so, there you have it? 😄
Umm... Cool🥴
10:53 PM
Thanks will try it
Avatar
Oh its the gentoo one
10:53 PM
I looked into it and yyyyyyyy i have some concerns it will work
Avatar
It was forked by Gentoo devs originally, yeah
10:54 PM
And as such is still used on Gentoo if using OpenRC instead of systemd
10:54 PM
But it's not really Gentoo-specific
10:54 PM
I used it to test libinput, FWIW
10:54 PM
(didn't work, needs an actual decent udev & kernel running, too :D)
Avatar
./configure --disable-udev?
11:23 PM
ndi@aktux:/tmp/libusb-1.0-1.0.24$ ldd libusb/.libs/libusb-1.0.so.0.3.0 linux-vdso.so.1 (0x00007ffdfe92e000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6c2cfe6000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6c2ce11000) /lib64/ld-linux-x86-64.so.2 (0x00007f6c2d075000) andi@aktux:/tmp/libusb-1.0-1.0.24$
11:23 PM
no libudev involved
Avatar
Avatar
andi
no libudev involved
cool...
11:23 PM
i wonder why and how
Avatar
Avatar
andi
./configure --disable-udev?
--disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-largefile omit support for large files --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-split-usr Include hard-coded default search paths in / and /usr --disable-programs disable programs (udevd, udevadm and helpers) --disable-blkid Disable optional blkid support --disable-selinux Disable optional SELINUX support --disable-manpages disable manpages --disable-kmod disable loadable modules support --enable-hwdb install hwdb.d files --enable-rule-generator enable legacy persistent network, cdrom support --disable-mtd_probe disable MTD support
Avatar
that looks very different
Avatar
Avatar
NiLuJe
The systemd-less one, specificially: https://github.com/eudev-project/eudev
its this
11:26 PM
--disable-programs -disable-selinux --disable-manpages worked
Avatar
you can compile libusb without libudev dep
11:26 PM
that way around
11:27 PM
so I disabled udev dep in compiling libusb by specifying --disable-udev in libusb configure
Avatar
Avatar
andi
./configure --disable-udev?
there isin't something like that but it worked, but --disable-FEATURE is propably that
11:28 PM
well anyway i want libudev to work in qt
11:28 PM
so i think disabling it is not a way
Avatar
That's just old kernel headers (edited)
11:37 PM
I may have just fed it a bunch of -D defines via CPPFLAGS, but up-to-date kernel headers would also do the trick
11:37 PM
Event if they're not the TC's, but just in another location appended to search paths
11:44 PM
e.g., it's similar in spirit to this mess I use when doing input stuff: https://github.com/NiLuJe/FBInk/blob/6572b5f393f810785e382104391d177120da46f6/fbink_button_scan.h#L35-L66
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - FBInk/fbink_button_scan.h at 6572b5f393f810785e382104391d177120da46f6 · NiLuJe/FBInk
11:44 PM
Because the 2.6.whatever kernel headers I use for the kobo TC are too old to declare these evdev events and/or keys
11:44 PM
And that stuff is just numbers, so it's entirely safe to fake
rexbron joined the server. 3/16/2023 7:58 PM
Avatar
Avatar
rexbron
Click to see original message
Avatar
Avatar
rexbron
Click to see original message
Avatar
Okay we need a template on welcoming new users
8:17 PM
Avatar
Hi, I discovered this looking for a linux distro for an pld kobo that I had
Avatar
Welcome to the InkBox OS community. We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
Avatar
Avatar
rexbron
Hi, I discovered this looking for a linux distro for an pld kobo that I had
cool, what does pld mean
Avatar
Old
✅ 1
8:18 PM
Typo
Szybet pinned a message to this channel. 3/16/2023 8:19 PM
Avatar
I had looked for an FOSS ereader in the past but none were workable
Avatar
well kobos are pretty good ( with inkbox )
8:21 PM
but there isin't really a hardware FOSS one
8:21 PM
¯\_(ツ)_/¯
Avatar
inkbox seems very polished
Avatar
as one of the 2 developers working on it, i dissagree but i'm also working on it 😄
Avatar
No it's definitely polished
Avatar
i won't give you specific examples of my complains, because the printer also doesn't print the red underlines saying that a word is bad written, but yea🥴
nonehereigues joined the server. 3/17/2023 7:56 PM
Avatar
Avatar
nonehereigues
Click to see original message
Sticker
Avatar
Avatar
nonehereigues
Click to see original message
Sticker
7:57 PM
Welcome to the InkBox OS community! We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
Avatar
Avatar
rexbron
Hi, I discovered this looking for a linux distro for an pld kobo that I had
@tux-linux which model is this ( number )? is this supported?
Avatar
I don't know
8:14 PM
It's just an"old kobo"
Avatar
sooo @rexbron are you willing to port it?
Avatar
It’s an N905B, so already supported
8:18 PM
nice
Avatar
Though I did load some books on via a Win10 machine, ejected and got stuck on this screen
8:19 PM
It will sleep and resume
Avatar
it needs time
Avatar
Avatar
Szybet
but there isin't really a hardware FOSS one
Here is something that can make DIY enthusiasts feel excited about. It’s a new e-reader project powered by a Raspberry Pi that you can make on your own. Conceived by Reddit user, thataintthis, the e-reader supports several e-book formats such as EPUB, CBZ, and PDF, to name a few. It is a proof-of-concept, open-source project that is still being ...
Avatar
yea, i sugested this guy inkbox os
8:32 PM
still, its a glued in thing
8:33 PM
not really a proper ereader
😂 1
Avatar
im not a fan of the no touch
Avatar
yea, also that
Avatar
Avatar
rexbron
Though I did load some books on via a Win10 machine, ejected and got stuck on this screen
You did not update to 1.9
Avatar
I installed version 1.7 as linked on the home page, should I use another version?
Avatar
Avatar
Szybet
it needs time
It’s been overnight 🙂
Avatar
Avatar
rexbron
I installed version 1.7 as linked on the home page, should I use another version?
the newest one is 1.9
sado1 joined the server. 3/17/2023 10:17 PM
Avatar
Welcome to the InkBox OS community. We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
10:17 PM
im speed
Faggenza joined the server. 3/18/2023 3:40 PM
Avatar
Avatar
Faggenza
Click to see original message
Avatar
Avatar
Faggenza
Click to see original message
4:10 PM
Welcome to the InkBox OS community We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
Avatar
libmtdev.so.1
6:19 PM
libinput.so.10
Avatar
bruh not here
6:22 PM
sorry
Apricot joined the server. 3/20/2023 9:46 AM
Avatar
Last 5 persons i welcomed didnt responded
10:44 AM
sooo uhm welcome
Avatar
hey, I'm seeing some progress on Clara HD so I thought I'd join and see how it's going
Avatar
Welp, 10~ people worked on it and gived up (edited)
11:18 AM
You can help
Avatar
Was there anything particularly challenging about it, or do people just simply lose interest and give up?
Avatar
Nothing challenging, just lose interest
12:14 PM
Its litteraly the only device that has a decent kernel which makes it 50% easier than other weird kernels soo kinda sad it isint still ported
Avatar
Are we using kobo's stock kernels or are we building it from source?
Avatar
For clara, andi ported the mainline kernel
1:23 PM
So in this case, its easier
1:23 PM
Usually we use kobo sources and modify it
Avatar
I've also got a kindle paperwhite as well, 7th gen
2:03 PM
I wonder if amazon has enabled secure boot on this board (wario)
2:09 PM
Elixir Cross Referencer - Explore source code in your browser - Particularly useful for the Linux kernel and other low-level projects in C/C++ (bootloaders, C libraries...)
2:09 PM
Interesting, so there's even a dts in mainline for the clara hd (edited)
2:09 PM
I wonder how many peripherals actually work
Avatar
Avatar
Apricot
I wonder how many peripherals actually work
All?
Avatar
Avatar
Apricot
I wonder if amazon has enabled secure boot on this board (wario)
Propably is
Avatar
no, secure boot is not used for this board
5:07 PM
in fact this is the last gen that doesn't have it enabled
Avatar
Avatar
Szybet
Propably is
Nope, can confirm
5:34 PM
InkBox has been ported to the original Kindle Touch fyi (@Apricot)
Avatar
the imx5 one?
Avatar
what? so they like randmly put secure boot in and out?
Avatar
It’s never been enabled until after kt3 I think (edited)
joy joined the server. 3/22/2023 12:11 AM
Avatar
Avatar
joy
Click to see original message
Avatar
Avatar
joy
Click to see original message
Sticker
Avatar
Welcome to the InkBox OS community! We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
😄 1
Avatar
Hiya! I just installed inkbox in my kobo mini, and having some issues, so trying to work through those and smooth out the edges. 😄 So just intending on doing some lurking and reading to educate myself
12:15 AM
What issues are you experiencing, specifically?
Avatar
Well, I'm sure it's things that are my fault haha. I installed it, booted it up, looking great, but I can't go into the SD card at all on my pc. It's unreadable/unviewable, and I can't resize the partitions (I had installed it on a 32gb SD card.) That said, I haven't updated everything yet, and it's an old version, so I still have things I can try before I bother anyone too much!
Avatar
Are you on Windows?
Avatar
Avatar
joy
Well, I'm sure it's things that are my fault haha. I installed it, booted it up, looking great, but I can't go into the SD card at all on my pc. It's unreadable/unviewable, and I can't resize the partitions (I had installed it on a 32gb SD card.) That said, I haven't updated everything yet, and it's an old version, so I still have things I can try before I bother anyone too much!
Hmm, I think @tux-linux did something that negates partition resizing, but we'll find out when he has time
12:18 AM
He's a student so he's very busy
Avatar
Completely understandable! Thank you so much for the friendly welcome, it's much appreciated ^^
Avatar
Thanks for joining :D
Avatar
Use gparted on linux - easiest just boot a live cd
Avatar
+ you need to resize the squash fs
Avatar
Ooh, it's not possible on windows?
Avatar
Not my fault windows partition manager is crap
Avatar
I was able to partition the same SD cards with miniToolPartition Wizard before flashing, so it seems odd to be locked out of that option now, but I'll try it, thank you
10:34 AM
Can inkbox read ebooks with drm protection?
Avatar
Avatar
joy
Can inkbox read ebooks with drm protection?
Just remove the drm
👍 1
Avatar
Avatar
joy
I was able to partition the same SD cards with miniToolPartition Wizard before flashing, so it seems odd to be locked out of that option now, but I'll try it, thank you
Its ext4 filesystem, windows is stupid and doesnt support it
Avatar
Thank you for your help!
👍 1
Avatar
Anki on remarkable 2 or kobo forma?
5:56 PM
what
5:56 PM
😆
6:01 PM
inkbox has sanki - my anki compatible flash card app
6:01 PM
its outdated, i will update it soon
6:07 PM
remarkable doesnt have any
Avatar
I downloaded balenaetcher for windows and and flashed inkbox-1.5-n905c onto my kobo forma… When it was completed, my device reset and was wiped clean, going through all the intro kobo setup again. How can I fix this? How do I properly set up inkbox on the kobo forma?
Avatar
is kobo forma the n905c? no? its the kobo touch? are you insane? writing and incompatible device image... anyway kobo forma is not supported, no one ported it + you need to flash it with the sd card in it, not by connecting the ereader to your pc. ( DONT DO IT ITS NOT SUPPORTED ) (edited)
10:54 PM
you could eassly destroy it by writing a RANDOM IMAGE to it. STOP
Avatar
Not everyone is as knowledgeable as you on this… I thought n905c was the name of a software update. I asked about kobo forma and you replied with inkbox, so I tried to download it.
Avatar
Not everyone is as knowledgeable as you on this
I understand. Thats why you always ask before doing something you dont understand?
Avatar
I did lol
Avatar
i did not respond with "Write this image"...
Avatar
It’s fine, it’s still working so no problem
Avatar
yea... like cats have 9 lives, apparently your ereader has 2 at least
Avatar
I wasn’t too attached with what was on it
Avatar
i mean completly destroying the device - it wouldn't do anything
11:01 PM
bricked
Avatar
Yeah
11:01 PM
I’m very ignorant when it comes to this stuff
Avatar
¯\_(ツ)_/¯
Avatar
So only devices with removable sd cards work?
Avatar
no, its more complicated
11:03 PM
only devices that a person found time to port inkbox to it work
Avatar
But only certain kobo models
Avatar
only because noone ported it
Avatar
I don’t even know what porting is
Avatar
making sure it works on a new device
Avatar
Is it impossible for it to work on kobo forma?
Avatar
Avatar
Szybet
only because noone ported it
it is possible, as i said
Avatar
But a lot of work for someone
Avatar
most of the time "someone" enjoys it
11:06 PM
hacking a new device, making more use of it. cool stuff
Avatar
Do the recent imx kobo devices use HAB at all? (edited)
Avatar
im developing inkbox for at least a year and i dont know what HAB is?
Avatar
Secure boot
Avatar
no, from what i know, no
Avatar
Excellent
Avatar
why would they
11:09 PM
its not an evil amazon corporation
Avatar
Avatar
Szybet
bricked
could have shorted ram or something probably
Avatar
Avatar
Szybet
im developing inkbox for at least a year and i dont know what HAB is?
NXP's version of secure boot (edited)
Avatar
Kompletny (mam nadzieję) poradnik w postaci pdf dostępny jest tutaj: http://chomikuj.pl/debros/Tolino+Shine/ ... 134437.pdf i zawiera obszerne opisy oraz ilustracje pokazujące proces rootowania Tolino Shine. Polecam ...
1:37 PM
Tolinis are android based?.....
Avatar
Yes
2:51 PM
Someone did run android on Kobo Glo
2:51 PM
But mainly useless now because it was android 2.x
Avatar
I think I’ve seen 3rd party android builds for some kpw models too
2:55 PM
But I can’t imagine it would be usable with just 256 or 512MB of dram
3:08 PM
Cool anyways
Dominiac joined the server. 3/23/2023 4:40 PM
Avatar
hello there! is there a wiki somewhere about the project that can tell me the updated list of models supported?
4:44 PM
sry for the noob question in advance
Avatar
Hello, a week time lurker I'm from France and I would like to know if I can use that https://github.com/kevinior/haslate on inkbox, Thank you
HAslate - E-ink Home Assistant Dashboard. Contribute to kevinior/haslate development by creating an account on GitHub.
Avatar
Avatar
Dominiac
hello there! is there a wiki somewhere about the project that can tell me the updated list of models supported?
4:59 PM
but its down. give me a moment i will message the owner
Avatar
Avatar
Mikku
Hello, a week time lurker I'm from France and I would like to know if I can use that https://github.com/kevinior/haslate on inkbox, Thank you
you can? yes. But you would need to port it
5:01 PM
cool app it is
Avatar
Avatar
Szybet
but its down. give me a moment i will message the owner
ha I see! thx I'll wait for it to be up again
Avatar
Check the way back machine
Avatar
it seems the wiki is not archived
Avatar
It should be back there soon
5:32 PM
It is available now
Avatar
lets goooo
👍 1
5:32 PM
thx!👀 (edited)
Avatar
Avatar
Dominiac
it seems the wiki is not archived
Do it then... weird it should be
Avatar
You can save it on the Wayback machine
8:09 PM
There's a form somewhere
Avatar
hello again!
6:21 PM
say I want to install an x11 program into inkBox
6:22 PM
like another eBook reader program made to be used on linux
6:22 PM
is it possible to install without much fuss?
6:23 PM
I'm really impressed by the project and I'm inclined to get one kobo to tinker with this👀
Avatar
Avatar
Dominiac
is it possible to install without much fuss?
define much fuss (edited)
6:25 PM
cross compiling almost always is much fuss
6:25 PM
+ xorg + app is always heavier than a native app, so not a good idea in a long run
6:26 PM
1 core cpu and not too much ram, its less than a RPI 0
6:27 PM
+ xorg does a bit of refreshes that are unneceserry, so that doesnt look as great too
Avatar
I see
6:30 PM
so the lighter the program the better
6:32 PM
btw did you guys make that scribbler program?
6:32 PM
where u make drawings and stuff on the screen
Avatar
which one
Avatar
Avatar
Dominiac
so the lighter the program the better
the problem is xorg uses ram / resources, a program that write to the screen by itself ( QT ones ) are native, better
Avatar
Avatar
Szybet
the problem is xorg uses ram / resources, a program that write to the screen by itself ( QT ones ) are native, better
so if I got a program thats runs with QT does it work better? of even if I made a program with QT gui?
Avatar
Avatar
Dominiac
so if I got a program thats runs with QT does it work better? of even if I made a program with QT gui?
yes in general qt programs
Avatar
No, its a qt example app. but now we plan to use https://github.com/Szybet/sketch-inkbox which is a bit faster
Draw sketches on e-paper - fork for inkbox. Contribute to Szybet/sketch-inkbox development by creating an account on GitHub.
6:49 PM
its part of plato
Avatar
Avatar
Szybet
No, its a qt example app. but now we plan to use https://github.com/Szybet/sketch-inkbox which is a bit faster
damm thats nice
Avatar
if you look arround discord search you could find a video of it in use
6:51 PM
i sended it
Avatar
Avatar
Szybet
i sended it
cant find it tho :[
Avatar
Avatar
Szybet
yes in general qt programs
is there a more complete wiki somewhere? how can I port stuff into inkbox?
Avatar
https://github.com/Szybet/niAudio/tree/main/apps-on-kobo here is my knowledge + a link to aramir guide
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
7:14 PM
just trying arround / asking things will get you learn
Avatar
Avatar
Dominiac
cant find it tho :[
welp me too, sadly
7:15 PM
anyway, it is fast
Avatar
By the way does KOReader run on inkbox?
Avatar
No one tried but it could, why not
Avatar
Avatar
Szybet
just trying arround / asking things will get you learn
lets gooo, thx
Avatar
im here most of the time and willing to answer and help
Avatar
isnt there like a place where we can see all the available apps?
Avatar
sell?...
7:20 PM
oh see
7:20 PM
im blind
Avatar
like in a opensource library
Avatar
not really, not yet
Avatar
I see I see
7:20 PM
here you can download them
Avatar
is this anki?
7:21 PM
👀
Avatar
feathernotes is new, is missing, sanki is outdated, conway propably too? inkvt is missing a keyboard? not complete yet propably
Avatar
Avatar
Dominiac
is this anki?
small anki rewritten for e-readers, with focus on inkbox support - GitHub - Szybet/sanki: small anki rewritten for e-readers, with focus on inkbox support
7:22 PM
my implementation - eink focused
7:22 PM
its very basic - but works
7:22 PM
i plan to expand it
Avatar
oh hell yeah
Avatar
@tux-linux does inkvt have a keyboard? did you figure that out or was this my job
Avatar
Yes but doesn't work on all devices
7:24 PM
Best works on Glo HD
Avatar
okay, why
Avatar
Don't know
7:24 PM
Magic
7:24 PM
when will you have time for the project again btw?
Avatar
In a googol year
7:25 PM
No, for real, maybe this weekend but you know that maybe really means maybe
Avatar
ok cool
Avatar
Avatar
Szybet
anyway, it is fast
witch version did you use it on? I'm thinking in getting the Kobo Glo HD one
Avatar
kobo nia
8:55 PM
idk about eink speeds
9:06 PM
do you use it alot?
9:06 PM
the "scribble" tool
9:07 PM
what do you plan it for?
9:07 PM
touch on einks isint as accurate to use for anything more serious
9:07 PM
you would need an active pen
Avatar
Avatar
Szybet
touch on einks isint as accurate to use for anything more serious
any capacitive touchscreen is not as accurate do use for anything serious*
Avatar
well I was thinking like, taking a notes by hand
Avatar
nope, no chance
Avatar
it sucks?
Avatar
it sucks because of hardware, not software
Avatar
Avatar
Szybet
any capacitive touchscreen is not as accurate do use for anything serious*
.
9:11 PM
+ the screen size is a bit too small
Avatar
I see...
Avatar
While reading, you can write and highlight on the page just like a real book. For example, you can write on the margins and circle key words. Note: Kobo Stylus only works with Kobo Sage and Kobo ...
Avatar
Avatar
Dominiac
I see...
well i write for 3 weeks now notes on my nia using a keyboard
Avatar
yhea but its not supported yet
9:12 PM
quick demonstration
9:13 PM
for simple math equations / charts i can use the scrible app
Avatar
anyway the nia one is the faster tablet supported is it?
9:23 PM
or is it aura
9:24 PM
faster? what?
Avatar
I mean, the most recent
Avatar
faster in what way
Avatar
cpu?
Avatar
nia definitely not
9:26 PM
budget device
9:26 PM
other idk
9:26 PM
+ nia has only 256Mb of ram, very low
Avatar
ha I see
Avatar
just look at the spec
Avatar
Avatar
Dominiac
anyway the nia one is the faster tablet supported is it?
Glo HD is
9:41 PM
Or Libra h2o But Glo HD is better
Avatar
roger that! 👍
9:43 PM
prob will get the Glo HD
Avatar
Avatar
Dominiac
u got more of those presentations?👀 (sry for being anoying lel)
you are not annoying, feel free to ask. Sadly no, if you want to know something about this setup, then ask
Avatar
do you guys have had bad experiences with 2º hand ink tablets? (edited)
Avatar
of what i can say of what i have heard from other people here, no
12:43 AM
what's the question ? (@me if you answer I'm quite busy at the moment so I don't look here quite often) (edited)
Avatar
Buying 2nd hand devices is always kind of a gamble. If you’re in a place where these things are really common, might be able to just pick one up locally.
3:08 AM
This way you would be able to inspect the device before actually paying for it
Avatar
I was thinking in getting one from cex
12:25 PM
its 2nd hand but hey inspect it and stuff to see if its in good condition
12:25 PM
or at least I hope
12:26 PM
have you guys ever bought stuff from them?
Avatar
well its almost half the price from a brand new one so I think I'll risk it
Kuratius joined the server. 3/26/2023 1:48 PM
Avatar
Avatar
Kuratius
Click to see original message
Sticker
Avatar
Oh no
1:49 PM
I have been discovered
Avatar
You are the guy who asked about plato
1:49 PM
well welcome
Avatar
just opened my nia and took out the 16GB sd card, now trying to figure out what I need to do to get a OS I can actually run my own software with
Avatar
Avatar
Szybet
You are the guy who asked about plato
yeah
Avatar
Avatar
Kuratius
just opened my nia and took out the 16GB sd card, now trying to figure out what I need to do to get a OS I can actually run my own software with
(bit confused that they hide 8GB of capacity but eh)
Avatar
Avatar
Kuratius
just opened my nia and took out the 16GB sd card, now trying to figure out what I need to do to get a OS I can actually run my own software with
1. clone the sd card, make a backup 2. https://inkbox.ddns.net/downloads.html flash the nia image
Avatar
Avatar
Kuratius
(bit confused that they hide 8GB of capacity but eh)
its for system, but with inkbox you get arround 3Gb~ more out of it
Avatar
Avatar
Szybet
its for system, but with inkbox you get arround 3Gb~ more out of it
I think mine had 6.7 GB free out of 8 GB when I got it, so I assume that's not the the whole story
1:52 PM
would make more sense if those 1.3 GB were the OS and the rest is product stack segmentation
1:53 PM
8GB sd cards are probably similar in price to 16GB ones
Avatar
P1 is boot flags P2 is recovery system P3 is root filesystem P4 is UI components, X11 and user data
Avatar
Avatar
Szybet
1. clone the sd card, make a backup 2. https://inkbox.ddns.net/downloads.html flash the nia image
this doesnt work for custom software right?
Avatar
You need to root it
Avatar
Avatar
Kuratius
this doesnt work for custom software right?
you mean?
1:54 PM
yea, rooting it is needed
Avatar
And update to 2.0-dev
Avatar
wiki says I need to recompile the kernel first
Avatar
Yes, good way to familiarize you with build process
Avatar
I cant do that on the kobo directly right?
Avatar
You can compile everything for 2.0 and you will have learned most of what you need to do for your user app
Avatar
Avatar
Kuratius
I cant do that on the kobo directly right?
It would take 10^100 years and probably not be finished even then
1:56 PM
You have access to a Linux PC?
1:56 PM
but I have to reboot first
Avatar
How much time would you have for this ? >90% of people registering here say hello, maybe ask some questions, sometimes want to do something for the project but then they disappear and never come back (edited)
Avatar
Avatar
Szybet
1. clone the sd card, make a backup 2. https://inkbox.ddns.net/downloads.html flash the nia image
is the clone needed if I use a different sd card for inkbox?
Avatar
Well, It's always good
👍 1
1:59 PM
But no
1:59 PM
Not mandatory
Avatar
at least backup the first 100Mb then
1:59 PM
of the sd card
1:59 PM
its the most important
Avatar
Yes Contains eink and kernel magic
Avatar
Avatar
tux-linux
How much time would you have for this ? >90% of people registering here say hello, maybe ask some questions, sometimes want to do something for the project but then they disappear and never come back (edited)
I'm primarily interested in compiling plato for inkbox
2:00 PM
Not really planning anything fancy beyond that
Avatar
You don't like the default reader without even having tried it?
Avatar
you dont even need to compile - just pack it - make a launch script and maybe improve gui apps permission giving
Avatar
Avatar
tux-linux
You don't like the default reader without even having tried it?
I don't have an opinion on plato either, I just want to try it and see what the interface and performance is like
Avatar
Avatar
Szybet
you dont even need to compile - just pack it - make a launch script and maybe improve gui apps permission giving
+ minor modyfications like disabling suspend
Avatar
"minor"
Avatar
plato apart from pdf is better than the inkbox reader for now
2:06 PM
in my opinion
Avatar
Not sure if this is the right place to ask, but do the inkbox reader and plato work with vertical text?
2:07 PM
Iirc koreader still crashes when opening a book with it
Avatar
Japanese text is vertical
Avatar
No idea
Avatar
no chance, propably
Avatar
Works on the default kobo software at least
Avatar
But you can add support for it for sure
Avatar
Avatar
tux-linux
You have access to a Linux PC?
Is fedora fine or should I use a debian based distro? My desktop has Nobara Linux, my laptop has xubuntu, but it's very slow
Avatar
whatever really
2:12 PM
the only problem that we had was arch - so if something goes wrong use a debian container
Avatar
Avatar
Kuratius
Iirc koreader still crashes when opening a book with it
(Would be better if it outright crashed or gave an error instead of trying to open the book for 10 minutes before failing)
Avatar
¯\_(ツ)_/¯
2:13 PM
my problems with koreader was that it had a memory leak - after some time reading it got slower and slower
Avatar
Avatar
Kuratius
Is fedora fine or should I use a debian based distro? My desktop has Nobara Linux, my laptop has xubuntu, but it's very slow
Debian is probably a better idea
Avatar
Avatar
Szybet
my problems with koreader was that it had a memory leak - after some time reading it got slower and slower
Were you on a development build?
3:37 PM
Dont complain - there is a reason i develio my own now ;p
Avatar
Avatar
Szybet
¯\_(ツ)_/¯
can you list the repos and build steps for making an image?
4:13 PM
I haven't found anything like that on the wiki
4:15 PM
maybe this?
Avatar
Look up my feather notes repo - there is a script and base for generating an image
4:17 PM
You mean an app or os image?
Avatar
I did mean an os image, but this will probably be useful too
Avatar
Well for user app you already know
4:18 PM
Why do you want an os image?
Avatar
I'm under the impression that I need to recompile the kernel to install a custom userapp without approval by an inkbox developer
4:20 PM
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
4:21 PM
(this should probably be linked on the wiki)+
Avatar
Yep, and you dont need to update the whole os to update the kernel
4:22 PM
Look up my repo niAudio and inkbox.md file, there is the dd command to update the kernel
Avatar
I still think it's probably a good idea to make a build script that can make an image from scratch
4:23 PM
does that exist somewhere?
4:24 PM
It does
4:24 PM
Kobo-inkbox organisation, some repo there
4:24 PM
still you dont need an image
Avatar
imgtool
Avatar
==== Setting up InkBox OS kernel ==== ./release.bash: line 63: pushd: out/: No such file or directory this is step seems to fail
Avatar
Avatar
Szybet
Yep, and you dont need to update the whole os to update the kernel
bro...
Avatar
$ ls out release.bash sd (edited)
Avatar
i can help you with the kernel, not with the whole image
4:59 PM
tux-linux creates images
Avatar
Avatar
Szybet
i can help you with the kernel, not with the whole image
I'd like to try this, if it's really hard I'll probably give up but if there's a build script then it should be doable
5:04 PM
sorry if it's annoying
Avatar
trying to build only the kernel is easier than the whole os...
5:05 PM
the kernel is one script only anyway
Avatar
(also in case it matters, most browsers block the image download from the ddns website because it doesnt use https, probably a good idea to add an image to the github release)
Avatar
use wget then
Avatar
it's trivial to circumvent, I just dont want to
Avatar
because?
Avatar
Avatar
Kuratius
(also in case it matters, most browsers block the image download from the ddns website because it doesnt use https, probably a good idea to add an image to the github release)
5:07 PM
nope
Avatar
Avatar
Szybet
because?
there's been cases where projects get hacked and provide malicious downloads, e.g. transmission https://www.malwarebytes.com/blog/news/2016/09/transmission-hijacked-again-to-spread-malware
In this article, we take a look at a couple important takeaways from 2 recent hacks on Transmission.
Avatar
Good luck with imgtool then
5:10 PM
Try to look inside the script
Avatar
Avatar
Kuratius
(also in case it matters, most browsers block the image download from the ddns website because it doesnt use https, probably a good idea to add an image to the github release)
1.It's too big 2.The ddns server is https The download server (23.163.0.39) isn't, simply because it's a download server
Avatar
Avatar
tux-linux
1.It's too big 2.The ddns server is https The download server (23.163.0.39) isn't, simply because it's a download server
Download servers cant or shouldnt use https?
Avatar
Can and should have😄🥴
Avatar
Change my mind
5:15 PM
In what way would it be more secure
Avatar
Harder man in the middle attack because of encryption management
5:15 PM
🥴
Avatar
Well It's a download server Not gitlab
Avatar
got past the pushd error by just running a second time ==== Building base SD image ==== ~/Documents/imgtool/out ~/Documents/imgtool Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 qemu-nbd: Failed to set NBD socket
Avatar
Modprobe nbd
5:25 PM
Or install it before if not existing
Avatar
Avatar
tux-linux
Modprobe nbd
output is empty, I assume that means it's installed?
Avatar
What?
5:26 PM
Oh yes
Avatar
still fails (same error) (edited)
Avatar
What is the command you launch it with
Avatar
./release.bash n306 testing root
Avatar
Testing?
Avatar
private key
5:30 PM
Does it ask you for Sudo?
Avatar
at the beginning yes
Avatar
What is complete log
Avatar
(base) [dk@dk-desktop imgtool]$ sudo ./release.bash n306 testing root ==== Building base SD image ==== /home/dk/Documents/imgtool/out /home/dk/Documents/imgtool Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 qemu-nbd: Failed to set NBD socket
Avatar
Run without Sudo
5:32 PM
Delete out folder
5:32 PM
Send log
Avatar
(base) [dk@dk-desktop imgtool]$ ls release.bash sd (base) [dk@dk-desktop imgtool]$ ./release.bash n306 testing root ==== Building base SD image ==== ~/Documents/imgtool/out ~/Documents/imgtool Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 qemu-nbd: Failed to set NBD socket (base) [dk@dk-desktop imgtool]$
5:34 PM
fwiw before I was getting an error about the img file being in use, but that disappeared when I deleted it (before the nbd error I mean)
Avatar
bash -x release.sh etc
Avatar
release.sh?
5:35 PM
or release.bash?
Avatar
bash
Avatar
(base) [dk@dk-desktop imgtool]$ bash -x release.bash n306 testing root + '[' -z '' ']' + case "$-" in + __lmod_vx=x + '[' -n x ']' + set +x Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash) Shell debugging restarted + unset __lmod_vx + '[' -z n306 ']' + '[' -z testing ']' + '[' -z root ']' + PKEY=testing + KERNEL_TYPE=root + GIT_BASE_URL=https://github.com/Kobo-InkBox + PKGS_BASE_URL=http://23.163.0.39 ++ tr -dc A-Za-z0-9 ++ head -c 10 + MOUNT_BASEPATH=/tmp/inkbox-cWVUoUb9T2 ++ dirname '${0}' + cd . + GITDIR=/home/dk/Documents/imgtool + mkdir -p out/release + case "${1}" in + DEVICE=n306 + build_base_sd_image + printf '==== Building base SD image ====\n' ==== Building base SD image ==== + IMAGE_FILE=release/inkbox-n306.img + pushd out/ ~/Documents/imgtool/out ~/Documents/imgtool + root_command modprobe nbd + '[' '' == 1 ']' + sudo modprobe nbd [sudo] password for dk: + qemu-img create -f qcow2 release/inkbox-n306.img 3865470976 Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 + root_command qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img + '[' '' == 1 ']' + sudo qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img qemu-nbd: Failed to set NBD socket + exit 1
5:44 PM
ima reboot and see if it changes something
5:47 PM
gets past the error now
5:47 PM
somehow
5:47 PM
I assume it's probably a process or program that didnt exit correctly and got stuck in an infinite loop
5:51 PM
==== Setting up InkBox OS kernel ==== + setup_kernel_repository + '[' -z '' ']' + pushd out/ release.bash: line 63: pushd: out/: No such file or directory + '[' '!' -d kernel ']' + pushd kernel/ ~/Documents/imgtool/out/kernel ~/Documents/imgtool/out ~/Documents/imgtool + '[' n306 == n306 ']' + KERNEL_FILE=zImage-root + root_command env GITDIR=/home/dk/Documents/imgtool/out/kernel scripts/make_devicenodes.sh + '[' '' == 1 ']' + sudo env GITDIR=/home/dk/Documents/imgtool/out/kernel scripts/make_devicenodes.sh env: ‘scripts/make_devicenodes.sh’: No such file or directory + exit 1
5:52 PM
running again immediately after gives this ==== Building base SD image ==== + IMAGE_FILE=release/inkbox-n306.img + pushd out/ ~/Documents/imgtool/out ~/Documents/imgtool + root_command modprobe nbd + '[' '' == 1 ']' + sudo modprobe nbd + qemu-img create -f qcow2 release/inkbox-n306.img 3865470976 Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 qemu-img: release/inkbox-n306.img: Failed to get "write" lock Is another process using the image [release/inkbox-n306.img]? + root_command qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img + '[' '' == 1 ']' + sudo qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img qemu-nbd: Failed to blk_new_open 'release/inkbox-n306.img': Failed to get "write" lock Is another process using the image [release/inkbox-n306.img]? + exit 1
Avatar
the following is after reboot->delete out directory->mkdir out (base) [dk@dk-desktop imgtool]$ mkdir out (base) [dk@dk-desktop imgtool]$ bash -x release.bash n306 testing root + '[' -z '' ']' + case "$-" in + __lmod_vx=x + '[' -n x ']' + set +x Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for this output (/usr/share/lmod/lmod/init/bash) Shell debugging restarted + unset __lmod_vx + '[' -z n306 ']' + '[' -z testing ']' + '[' -z root ']' + PKEY=testing + KERNEL_TYPE=root + GIT_BASE_URL=https://github.com/Kobo-InkBox + PKGS_BASE_URL=http://23.163.0.39 ++ tr -dc A-Za-z0-9 ++ head -c 10 + MOUNT_BASEPATH=/tmp/inkbox-vHrSPJhos0 ++ dirname '${0}' + cd . + GITDIR=/home/dk/Documents/imgtool + mkdir -p out/release + case "${1}" in + DEVICE=n306 + build_base_sd_image + printf '==== Building base SD image ====\n' ==== Building base SD image ==== + IMAGE_FILE=release/inkbox-n306.img + pushd out/ ~/Documents/imgtool/out ~/Documents/imgtool + root_command modprobe nbd + '[' '' == 1 ']' + sudo modprobe nbd [sudo] password for dk: + qemu-img create -f qcow2 release/inkbox-n306.img 3865470976 Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 + root_command qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img + '[' '' == 1 ']' + sudo qemu-nbd --connect /dev/nbd0 release/inkbox-n306.img qemu-nbd: Failed to set NBD socket + exit 1 (base) [dk@dk-desktop imgtool]$
6:04 PM
is it likely that this is due to fedora having different behavior or am I doing something wrong?
6:05 PM
for reference this is the output of pwd (base) [dk@dk-desktop imgtool]$ pwd /home/dk/Documents/imgtool
6:06 PM
I think that's the correct place to run the bash script from
Avatar
Avatar
Kuratius
is it likely that this is due to fedora having different behavior or am I doing something wrong?
Maybe
6:11 PM
Google it
6:11 PM
The error
6:19 PM
Weird thing is I'm pretty sure nobara is not fedora 20
Avatar
as a fedora user I recommend not using it lol
😂 1
7:31 PM
try debian first
Avatar
I'm really sad that canonical made ubuntu borderline unusable, because I can't recommend that to beginners anymore
Avatar
Mint: exist
Avatar
the snap bullshit they force onto people is just insanely stupid
Avatar
Yea it is
Avatar
I don't hate the technology, I hate canonical's pushy attitude and scummy practices to force its adoption
Avatar
All my family, even the older ones use mint and it has been great
Avatar
Avatar
Apricot
I don't hate the technology, I hate canonical's pushy attitude and scummy practices to force its adoption
You should: the server side is closed source
Avatar
that merely annoys me, the problem that makes it unusable for me is that I can no longer install firefox and chromium with apt (edited)
Avatar
Maybe app images?
Avatar
especially on a low-spec server or a vm the several hundred megs of memory that snapd uses actually matters (edited)
8:29 PM
firefox was also forced to switch to snap-only before they were even able to iron out the performance issues
Avatar
You can delete the make_devicenodes line It's not needed anymore
Avatar
WellMetOutlander 3/27/2023 5:04 AM
Are there any known issues with these instructions? I have not progressed very far with them, so it would seem that something is up. https://github.com/aartoni/n249/blob/main/installation.md
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
Um no?
6:08 AM
@atro
Avatar
Avatar
WellMetOutlander
Are there any known issues with these instructions? I have not progressed very far with them, so it would seem that something is up. https://github.com/aartoni/n249/blob/main/installation.md
What are your problems?
Avatar
Avatar
tux-linux
You can delete the make_devicenodes line It's not needed anymore
the entire block or only 1 line?
8:03 AM
this ? root_command env GITDIR="${PWD}" scripts/make_devicenodes.sh
Avatar
deleting gives this error LD arch/arm/kernel/built-in.o ---- There was an error during the build process, aborting... ---- + '[' n306 == n306 ']' + cp -v kernel/out/n306/zImage-std /home/dk/Documents/imgtool/out/release/uImage-std cp: cannot stat 'kernel/out/n306/zImage-std': No such file or directory + cp -v kernel/out/n306/zImage-root /home/dk/Documents/imgtool/out/release/uImage-root cp: cannot stat 'kernel/out/n306/zImage-root': No such file or directory + root_command dd if=kernel/out/n306/zImage-root of=/dev/nbd0 bs=512 seek=81920 + '[' '' == 1 ']' + sudo dd if=kernel/out/n306/zImage-root of=/dev/nbd0 bs=512 seek=81920 dd: failed to open 'kernel/out/n306/zImage-root': No such file or directory + exit 1
Avatar
Yeaaaa there is something messed up with the script
8:40 AM
You know you can built the kernel on your own?
8:40 AM
No concerns of security
Avatar
Avatar
Szybet
You know you can built the kernel on your own?
You mean on its own?
8:41 AM
Just tried on debian btw, imgtool fails there too
Avatar
Avatar
Kuratius
You mean on its own?
Yes? Thats what i was talking about
Avatar
Avatar
Kuratius
Just tried on debian btw, imgtool fails there too
It went further
Avatar
Avatar
Szybet
Yes? Thats what i was talking about
"on your own" =by yourself (i.e. what I am already doing) on its own =by itself (Compiling only the kernel)
8:52 AM
I'll try the github gist next, maybe that'll work better
Avatar
Avatar
Kuratius
"on your own" =by yourself (i.e. what I am already doing) on its own =by itself (Compiling only the kernel)
Yes you can compile the kernel by your... You compile it and can use it
Avatar
What's the hash of inkbox-1.9-n306.xz?
11:37 AM
🥴🥴🥴
11:37 AM
We will have hashes for 2.0
11:37 AM
Stop being so... Idk english
11:38 AM
Noone wants to hack into your ereader - no crypto mining, no valuable data
Avatar
It just seems a bit strange to have a strict security policy on software installation but not on distributing the os
11:39 AM
It'd make things much easier if there was an image provided for a less restrictive os
Avatar
does the keyboard have a "-" character somewhere?
Avatar
Avatar
Kuratius
It just seems a bit strange to have a strict security policy on software installation but not on distributing the os
Its a project done by 2 people, we dont even have the resources for https - but hashes will be added in the next release
Avatar
Avatar
Kuratius
does the keyboard have a "-" character somewhere?
It should?
Avatar
I cant find it
Avatar
Isint there a special button?
Avatar
There is on the right side
12:05 PM
#? Named propably
Avatar
Yeaaa you need to update to the latest dev version
Avatar
Avatar
Szybet
Yeaaa you need to update to the latest dev version
there isnt a download for that is there?
Avatar
Also tried plato on default kobo os (after making a backup) and apparently it cant render Japanese epubs correctly (it converts them to horizontal text and doesnt know how to deal with the furigina/reading aids so it just puts them on the same line)
1:47 PM
but at least it's not like koreader
Avatar
Avatar
Kuratius
there isnt a download for that is there?
No, it's a dev version
1:56 PM
If you want japanese adding them to inkbox will be the easiest from these 2
Avatar
Avatar
Szybet
If you want japanese adding them to inkbox will be the easiest from these 2
Why
Avatar
Both of them have custom engines, ours is just qt
Avatar
*Frankenstein qt with mutool
Avatar
Will the issues with imgtool be fixed? It seems like those may be classified as a bug & having an easy way to get started with the newest version would be convenient. It's not possible to connect to a wifi network with a hyphen in the passphrase. One of the things you may want to add is a dependency & directory check at the very beginning so that the process isn't interrupted midway. It doesn't seem to exit correctly if a step fails and you end up having to reboot your system (may be a qemu issue?) If not then instructions for how to actually build a dev version should probably be added to the github or the wiki, though that's probably more complicated. I don't think blackholing information in the discord is a good idea, though I understand that you may want people to come in and talk to you because that may result in them contributing to the project, but if building the project is complicated enough then that's more detrimental than helpful. (edited)
Avatar
Yes The problem is that we lack time imgtool was designed for my computer with a specific set of packages installed even if I tried to make universal. It probably is the first time someone else tried it out. You can submit PRs to improve it. Keyboard issues have been fixed in 2.0
Avatar
It maybe is not mutool issue, we need to debug it deeper
Avatar
Avatar
tux-linux
Yes The problem is that we lack time imgtool was designed for my computer with a specific set of packages installed even if I tried to make universal. It probably is the first time someone else tried it out. You can submit PRs to improve it. Keyboard issues have been fixed in 2.0
You lack time*
Avatar
Does ldd work with a bash script?
Avatar
Avatar
Szybet
You lack time*
You said you lacked as well
Avatar
Avatar
tux-linux
You said you lacked as well
Only for 2 weeks, not half a year
Avatar
Avatar
Kuratius
Does ldd work with a bash script?
I hope not
2:24 PM
It's a script
2:24 PM
What do you want to use it for
Avatar
Extracting dependencies automatically
Avatar
Its more complicated than that
Avatar
If not I have to go through line-by-line and google every command
Avatar
Avatar
Kuratius
If not I have to go through line-by-line and google every command
There is maybe propably a tool like that?
Avatar
It must be experience, but how can you think ldd is smart enough to get through the whole file and scan for commands? We are not at this level of magic unfortunately 🙂
Avatar
It works for binaries, but I guess those have their libraries listed in a more convenient fashion
👍 1
Avatar
You will probably need qemu-nbd bash sudo uboot tools xz busybox build-essential (maybe) etc
Avatar
+ fedora has more splitted packages so even more
Avatar
My debian build also failed at a pushd command so I don't think it's purely a fedora issue (edited)
Avatar
squashfs-tools
Avatar
Avatar
Kuratius
It works for binaries, but I guess those have their libraries listed in a more convenient fashion
Sorry for being harsh, I was just very surprised
Avatar
Avatar
Kuratius
Extracting dependencies automatically
you have a list of binaries and you just want to find out what package(s) you should install to get them, correct?
Avatar
Avatar
Apricot
you have a list of binaries and you just want to find out what package(s) you should install to get them, correct?
Well, basically the idea would have been that I'd get a list libraries and then I'd somehow figure out the package names I guess
2:34 PM
But probably not needed if it's short enough
2:34 PM
ldd was suggested to me when I talked to a maintainer for leafish about adding missing build dependencies
Avatar
If program that does it doesnt exist, im adding it to my list of future things
Avatar
You are dealing with a bash script, right?
2:36 PM
On ubuntu, these are not available by default. Some of the crates are not native rust and instead just wrap these packages and will fail compilation without them being available. sudo apt install l...
Avatar
Avatar
Apricot
You are dealing with a bash script, right?
Imgtool is a bash script
2:37 PM
It's the image builder for inkbox
Avatar
I tested imgtool on Debian Maybe it's why you're getting the Nbd socket issue You should try Debian
Avatar
It's probably difficult for bash because a bash script technically only contains symbolic links/aliases so those may not be Automatically linked to a specific package (though I remember being suggested packages when trying some commands that weren't installed before, so there seems to be some way to do it fuzzily)
Avatar
pkgs.org
Avatar
Avatar
tux-linux
I tested imgtool on Debian Maybe it's why you're getting the Nbd socket issue You should try Debian
It fails at one of the pushd lines instead on xubuntu (edited)
Avatar
What one
Avatar
63 I think?
Avatar
On Debian systems (and derivatives): $ dpkg --search /bin/ls coreutils: /bin/ls That is, the file /bin/ls belongs to the Debian package named coreutils. But this only works if the package is ins...
Avatar
Which is?
2:40 PM
(on phone) (edited)
Avatar
(this answer does not mention dnf, for dnf use dnf whatprovides *bin/your_binary_name
2:41 PM
Will run it again and post the output
Avatar
I'm getting failures at devicenodes now(?) also having to reboot after every attempt is really annoying, is there a way to gracefully exit a failed script run?
2:55 PM
commented out the devicenodes line again
2:58 PM
using this command bash -x ./release.bash n306 testing stable
2:58 PM
midway there's a "error during build process, aborting" line but it doesnt actually abort (?)
2:59 PM
3:01 PM
Avatar
Avatar
Kuratius
I'm getting failures at devicenodes now(?) also having to reboot after every attempt is really annoying, is there a way to gracefully exit a failed script run?
You can remove that line it is safe to do so
3:06 PM
If you want to test without reboot I think I did umount -l -f /tmp/inkbox-* qemu-nbd --disconnect /dev/nbd0 rm -rf out/ (edited)
3:07 PM
Then you should be able to start the script again
3:08 PM
If you want to avoid cloning kernel repo everytime you can specify KERNELDIR variable with location to place where kernel repo is cloned
Avatar
Avatar
tux-linux
If you want to avoid cloning kernel repo everytime you can specify KERNELDIR variable with location to place where kernel repo is cloned
inside the script or as an input parameter?
3:17 PM
dk@dk-ThinkPad-E560:~/kobo/build/imgtool$ sudo ./reset.sh umount: /tmp/inkbox-*: no mount point specified. /dev/nbd0 disconnected dk@dk-ThinkPad-E560:~/kobo/build/imgtool$ ./release.bash n306 testing standard ==== Building base SD image ==== ~/kobo/build/imgtool/out ~/kobo/build/imgtool Formatting 'release/inkbox-n306.img', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=3865470976 lazy_refcounts=off refcount_bits=16 dd: writing to '/dev/nbd0': Input/output error 1+0 records in 0+0 records out 0 bytes copied, 0.000444534 s, 0.0 kB/s
3:18 PM
+ sudo dd if=/home/dk/kobo/build/imgtool/sd/n306.bin of=/dev/nbd0 dd: writing to '/dev/nbd0': Input/output error 1+0 records in 0+0 records out 0 bytes copied, 0.000264396 s, 0.0 kB/s + exit 1
3:18 PM
reset.sh is these umount -l -f /tmp/inkbox-* qemu-nbd --disconnect /dev/nbd0 rm -rf out/
3:20 PM
made the following modifications to the build script KERNELDIR=/home/dk/kobo/build/kernel # added this line #root_command env GITDIR="${PWD}" scripts/make_devicenodes.sh # commented it out (added a # )
3:20 PM
3:21 PM
gonna reboot again
3:24 PM
---- There was an error during the build process, aborting... ---- + '[' n306 == n306 ']' + cp -v kernel/out/n306/zImage-std /home/dk/kobo/build/imgtool/out/release/uImage-std cp: cannot stat 'kernel/out/n306/zImage-std': No such file or directory + cp -v kernel/out/n306/zImage-root /home/dk/kobo/build/imgtool/out/release/uImage-root cp: cannot stat 'kernel/out/n306/zImage-root': No such file or directory + root_command dd if=kernel/out/n306/zImage-std of=/dev/nbd0 bs=512 seek=81920 + '[' '' == 1 ']' + sudo dd if=kernel/out/n306/zImage-std of=/dev/nbd0 bs=512 seek=81920 dd: failed to open 'kernel/out/n306/zImage-std': No such file or directory + exit 1
3:25 PM
./scripts/gen_initramfs_list.sh: Cannot open '/home/build/inkbox/kernel/initrd/devnodes-imx.txt' make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.xz] Error 1 make: *** [Makefile:947: usr] Error 2 make: *** Waiting for unfinished jobs.... CC init/init_task.o CC init/version.o AS arch/arm/vfp/entry.o AS arch/arm/vfp/vfphw.o CC arch/arm/vfp/vfpsingle.o CC arch/arm/vfp/vfpdouble.o LD init/mounts.o LD init/built-in.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o ---- There was an error during the build process, aborting... ---- ++ nproc + env GITDIR=/home/dk/kobo/build/kernel TOOLCHAINDIR=/home/dk/kobo/build/kernel/toolchain/arm-nickel-linux-gnueabihf THREADS=8 TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root ---- Building Kobo Nia (N306) kernel ---- ---- Building ROOT kernel for n306 ----`
3:30 PM
uname -v #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023
Avatar
Avatar
Kuratius
./scripts/gen_initramfs_list.sh: Cannot open '/home/build/inkbox/kernel/initrd/devnodes-imx.txt' make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.xz] Error 1 make: *** [Makefile:947: usr] Error 2 make: *** Waiting for unfinished jobs.... CC init/init_task.o CC init/version.o AS arch/arm/vfp/entry.o AS arch/arm/vfp/vfphw.o CC arch/arm/vfp/vfpsingle.o CC arch/arm/vfp/vfpdouble.o LD init/mounts.o LD init/built-in.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o ---- There was an error during the build process, aborting... ---- ++ nproc + env GITDIR=/home/dk/kobo/build/kernel TOOLCHAINDIR=/home/dk/kobo/build/kernel/toolchain/arm-nickel-linux-gnueabihf THREADS=8 TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root ---- Building Kobo Nia (N306) kernel ---- ---- Building ROOT kernel for n306 ----`
what is the error?...
3:39 PM
give me a full log
Avatar
bash -x ./release.bash n306 testing std &> full.txt
90.4 KB
Avatar
Avatar
Kuratius
./scripts/gen_initramfs_list.sh: Cannot open '/home/build/inkbox/kernel/initrd/devnodes-imx.txt' make[1]: *** [usr/Makefile:73: usr/initramfs_data.cpio.xz] Error 1 make: *** [Makefile:947: usr] Error 2 make: *** Waiting for unfinished jobs.... CC init/init_task.o CC init/version.o AS arch/arm/vfp/entry.o AS arch/arm/vfp/vfphw.o CC arch/arm/vfp/vfpsingle.o CC arch/arm/vfp/vfpdouble.o LD init/mounts.o LD init/built-in.o LD arch/arm/vfp/vfp.o LD arch/arm/vfp/built-in.o ---- There was an error during the build process, aborting... ---- ++ nproc + env GITDIR=/home/dk/kobo/build/kernel TOOLCHAINDIR=/home/dk/kobo/build/kernel/toolchain/arm-nickel-linux-gnueabihf THREADS=8 TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root ---- Building Kobo Nia (N306) kernel ---- ---- Building ROOT kernel for n306 ----`
Put your kernel repo in /home/build/inkbox/kernel Hard-coded paths
Avatar
Avatar
Kuratius
Iirc koreader still crashes when opening a book with it
While we don't support vertical layout, it should absolutely not crash, ever. If you can actually reproduce that, please report it! (edited)
Avatar
@Kuratius one thought i had now: if you want to check if inkbox supports those japanese books, try to convert one to html ( with mutool ) if it will work - send me the html file, i will have a look at it (edited)
Avatar
I'm going to spoil it: nothing does except Nickel's stock reader ;). (edited)
9:29 PM
KOReader version: All Device: All Issue not supporting vertical text CSS Steps to reproduce kindle/kobo all works fine but KOREADER not working, everything vertical will become horizontal. crash.lo...
9:30 PM
(For some very creative workarounds involving a rotated font & device ;p) (edited)
9:31 PM
JP does have very good support in KOReader though, with pretty decent ruby tag handling, and dedicated highlighting/dictionary handling
9:31 PM
In horizontal layout, obviously
Avatar
@Szybet still need me to do some test ? (I'm in the middle of reinstalling everything). btw you asked what qt is used, it's this one https://invent.kde.org/qt/qt/qtbase.git
Avatar
Avatar
Aramir
@Szybet still need me to do some test ? (I'm in the middle of reinstalling everything). btw you asked what qt is used, it's this one https://invent.kde.org/qt/qt/qtbase.git
I dont have time to prepare the qt prototype app.. Maybe later this week
Avatar
np looks like I'll have some work to do too :p
9:44 PM
I love me some useful error message. Output : "void" (edited)
Avatar
figured it out .... forgot that the kobo-qt-setup-scripts doesn't add arm-gcc bin to path. (At least I suspect that's it for now)
10:01 PM
And no that wasn't enough ahah Don't worry I won't spam again about my problems. But yeah if you need something ping me again soon ™️. spoiler : that's the install_libs.sh that broke again --" More precisely the zlib-ng patch 3:00 am ok that's enough for tonight. Thanks mr libpng and neon (edited)
Avatar
Avatar
NiLuJe
While we don't support vertical layout, it should absolutely not crash, ever. If you can actually reproduce that, please report it! (edited)
Still crashes (or becomes unresponsive for 10+ minutes) I'll dm you the epub
Avatar
Avatar
Szybet
@Kuratius one thought i had now: if you want to check if inkbox supports those japanese books, try to convert one to html ( with mutool ) if it will work - send me the html file, i will have a look at it (edited)
I can dm you a link to the epub sec
Avatar
Avatar
Kuratius
Still crashes (or becomes unresponsive for 10+ minutes) I'll dm you the epub
After I don't know how long it actually succeeded this time
6:26 AM
Still bad behaviour to lock people out for 10 minutes or more
6:27 AM
But it didn't even succeed when I tried on my jailbroken kindle before
Avatar
Avatar
Kuratius
After I don't know how long it actually succeeded this time
Text is rendered horizontally, but the furigana (ruby) works and dictionary lookups work
Avatar
Avatar
Kuratius
Text is rendered horizontally, but the furigana (ruby) works and dictionary lookups work
On plato the opening is instant, but ruby is broken
Avatar
Will get my kindle and try again there too
Avatar
It does the same thing but it has to redo it every time a display setting is changed so it's basically unusable because changing font size or spacing etc always results in the device freezing for a few minutes
10:36 AM
also here's a build log from the image builder (most recent attempt) it gets pretty far, but apparently the image is missing a partition table bash -x ./release.bash n306 testing root &>full.txt
909.74 KB
Avatar
You did not provide a valid private key and/or it needs an absolute path
Avatar
WellMetOutlander 3/28/2023 1:59 PM
At the step "Creating the boot script image" in this guide, where is that boot script supposed to be located? https://github.com/aartoni/n249/blob/main/installation.md#creating-the-boot-script-image
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
WellMetOutlander 3/28/2023 2:34 PM
I also assumed the previous step "Signing overlaymount-rootfs" takes place in /home/build/inkbox and not /home/build/inkbox/kernel but I might be wrong about that.
Avatar
Avatar
tux-linux
You did not provide a valid private key and/or it needs an absolute path
suggestion: change printf "You must provide the 'private key' argument.\n" to 'You must provide the 'private key dir' argument'
Avatar
Dir? It just needs a file
Avatar
private key file/path then (edited)
3:26 PM
probably also specify that it's a specifically a 2048 bit rsa key (edited)
Avatar
Avatar
Kuratius
suggestion: change printf "You must provide the 'private key' argument.\n" to 'You must provide the 'private key dir' argument'
Any pull requests are welcome
Avatar
Avatar
WellMetOutlander
I also assumed the previous step "Signing overlaymount-rootfs" takes place in /home/build/inkbox and not /home/build/inkbox/kernel but I might be wrong about that.
It takes place on the sd card?... Ifk we will see, not important for now
Avatar
Avatar
WellMetOutlander
At the step "Creating the boot script image" in this guide, where is that boot script supposed to be located? https://github.com/aartoni/n249/blob/main/installation.md#creating-the-boot-script-image
Kernel / uboot sources. Just use a search across the dirs
3:59 PM
I'll try copying the file manually, it seems to exist in /home/build/inkbox/kernel/kernel/out
Avatar
Avatar
Kuratius
I'll try copying the file manually, it seems to exist in /home/build/inkbox/kernel/kernel/out
Yep, idk what the script tries to achieve
Avatar
also gave compiling the kernel a try GITDIR=/home/build/inkbox/kernel TOOLCHAINDIR=$GITDIR/toolchain/gcc-4.8 TARGET=arm-linux-gnueabihf THREADS=4 scripts/build_kernel.sh n306 root &>kernelLog.txt
Avatar
Wrong toolchain
4:33 PM
Use the kobo one
Avatar
Avatar
Szybet
Use the kobo one
which is where?
Avatar
Kernel repo
Avatar
I am using the toolchain from the kernel repo so....
Avatar
There are 4 toolchains
4:35 PM
Look up my repo on github named niAudio and inkbox.md file
4:35 PM
There is the command for compiling kernel
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
4:48 PM
env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
Avatar
make -j$(($(nproc)*2)) ARCH=arm CROSS_COMPILE=arm-nickel-linux-gnueabihf- is this a placeholder?
4:56 PM
Get the source: https://github.com/kobolabs/Kobo-Reader/blob/master/hw/imx6ull-nia/kernel.tar.bz2 Grab the config from arch/arm/configs/imx_v7_kobo_defconfig and copy it to the main directory as .config Create a symlink to your cloned repo from /home/build/inkbox/kernel/. The script getting busybox is static. * I have writed this sentence, and now I don't know whot a talked about. Could you clarify? Enable Loopback device support, FUSE and SquashFS with XZ support. * whot are the specific "names" of the changes? so it would be easy to paste the name in menuconfig, using "/" and then enable this feature`what is going on here?
Avatar
it is incomplete + this part is "from bare source" (edited)
4:57 PM
use inkbox repo + command i sended you
Avatar
I think I got a working kernel?
5:04 PM
how do I replace this in the inkbox image?
5:04 PM
zImage-root
Avatar
in a already existing inkbox image?
Avatar
yeah
5:04 PM
or an sd card, dont care
Avatar
Avatar
Kuratius
Still crashes (or becomes unresponsive for 10+ minutes) I'll dm you the epub
That's a different beast altogether ;). That usually means some pretty intricate and complex CSS, or a gigantic book (i.e., omnibus). I'll look at it and forward it to our CRe wizard, thanks 😉
5:09 PM
(Probably has nothing to do with vertical layout, though)
Avatar
Avatar
Kuratius
It does the same thing but it has to redo it every time a display setting is changed so it's basically unusable because changing font size or spacing etc always results in the device freezing for a few minutes
The latest release does these re-renders in the bg to alleviate the issue, FWIW (which, on a sane book usually only takes a few seconds, or even much less on newer SoCs)
Avatar
suggestion: provide an official torrent for inkbox images
Avatar
we have 2 mirrors
5:43 PM
why torrent
5:43 PM
when we have only 2 mirrors
Avatar
Avatar
Szybet
when we have only 2 mirrors
you do?
Avatar
of inkbox
5:43 PM
the official download page
Avatar
I only see one mirror
Avatar
and the second server of apps
5:44 PM
there will be images for 2.0
Avatar
and right now it seems quite slow
Avatar
the second one is fast
Avatar
also if you provide a hash there isnt really an argument against also providing a torrent
5:45 PM
sure then
5:45 PM
i dont see a reason for torrent - tux-linux propably too but if you remind us about it before we release 2.0 then sure we can add it
Avatar
Plus, you'd need seeders for a torrent to be of any use
Avatar
Avatar
Szybet
i dont see a reason for torrent - tux-linux propably too but if you remind us about it before we release 2.0 then sure we can add it
if we have the resources to do so
Avatar
Avatar
NiLuJe
Plus, you'd need seeders for a torrent to be of any use
thats why i dont see any sense in it ;p
Avatar
maybe my internet is just fucked atm
Avatar
Avatar
NiLuJe
Plus, you'd need seeders for a torrent to be of any use
If there's ever an activity spike of people trying to download images you'll be glad for it
5:58 PM
It's not difficult either
Avatar
imo seeding is a better use of someone's home internet for hosting downloads anyway
Avatar
Avatar
Szybet
Click to see attachment 🖼️
Is the kernel supposed to be 10MB?
8:11 PM
writing it with dd to /dev/sdb and the offset you gave results in a crash
Avatar
Avatar
Kuratius
Is the kernel supposed to be 10MB?
Arround that
Avatar
Avatar
Kuratius
writing it with dd to /dev/sdb and the offset you gave results in a crash
Woah, cool, great
8:26 PM
almost there
8:27 PM
Do you have a usb - serial connector?
Avatar
Avatar
Szybet
Do you have a usb - serial connector?
I have a pico somewhere?
8:28 PM
Do I need it?
8:28 PM
Also if I have to solder I have to buy a soldering iron first (edited)
8:29 PM
Can't do that today
8:31 PM
also I have a cp210x uart bridge if that helps
Avatar
Well then better not
8:35 PM
Read on the wiki how to get a ssh over serial connection
8:35 PM
Boot flags, something like that
8:35 PM
And get a shell that way
Avatar
you don't necessarily need to solder
8:36 PM
just hold it there with like
8:36 PM
toothpicks and plasticine and stuff
Avatar
3 hands?
8:36 PM
lol
Avatar
you laugh but that's actually what @tux-linux did
8:37 PM
i can try to find the image (edited)
8:37 PM
You know my opinion on this ;p
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
yup it's this one
Avatar
Avatar
Szybet
Read on the wiki how to get a ssh over serial connection
OVER USB****
8:38 PM
Bruh
8:38 PM
:P
fellow clara user joined the server. 3/29/2023 11:28 AM
Avatar
Avatar
fellow clara user
Click to see original message
Avatar
Avatar
fellow clara user
Click to see original message
Avatar
Avatar
Szybet
Arround that
What minicom command? just minicom -D /dev/serial0?
12:55 PM
I have a pi 400 that seems to work-ish
12:57 PM
Also am I supposed to get any serial messages by default or is there a config I need to change?
12:59 PM
I got something
1:01 PM
1:05 PM
(I didn't end up soldering. I just pressed the wires down with a finger)
Avatar
Avatar
Szybet
OVER USB****
You didnt saw that
1:11 PM
Well anyway
Avatar
Avatar
Kuratius
What minicom command? just minicom -D /dev/serial0?
If its that device yes, maybe try sudo
Avatar
Avatar
Kuratius
I got something
Veru good!
1:12 PM
When booting it sends a message to if you spam seriak it will stop booting
1:12 PM
And get yoy a shell
Avatar
Avatar
Szybet
When booting it sends a message to if you spam seriak it will stop booting
you mean just press random keys till it stops?
Avatar
Oh its locked down
1:16 PM
Wait
1:16 PM
Idk how to reverse that
1:16 PM
Can you check P1 for weird flags there?
Avatar
Avatar
Szybet
Idk how to reverse that
@tux-linux hello
1:18 PM
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 dd if=/dev/mmcblk0 bs=512 skip=79872 count=1 run this
1:18 PM
On the sd card
Avatar
Avatar
Szybet
Can you check P1 for weird flags there?
You mean boot? There's FIRST_BOOT=TRUE X11_START=TRUE DONT_BOOT=TRUE
Avatar
Yea remove dont boot then
1:20 PM
And give me ligs
1:20 PM
You propably need to replace the keys
Avatar
Have a shell
1:24 PM
Got "hit enter to stop auto boot
1:24 PM
It's asking for login details
1:28 PM
"Security Policy was violated"
Avatar
Logs?
1:30 PM
(I rebooted after I got the login)
1:30 PM
Didn't try to log in
Avatar
Please download a static strace binary https://github.com/Kobo-InkBox/rootfs/blob/master/usr/bin/strace?raw=true then login in initrd and transfer it with busybox rx and minicom Make sure your terminal application has buffer lines set to >10000000 Then run ./strace /etc/init.d/init
1:40 PM
Copy output and send it
Avatar
Avatar
tux-linux
Please download a static strace binary https://github.com/Kobo-InkBox/rootfs/blob/master/usr/bin/strace?raw=true then login in initrd and transfer it with busybox rx and minicom Make sure your terminal application has buffer lines set to >10000000 Then run ./strace /etc/init.d/init
Please break the instructions down a bit more Is initrd a boot phase? How do I log in there? What command is used to transfer if? It may be a bit tricky for me to run the command without breaking the uart connection, is that likely to be an issue?
1:45 PM
It isn't possible to just set it to write the stacktrace to the sd card is it?
1:46 PM
Also how difficult is it to get a shell via usb?
Avatar
Bro stop
1:49 PM
Why strace
1:49 PM
Wait until i have time, strace is not neccesery here
Avatar
Avatar
Kuratius
Also how difficult is it to get a shell via usb?
Easy, read the wiki
Avatar
Avatar
Kuratius
Please break the instructions down a bit more Is initrd a boot phase? How do I log in there? What command is used to transfer if? It may be a bit tricky for me to run the command without breaking the uart connection, is that likely to be an issue?
You can't hold the wires in place?
Avatar
Avatar
tux-linux
You can't hold the wires in place?
Not while typing
Avatar
The same way you logged in earlier Noticed it said (initrd) at prompt?
Avatar
Still don't have a third arm Skill issue, I know
Avatar
Avatar
Szybet
Easy, read the wiki
Not easy yet because he hasn't got rootfs up
1:51 PM
Have you tried with blue tack or smth?
Avatar
Ugh stop, 10 minutes and i will see the logs
1:51 PM
No strace stop
Avatar
I usually do that Or take ethernet wires and roll them around your gpio wires They are more solid and tend to move less and stuck in place
Avatar
Avatar
Szybet
Ugh stop, 10 minutes and i will see the logs
They are too vague You can't tell much from them That's why I need strace
Avatar
If you want to reproduce what I did I can tell you It's just download image->flash to sd Compile n306 kernel with root option Then use the dd command szybet told me to use with of=/dev/sdb (sd card) to write the kernel to the sd (edited)
Avatar
Oh you downloaded the image
1:57 PM
I thought you used imgtool
1:57 PM
imgtool signs everything for you
1:57 PM
Now you need to sign every package in the system with your private key for it to work
Avatar
Avatar
Kuratius
(I rebooted after I got the login)
Here is nothing new
Avatar
Avatar
Szybet
Yea remove dont boot then
Dod you did this
Avatar
Do you know how to sign a package?
Avatar
Avatar
Szybet
Dod you did this
It would not have said the same thing if he didn't do it
Avatar
Then he dont
Avatar
Avatar
Szybet
Dod you did this
I did this by deleting the file with sudo rm -r
Avatar
For sure?
Avatar
Yes
Avatar
Ok lol @tux-linux wherr does it save the security enforcer, boot flag is for rootfs propably
2:00 PM
Some dd thing propably
Avatar
What?
Avatar
Where does it save security enforcer
2:00 PM
This thing
Avatar
It's in various initrd scripts and in inkbox-os-init
Avatar
Where does it save it
2:03 PM
Only
2:04 PM
I remember one clara user had problems with it, needed to replace the kernel with a new onr then it was enforced one more time
Avatar
Avatar
Kuratius
If you want to reproduce what I did I can tell you It's just download image->flash to sd Compile n306 kernel with root option Then use the dd command szybet told me to use with of=/dev/sdb (sd card) to write the kernel to the sd (edited)
Are you sure you didnt replaced any keys anywhere?
Avatar
Avatar
Szybet
Are you sure you didnt replaced any keys anywhere?
You mean when compiling the kernel?
2:09 PM
Avatar
GITDIR=/home/build/inkbox/kernel TOOLCHAINDIR=$GITDIR/toolchain/armv7-linux-musleabihf-cross TARGET=arm-linux-gnueabihf THREADS=4 bash -x scripts/build_kernel.sh n306 root &>kernelLog.txt this is the command I used
Avatar
On a clean kernel repo?
Avatar
maybe the build script replaced a key somewhere? (edited)
2:09 PM
YEA?
Avatar
it might not be clean?
Avatar
use git reset hard
2:10 PM
What was the propblrm what you gived up with imgtool?
Avatar
constant issues with files that were in the wrong location
2:11 PM
also rebooting every time is not that much fun
Avatar
Welp okay
Avatar
It'd be good if either any necessary cleanup ran automatically or I could run it in a vm Also need a standard directory structure/a directory structure that is automatically managed by the build script (better to use relative directories)
Pometcan joined the server. 3/29/2023 2:16 PM
Avatar
Avatar
Kuratius
It'd be good if either any necessary cleanup ran automatically or I could run it in a vm Also need a standard directory structure/a directory structure that is automatically managed by the build script (better to use relative directories)
Yea, agree, but thats it, we dont have time for it
Avatar
Avatar
Pometcan
Click to see original message
2:18 PM
Welcome
Avatar
Avatar
Pometcan
Click to see original message
Avatar
Avatar
Szybet
Yea, agree, but thats it, we dont have time for it
upload a vm image that people can use for building (maybe?)
2:20 PM
also it's not hard to just write down the directory structure required/expected (edited)
Avatar
Not vm, container
Avatar
that works too
Avatar
Magnetlink for the InkBox 1.9 Kobo Nia Image magnet:?xt=urn:btih:2b2d4fa38e7b544bc36d29e5a78b2e1e7f6588b6&dn=inkbox-1.9-n306.xz (edited)
👍 1
5:57 PM
(takes ~1 min to make with transmission-gtk)
6:02 PM
@tux-linux next time you're on your pc, can you post the absolute paths of all the repos on your system in a config where your build script succeeds?
Avatar
Avatar
Kuratius
Magnetlink for the InkBox 1.9 Kobo Nia Image magnet:?xt=urn:btih:2b2d4fa38e7b544bc36d29e5a78b2e1e7f6588b6&dn=inkbox-1.9-n306.xz (edited)
(didn't add trackers, so may need to redo it later)
6:04 PM
If someone wants to try the link and see if it works as is let me know
Avatar
Avatar
Kuratius
@tux-linux next time you're on your pc, can you post the absolute paths of all the repos on your system in a config where your build script succeeds?
Give him find / thats it (edited)
Avatar
Avatar
Szybet
use git reset hard
Still says security policy was violated
Avatar
Yea, delete the boot flag now
Avatar
Avatar
Szybet
Yea, delete the boot flag now
still complains about violated security policy
7:14 PM
it wouldnt have made sense for it to work anyway
7:14 PM
else the private key would be written in the kernel repo, defeating the point of signing in the first place
7:15 PM
I get that such a strict security policy is useful for kobos without sd cards since it makes people less likely to brick their devices, but if inkbox is only running on sd-card enabled devices anyways I dont see the point
7:16 PM
(also different question, can you write to the sd card from the serial port? would be interesting if that meant installing inkbox on non-sdcard enables kobos was possible, if very slow
7:17 PM
14 kB/s apparently
7:18 PM
only takes a little bit less than a day to write 1 GB (edited)
7:18 PM
so maybe possible but not really desirable
7:18 PM
still probably worth doing a backup that way
7:21 PM
may be an idea: load image as file via usb, then load small program via serial that does the rest?
7:21 PM
btw is there serial output without an sd card?
7:23 PM
Ima look at the fcc filings for a sage
7:29 PM
cant find anything :/
7:30 PM
found something for the libra 2
7:31 PM
oof
7:32 PM
so basically you want to either dissolve the glue chemically or thermally, or you want to figure out how to read or write to the contacts of the sd card without removing it (edited)
7:33 PM
(I dont have any of these, I'm just curious)
Avatar
Avatar
Kuratius
else the private key would be written in the kernel repo, defeating the point of signing in the first place
There isint any private key, you dont have it🥴
7:34 PM
Its checkwd with the puvlic key
Avatar
Avatar
Kuratius
still complains about violated security policy
You are doing something wrong...
Avatar
Avatar
Kuratius
(also different question, can you write to the sd card from the serial port? would be interesting if that meant installing inkbox on non-sdcard enables kobos was possible, if very slow
From usb yes, from serial port ugh not really, complicated
Avatar
Avatar
Szybet
You are doing something wrong...
I ran the git reset --hard command you suggested and then ran the compile again
7:35 PM
then I used dd with the offset you gave
Avatar
Avatar
Kuratius
I get that such a strict security policy is useful for kobos without sd cards since it makes people less likely to brick their devices, but if inkbox is only running on sd-card enabled devices anyways I dont see the point
Its not strict, its for protecting the data inside ( why not? )
7:36 PM
And the image is downloaded?
Avatar
Avatar
Szybet
And the image is downloaded?
yes
Avatar
Avatar
Kuratius
btw is there serial output without an sd card?
You mean?
Avatar
sudo dd if=zImage-root of=/dev/sdb bs=512 seek=81920 20028+1 records in 20028+1 records out 10254400 bytes (10 MB, 9.8 MiB) copied, 3.47631 s, 2.9 MB/s
Avatar
Avatar
Szybet
You mean?
apparently there isnt, just checked
7:37 PM
it doesnt even try to boot
Avatar
Avatar
Kuratius
found something for the libra 2
What are you talking about, what glue
Avatar
Avatar
Szybet
What are you talking about, what glue
some of the waterproof kobos have glue in the sd card slot
7:37 PM
it's a tangent, dont think about it
Avatar
Avatar
Kuratius
it doesnt even try to boot
The cpu boots directly from the sd card, the "bios" is on the sd card
Avatar
Avatar
Kuratius
some of the waterproof kobos have glue in the sd card slot
Nah, no glue can stop hackers
Avatar
Avatar
Kuratius
may be an idea: load image as file via usb, then load small program via serial that does the rest?
We have an idea for an installer from the main os but quess what: no time
Avatar
this wasnt a complaint
7:39 PM
dont worry about it
7:39 PM
I just like to think out loud
7:40 PM
@Szybet can you give the hash of the kernel?
7:40 PM
as in the compiled one
Avatar
You are doing something wrong, the nia is the most used device for inkbox lately ( I have it ). Please send me your sd card image, compressed. I will test it and figure this out tommorow
Avatar
Avatar
Szybet
You are doing something wrong, the nia is the most used device for inkbox lately ( I have it ). Please send me your sd card image, compressed. I will test it and figure this out tommorow
with or without the kernel replacement?
Avatar
Avatar
Kuratius
@Szybet can you give the hash of the kernel?
Every compilation, every system, every cpu* (maybe not) compiles a bit diffrent. No point in hashes for self compiled software
Avatar
Avatar
Kuratius
with or without the kernel replacement?
With
Avatar
Avatar
Szybet
Every compilation, every system, every cpu* (maybe not) compiles a bit diffrent. No point in hashes for self compiled software
that doesnt apply to cross compilation
7:42 PM
so it's irrelevant
Avatar
Avatar
Kuratius
that doesnt apply to cross compilation
Doubt it
Avatar
and if you need repeatable compilation you can set the feature set to the base of whatever architecture you are compiling for
Avatar
Using diffrent distros but the same toolchain gives diffrent results ( sometimes it doesnt work, because magic! ) so yea.
Avatar
instead of the native one for your system
Avatar
Avatar
Szybet
Using diffrent distros but the same toolchain gives diffrent results ( sometimes it doesnt work, because magic! ) so yea.
that isnt how compilers work
Avatar
Avatar
Kuratius
and if you need repeatable compilation you can set the feature set to the base of whatever architecture you are compiling for
Not really good idea, arm has some cool specific things
Avatar
Avatar
Kuratius
that isnt how compilers work
Yea cool, and? Kernel compiled with arch was crashing in boot, but with debian it worked fine.
Avatar
Avatar
Szybet
Not really good idea, arm has some cool specific things
I know but the point is compilation is repeatable, if you set the same architecture and feature set
Avatar
Yea but you said base features
Avatar
this is just changing compiler flags, "base features" compilation is something you only do for software that needs to run the same way and have the same binary, on every system you compile it with but this is cross compilation so your compiler flags dont depend on the system you compile with, only the target
7:47 PM
compilers are deterministic unless there is a compiler bug
7:48 PM
(which is something you report to the developer of said compiler)
Avatar
Not every arm cpu has the same features, i suspect this toolchain has some features enabled
7:48 PM
*for the target
Avatar
possibly, but if you enable the same features on a different system it ought to produce the same binary bit by bit
7:49 PM
if it doesnt you're relying on undefined behavior and possibly memory bugs to compile your program
7:49 PM
which is really really bad
7:50 PM
it'd mean that cross compilation is not a reliable strategy even when done properly
7:51 PM
is the offset you gave for a specific partition or for the device as a whole?
Avatar
Welp i know, but my experience is diffrent
Avatar
Avatar
Kuratius
is the offset you gave for a specific partition or for the device as a whole?
Device as a whole...?
Avatar
Avatar
Szybet
Device as a whole...?
the sd card
Avatar
Avatar
Szybet
Welp i know, but my experience is diffrent
Compiled on my arch - didnt worked Compiled on arxh on a diffrent system - worked Im talking about inkbox kernel. This situtation i had is why i use a debian container for compiling things Worked not worked as crashed during boot (edited)
Avatar
Avatar
Kuratius
the sd card
Yes, whole sd card
7:53 PM
I gave you the exact command
Avatar
Avatar
Szybet
Compiled on my arch - didnt worked Compiled on arxh on a diffrent system - worked Im talking about inkbox kernel. This situtation i had is why i use a debian container for compiling things Worked not worked as crashed during boot (edited)
could be that your compiler uses a library or you were using a different compiler version
Avatar
Nope, clean repo the same
Avatar
a compiler is just a binary and should be deterministic, if running a binary isnt deterministic you have undefined behavior in your program
7:54 PM
this is really bad
Avatar
Welp linux kernel
7:55 PM
So well
7:55 PM
¯\_(ツ)_/¯
Avatar
Avatar
Kuratius
sudo dd if=zImage-root of=/dev/sdb bs=512 seek=81920 20028+1 records in 20028+1 records out 10254400 bytes (10 MB, 9.8 MiB) copied, 3.47631 s, 2.9 MB/s
can you give me the zImage-root hash from when you compiled it?
7:59 PM
sha1sum zImage-root
Avatar
The last time i compiled i created a custom kernel with a custom config so not really
8:02 PM
Why do you want it
Avatar
to see if I am flashing a wrong kernel
Avatar
What is your command to comolie it once again?
Avatar
GITDIR=/home/build/inkbox/kernel TOOLCHAINDIR=$GITDIR/toolchain/armv7-linux-musleabihf-cross TARGET=arm-linux-gnueabihf THREADS=4 bash -x scripts/build_kernel.sh n306 root &>kernelLog.txt
8:04 PM
how did you get the offset btw?
Avatar
Aaaaaaaaaaaaaaaaaa
8:07 PM
I said
8:07 PM
kobo toolchain
Avatar
I asked you but you never gave a straight answer
Avatar
No, actually the nickel one
Avatar
Avatar
Kuratius
I asked you but you never gave a straight answer
Idk sorry then
8:09 PM
env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
8:09 PM
Use this command
8:09 PM
Dont change it
8:09 PM
But idk if thats the issue anyway, try it anyway
Avatar
are you sure that's the issue?
8:14 PM
I get a toolchain error
Avatar
Avatar
Kuratius
are you sure that's the issue?
Maybe it is, IDKK
Avatar
Avatar
Kuratius
I get a toolchain error
What ine
Avatar
Git reset
8:17 PM
Things from previous compilation may mess up things?
8:17 PM
Maybe?
Avatar
"security policy was violated, shutting down"
8:31 PM
I deleted the dont boot file
8:33 PM
compiling a kernel should always require the private key
8:33 PM
public is only to verify if the private key was known by the person compiling it
8:33 PM
so I assume I probably just need to figure out how to get imgtool actually working I guess
8:34 PM
but I'm not gonna do that with trial and error, I'll wait for someone to actually tell me how to run the script
8:34 PM
it shouldnt be hard to explain (edited)
8:38 PM
We sign the rootfs, the apps etc with private keys
8:39 PM
With the public keys in the kernel
8:39 PM
Send me your image
Avatar
it's way less of a hassle for you to just compile again and tell me the hash
8:42 PM
I dont get why that's an issue
Avatar
I dont have my laptoo with me, maybe later
8:42 PM
Also i sont think kernel is the issue
8:44 PM
Show me your partition table of the sd card
Avatar
Disk /dev/sdb: 14.84 GiB, 15931539456 bytes, 31116288 sectors Disk model: STORAGE DEVICE Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc9dd5cc0 Device Boot Start End Sectors Size Id Type /dev/sdb1 49152 79871 30720 15M 83 Linux /dev/sdb2 104448 1128447 1024000 500M 83 Linux /dev/sdb3 1128448 1390591 262144 128M 83 Linux /dev/sdb4 1390592 31116287 29725696 14.2G 83 Linux (edited)
10:08 PM
/tmp/cccPPzwF.s: Assembler messages: /tmp/cccPPzwF.s:888: Error: .err encountered /tmp/cccPPzwF.s:904: Error: .err encountered CC fs/ext3/xattr.o make[2]: *** [scripts/Makefile.build:258: fs/fat/dir.o] Error 1 make[1]: *** [scripts/Makefile.build:403: fs/fat] Error 2 make[1]: *** Waiting for unfinished jobs.... CC fs/ext3/xattr_user.o
10:09 PM
wtfff
10:09 PM
i tryied to compile the kernel
10:09 PM
it is broken
10:09 PM
how
Avatar
Probably your computer
10:11 PM
Or try with env -i at beginning of command
Avatar
Avatar
tux-linux
Probably your computer
cool, how do i teach him to behave like a normal computer
Avatar
Avatar
tux-linux
Or try with env -i at beginning of command
.
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
I don't get any issue here
225.13 KB
5:09 AM
Maybe is there something to change in your invocation command? Mine: env -i PATH=/usr/bin GITDIR=/home/build/inkbox/kernel TOOLCHAINDIR=/home/build/inkbox/kernel/toolchain/arm-nickel-linux-gnueabihf/ THREADS=32 TARGET=arm-nickel-linux-gnueabihf bash -x scripts/build_kernel.sh n306 root
Avatar
Avatar
tux-linux
Maybe is there something to change in your invocation command? Mine: env -i PATH=/usr/bin GITDIR=/home/build/inkbox/kernel TOOLCHAINDIR=/home/build/inkbox/kernel/toolchain/arm-nickel-linux-gnueabihf/ THREADS=32 TARGET=arm-nickel-linux-gnueabihf bash -x scripts/build_kernel.sh n306 root
Hash?
Sir Deniz III joined the server. 3/30/2023 3:40 PM
Avatar
Avatar
Sir Deniz III
Click to see original message
Sir Deniz III 3/30/2023 3:40 PM
Sticker
Avatar
Avatar
Sir Deniz III
Click to see original message
Avatar
Sir Deniz III 3/30/2023 4:12 PM
heh, just werking at $dayjob. how 'bout you? (edited)
Avatar
welcome, well school
Avatar
Avatar
Kuratius
Hash?
i will have time today to help you, debug itself with my nia
4:14 PM
it would be easiest if you send me your image
4:14 PM
but i will compile a kernel and send you too
4:14 PM
hash too
Avatar
22:23 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % md5sum zImage-root e245dc4a3eda18248dc8b53ee5c71e4e zImage-root 22:23 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % sha1sum zImage-root 4c67512da8e1065e56218252e77b66c669e64925 zImage-root 22:24 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % sha256sum zImage-root ba3e7b5791d4d69e4e5f8b0b9a911d146092598f285ad639dcd0a14c2e2b1fe4 zImage-root 22:24 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 %
10:24 PM
arch is cursed lol
Avatar
Avatar
tux-linux
.
nope, needed debian
10:44 PM
here it is, tested on the nia
10:45 PM
yea, i dont have an idea for a better upload site - just use adblock and check the checksum
10:48 PM
its not the latest commit btw
Avatar
Avatar
Szybet
its not the latest commit btw
which commit?
Avatar
ummm N873: inkbox-splash: Increase HEIGHT_FACTOR value propably
11:51 PM
still works on the latest dev version of inkbox, so you should not care
Avatar
Avatar
Szybet
22:23 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % md5sum zImage-root e245dc4a3eda18248dc8b53ee5c71e4e zImage-root 22:23 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % sha1sum zImage-root 4c67512da8e1065e56218252e77b66c669e64925 zImage-root 22:24 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 % sha256sum zImage-root ba3e7b5791d4d69e4e5f8b0b9a911d146092598f285ad639dcd0a14c2e2b1fe4 zImage-root 22:24 szybet@debiano /mnt/HDD/Project/Public/kernel/kernel/out/n306 %
I checked out the commit you spoke about and I get a different hash
12:08 AM
are you sure that's the right commit?
Avatar
maybe Update system redesign ( 0f6a921b4b0f3f3c6380eb0a168e9b6aa477a2d0 commit id )
12:09 AM
or maybe the latest one actually, idk some one of those 3 for sure (edited)
12:09 AM
if you really want you can try these 3... i dont see the point
Avatar
just check
12:12 AM
git branch`
Avatar
i resseted to the latest commit
12:12 AM
i checked shell history, i have these 3 resets (edited)
Avatar
literally just type git branch and it will tell you the commit
12:12 AM
just need the id
Avatar
id of what commit
Avatar
the one your compiled that you said works?
Avatar
Avatar
Szybet
i resseted to the latest commit
.
Avatar
you said otherwise before
Avatar
either the latest: 930ae5d1b0c7e4b838a6eedec68e56a8c45a53cb or this one, Update system redesign ( 0f6a921b4b0f3f3c6380eb0a168e9b6aa477a2d0 ) but most propably this one: 0556cc7a3deb72f93de407726b360e5153145b70 the height in description one
Avatar
Avatar
Kuratius
you said otherwise before
ugh. i resseted after i compiled it, tested it and sended it
Avatar
oh ffs
Avatar
the proper way to debug is to go step by step, and compiling the kernel is a step before writing it to the image, so if there's an issue there then that has to be figured out first, but you aren't able to just give a hash and say which commit it is that's frustrating feels like pulling teeth
Avatar
I'm searching if it's possible to build the same Linux Kerneltwice (same sources, same environment, same options, same compiler) and get the same checksum. Anybody knows how to do so?
12:25 AM
stop with the hashes
12:25 AM
dont invent new problems
12:26 AM
flash the kernel i send you if it works then there is problem with your kernel compiling. if it doesnt, the problem is the image
12:26 AM
simple
Avatar
Will try that later, ty I looked it up and found a page listing all the things that need to be changed for a reproducible build https://docs.kernel.org/kbuild/reproducible-builds.html Having reproducible builds is still best practice, so probably keep it in mind for later
👍 1
Avatar
Avatar
Szybet
Click to see attachment 🖼️
Is this really the right offset? I'm still getting a security policy violation, except this time it results in a bootloop (edited)
9:01 AM
I can try deleting the flag again and see what happens
Avatar
Avatar
Kuratius
I can try deleting the flag again and see what happens
Do it
9:02 AM
Yes, write it to mmcblk0 not a partition
Avatar
Avatar
Szybet
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 dd if=/dev/mmcblk0 bs=512 skip=79872 count=1 run this
Was this message meant for me or tux? (edited)
Avatar
Avatar
Kuratius
I can try deleting the flag again and see what happens
The flag doesn't exist
Avatar
for you?...
12:55 PM
you need to root it
Avatar
Avatar
Kuratius
Was this message meant for me or tux? (edited)
For you It's the root flag
Avatar
Avatar
tux-linux
For you It's the root flag
Why are there two dd commands and why does the second one not have an output file?
Avatar
*input file?
8:51 PM
Input is taken from echo Piping
8:51 PM
The other command is for flashing the kernel
Avatar
Avatar
tux-linux
*input file?
Typo maybe? If says input is the sd card
Avatar
Avatar
tux-linux
Input is taken from echo Piping
mario, you know?
8:51 PM
:D
Avatar
And there's two dd commands, do both get the pipe input?
8:52 PM
I'd expect only the first to get it
Avatar
Avatar
Szybet
mario, you know?
?
🇯 1
⭕ 1
🇰 1
🇪 1
Avatar
Avatar
Kuratius
And there's two dd commands, do both get the pipe input?
No
Avatar
Avatar
tux-linux
?
Well what's the link with the situation
Avatar
Avatar
tux-linux
No
Then second dd command is incomplete
8:54 PM
It specifies an input and an offset, but not output
8:56 PM
no idea, @tux-linux clarify
Avatar
input defaults to stdin
9:06 PM
Hence the piping
9:07 PM
Oh, wait, we're talking about the other one 😄
Avatar
Avatar
Szybet
Click to see attachment 🖼️
The second one is used to check if it was correctly written
9:13 PM
It outputs to stdout
9:14 PM
@Kuratius if you didn't writed these commands, it perfectly explains what is going on :D (edited)
Avatar
Boots now
9:26 PM
Is the e getting cut off intentional?
9:28 PM
Errors without serial port, nice
9:28 PM
i haven't seen the ebook thing, idk
Avatar
Avatar
Kuratius
Errors without serial port, nice
i see this screen for the first time lol
Avatar
Oh and wifi is now broken
Avatar
lol like how
Avatar
Can't find any networks
Avatar
i redesigned the old code for wifi and have written the new one on the nia. it works perfectly for me every time
Avatar
Avatar
Kuratius
Can't find any networks
how to reproduce? maybe give a video?
Avatar
Could be an issue with the kernel version, idk
9:32 PM
im running it currently too
9:32 PM
and wifi works
9:32 PM
make a video
Avatar
Avatar
Szybet
nope
Just tap on the wifi icon
Avatar
bro im working on software for the kobo while its connected via ssh for the past 5h
9:32 PM
its working.
9:33 PM
you dont have my wifi redesign yet
9:33 PM
update to the latest dev version, then we will talk
9:33 PM
but still strange, idk
Avatar
Avatar
Kuratius
Is the e getting cut off intentional?
You need to update anyway
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
i dont have the ebook ereader at all 😂 @tux-linux
Avatar
1.9
Avatar
it was removed?
Avatar
yes
Avatar
cool, i like this way of removing problems
Avatar
https://nixos.org Seems like it might be interesting, though it's probably overkill (and apparently you can install the package manager on a normal distro anyway, so this might just be a distro optimized for making build containers)
Nix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.
👍 1
Avatar
WellMetOutlander 4/3/2023 1:37 PM
NixOS works great for my personal desktops and servers
Avatar
Yea, its really cool
frank1337 joined the server. 4/4/2023 2:16 PM
Avatar
Welcome frank
Avatar
has the kobo aura a sd card as main storage @tux-linux
6:36 PM
the one supported by inkbox
Avatar
aura se
8:12 PM
sd card (edited)
Avatar
Original message was deleted or could not be loaded.
Avatar
Original message was deleted or could not be loaded.
9:15 PM
Where is your welcome message Szybet
Avatar
I gived up
9:35 PM
Atro, the german guy also
9:35 PM
But they with everything, i with the welcome message
9:36 PM
I will propably develop the things i want to use from inkbox and dont much more, there isint really anyone for who to write this software
Avatar
Sad
Avatar
sad is that no one responded to my welcome message
9:44 AM
What is wrong with people
Avatar
we truly live in a society
Avatar
later this month I'll get my kobo, will be asking for directions then 👀 (edited)
👍 3
Avatar
We depend on people This morning I was thinking of finishing 2.0 and pausing the project afterwards because so few people actually seem to be using it but I will see (edited)
10:58 PM
If we can get $@$$#@ Clara HD to be ported it would be great
Avatar
dont freeze it until i finish
Avatar
@everyone Anyone else interested in contributing to the project ? Probably been a year or so since last general ping but we need your support. Since Feb. 2022 only major and regular contributors were Szybet, NiLuJe and andi1. I really do appreciate small contributions (contributions from Clara HD porting thread and other threads as well) but it would be great if someone could get as involved as ourselves in the project and as such, we could start to create a real community. It can be anything, a wiki guru or a kernel wizard, but this project has to grow because it's looking like it's been doing stationary bike, developing itself so fast yet with so few people demonstrating sustained interest towards it. Thanks...!
Avatar
I unfortunately only have an elipsa and my ability to contribute productively is limited, unfortunately (skills, time). i wish i could help out in some way but i suspect i will slow things down too much.
👍 1
Avatar
I have a touch and a semi working glow I can test if need be
Avatar
I have a Clara HD but not the knowledge to really contribute
Avatar
Trying to get my feet more planted with some work stuff but I’m thinking of diving in to try getting it working on my Libra 2
👍 1
4:13 AM
As for wiki I’m… okay at technical writing and documentation but I would need to get a better understanding of the project first
4:51 AM
i have a kobo nia
4:52 AM
if u remember I did the whole compilation for my ereader a year ago or so
👍 1
4:53 AM
unfortunately due to uni I had to reflash the stock firmware since I didnt have time to tinker with it enough
4:53 AM
i should be able to do more now tho hehe
Avatar
I have a Kobo Glo (maybe an HD? I can't recall) that's been sitting in a box for a while kinda waiting for something useful to put on it. I could certainly get involved. I'm busy as heck with everything else so not huge amounts of time
Avatar
Avatar
tux-linux
If we can get $@$$#@ Clara HD to be ported it would be great
I actually bought a Clara HD recently to play with, and I've got enough experience with embedded linux to be able to test stuff, but I'm no programmer and can't really deal with code. (edited)
12:17 PM
Additionally the current image generation process is very fragile and awfully complicated, so I haven't had time to actually build an image yet (edited)
Avatar
Then we need more developers. Maybe try to forward the request (everyone) to some people you know that have some knowledge and could be interested in the project?
Avatar
I think we need to fix the image building process first, because right now it's pretty complicated and rather error-prone
Avatar
learn to code?
12:22 PM
Anyway
12:22 PM
We dont need imgtool at all... Mannually compiling everything is not that hard
Avatar
Avatar
Szybet
learn to code?
Unironically yes, but it's a long process, I'm not a smart cookie
Avatar
Inkbox is modular, its not one big binary
Avatar
We come really close to 2.0 release, I will take the time to try to improve it (edited)
Avatar
Avatar
Szybet
We dont need imgtool at all... Mannually compiling everything is not that hard
He is right You don't need imgtool You will learn things better if you do it manually
12:26 PM
Exactly
Avatar
well if you guys are willing to teach I'm willing to learn (edited)
5:00 PM
once I get my hands on my kobo I'll start thinkering with it
👍 1
Deleted User joined the server. 4/14/2023 2:43 PM
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Avatar
Apricot
I actually bought a Clara HD recently to play with, and I've got enough experience with embedded linux to be able to test stuff, but I'm no programmer and can't really deal with code. (edited)
I am the opposite of this lol I am a programmer but I'm out until there's no additional hardware involved.
Avatar
I have scripting experience and playbook writing with little to no experience in proper programming… but looking at the source code I almost feel like I can help somehow. Getting excited, going to try and make time to flash it on the libra 2 tomorrow. I’ll make a thread if I have time
Avatar
Avatar
baahemian
I have scripting experience and playbook writing with little to no experience in proper programming… but looking at the source code I almost feel like I can help somehow. Getting excited, going to try and make time to flash it on the libra 2 tomorrow. I’ll make a thread if I have time
Sadly it is not supported for this model (yet), but perhaps you can help
Avatar
Avatar
tux-linux
Sadly it is not supported for this model (yet), but perhaps you can help
That’s what I noticed. Saw one of the issues on the GitHub that was a dead end which is sorta kinda why I’m interested. I might not be terribly skilled at programming but I like to rush headlong into troubleshooting and trying to make sense of stuff. Have a backup kindle paper white to go to if I need to keep reading my current books.
👍 1
Avatar
Avatar
fuller
I am the opposite of this lol I am a programmer but I'm out until there's no additional hardware involved.
I wish I was like that too lol, programming is a crippling deficiency for me and it's really difficult for me to catch up now
Avatar
I mean is it a catch up game? You pick up and develop skills at your own pace. No set deadline or point where it’s too late really.
Avatar
What does this article cover?  What is Clyde? How to set up Clyde Chatting with Clyde Considerations FAQ Note: This feature is in beta for a small % of servers. Server Admins will be notified a ...
Avatar
I seem to recall reading that some of these readers have a weird latch for the micro sd. Am I missing something?
Avatar
well this is just a slot?
11:58 PM
some of them have, some have this
Avatar
If it is , the little thing is wedged in tight.
Avatar
yes, it is tight
Avatar
Alright. If it breaks it breaks, here we gooooo
Avatar
lol what
12:01 AM
just be carefull and move it slowly
12:01 AM
i had no issue with it
12:01 AM
i even installed a sd expander into it
12:02 AM
12:02 AM
pull the sd card in this direction
Avatar
I'm like 70% sure there's a drop of glue somewhere in the slot, it's just easy enough to get rid of with enough force
Avatar
Avatar
Kuratius
I'm like 70% sure there's a drop of glue somewhere in the slot, it's just easy enough to get rid of with enough force
no?
12:02 AM
you had one on the nia?
Avatar
Wouldn’t be surprised. They glue all the connectors in this.
Avatar
Avatar
baahemian
Wouldn’t be surprised. They glue all the connectors in this.
which ones, those flex cables or what>
Avatar
Yup.
Avatar
um okay
12:04 AM
weird
Avatar
It way easier to remove the sd after the first time, and the first time I used a small piece of metal to push it from the other side instead of pulling, and it felt like I dislodged something that was stuck (edited)
12:04 AM
Like breaking a seal or a glue connection
Avatar
!! That was a good idea. Just came out easily
Avatar
maybe the slot is designed like that, like a plastic holding it or smth, i doubt glue
Avatar
Yup. Hot glue
Avatar
um okay
12:05 AM
very unprofessional kobo
Avatar
Avatar
baahemian
!! That was a good idea. Just came out easily
What did you do?
Avatar
On the opposite end are two small holes you can see the end of the sd card
12:05 AM
I used an esd safe tweezer to push it at the card level making sure not to touch any contacts
Avatar
Avatar
baahemian
I used an esd safe tweezer to push it at the card level making sure not to touch any contacts
as you have so profesional tools, maybe you have a soldering station to unsolder the sd card?
Avatar
Is that glue?
12:07 AM
It’s glue plus a small film probably used for waterproofing at the contacts
Avatar
Avatar
baahemian
Click to see attachment 🖼️
Which Kobo is this?
Avatar
Avatar
Szybet
as you have so profesional tools, maybe you have a soldering station to unsolder the sd card?
I have some basic soldering tools but honestly just working with a small toolkit for now
12:07 AM
Libra 2
Avatar
Avatar
baahemian
I have some basic soldering tools but honestly just working with a small toolkit for now
if you want to be super save, unsolder the battery. just saying
Avatar
Yeah that makes sense if I went further out I’d imagine. But at this stage removal of the sd card didn’t take any further disassembly… time to dump the contents of this card before flashing
Avatar
what do you plan to flash?...
Avatar
Going to just go for putting the InkBox image on the card and start trying to troubleshoot it?
12:12 AM
Probably won’t go super well but I’m willing to take a go at it I guess.
Avatar
Avatar
baahemian
Going to just go for putting the InkBox image on the card and start trying to troubleshoot it?
and you risk burning your ereader... stop
12:12 AM
thats not how it goes
Avatar
Avatar
baahemian
Probably won’t go super well but I’m willing to take a go at it I guess.
2 things you should be aware of By default you need a serial port to read debug output, but if you get screen output by coincidence, then you could enable a config option to print debug console output to the screen
Avatar
read porting threads for the nia and clara in the early stages when there are talks about u-boot and kernel
👌 1
Avatar
Fair enough. I suppose my eagerness is getting ahead of me.
Avatar
ask before doing anything, really
Avatar
Do the images attempt to boot if they detect that the device is unsupported?
12:15 AM
I thought they were device specific
Avatar
Avatar
Kuratius
Do the images attempt to boot if they detect that the device is unsupported?
uhm u-boot incompatibility, cpu incompatibility, kernel incompatibility
12:16 AM
imagine putting a bios of a laptop to another laptop, by flashing it
12:16 AM
nothing will happen 90% of the time
12:16 AM
the other 10 is magic smoke
Avatar
Makes sense. Honestly won’t be surprised if in this I end up destroying something but perhaps nothing is a better lesson than some heartbreak. But even that said, this is a step beyond anything I’ve done before. Thanks for the forewarning
Avatar
Avatar
baahemian
Makes sense. Honestly won’t be surprised if in this I end up destroying something but perhaps nothing is a better lesson than some heartbreak. But even that said, this is a step beyond anything I’ve done before. Thanks for the forewarning
At the very least you can now put in a super big sd card
12:18 AM
(if you have a use for that, anyway)
Avatar
if the size is supported
Avatar
Can just swap things out with calibre wirelessly, which is fine
Avatar
Okay… so if I understand what you mentioned @Kuratius I would need to locate the pin location for serial on the board (I might have) then solder to that point to a pin out that can connect to either an arduino or pi via gpio to establish a serial connection? Still digging through the suggested porting threads to try and put together a checklist of what I need to get ready
Avatar
not gpio, othwewise yes (edited)
Avatar
Hasty photo of the board… the four pin holes labeled “j3” look similar to the photos I’m seeing on some of these other boards but I know that doesn’t necessarily mean much. Sorry if I’m retreading something obvious here.
Avatar
is it the whole board?
12:31 AM
12:31 AM
this, propably
Avatar
From the looks of it. Yeah I figured that, since it’s the J3.
12:32 AM
I would need to desolder the battery (before doing anything else, really) but there’s a lot of empty space in this model.
minhlong245 joined the server. 4/16/2023 5:57 PM
Avatar
Avatar
minhlong245
Click to see original message
🫡 1
Avatar
Thanks Syzbet for helping me to slow down a bit yesterday, I was a little too eager. Looking at the board now and the free space. I think o should be able to wire some permanent header pins that can interface with a usb to serial adapter, and still close the thing up when not in use. There’s about 4-5mm of space from the plastic the board sits on to the highest point that can fit under the stock cover. I think if I wire the pins under the board and solder on it should allow it to work; if the fit is too tight I can possibly print a back case. Want to try and keep this thing “functional” while testing by swapping sd cards.
Avatar
woah, you have a 3d printer?
8:11 PM
the idea you have i have already done for the nia
8:11 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
8:11 PM
i have access to sd card & serial without opening the device
Avatar
Then again using these hook to male dupont adapters might be useful with a usb to ttl device
8:30 PM
so i dont have to do any kind of soldering at all on the board
Avatar
Avatar
baahemian
Then again using these hook to male dupont adapters might be useful with a usb to ttl device
If they work let me know and I'll buy some myself
Avatar
Avatar
baahemian
Then again using these hook to male dupont adapters might be useful with a usb to ttl device
you want to do this on the serial pins?
Avatar
I'm 70% sure they won't fit or stay in place
Avatar
Perhaps not... they push out then clamp down, so who knows... Would be nice.
Avatar
i will just copy from the link
8:32 PM
first, serial connection Use capton tape and add it below the serial pads because if you add too much solder, and the solder will touch the metal below, you will propably burn down the main cpu. You can eassly push it below the board without dissasembling it
8:32 PM
the same with those hooks
8:32 PM
so tldr bad idea
8:33 PM
if you want to do it directly onto the THT serial pins
Avatar
Very nice guide you've written here. I'll keep this in mind. Like i mentioned (and probably made terribly obvious) I'm not terribly experienced in this, but curious enough to learn (and break things if needed). But I really appreciate the warnings, advice and patience with me so far 🙂
👍 1
Avatar
Hi, today when I open the book, it always shows that I have reached the end of file. No matter whether I open it from home, the reader panel, or the result from local storage search. It happened for all the books. I am using N905B with inkbox 1.9
Avatar
Reboot
8:30 AM
And wait till 2.0, we plan to redesign the reader
👍 1
Avatar
NOTICE: The PineNote is an experimental device. PineNote software is still in it's infancy and therefore it is ONLY suitable for experienced developers. At present time, there is no default OS for the PineNote.  BODY Dimensions: 191.1 x 232.5 x 7.4mm Weight: 438g Build: Polymer & PMMA Colour: White & Black DISPLAY Grayscale ...
7:20 PM
according to these comments it's based on the same SoC as the upcoming lenovo smart paper https://old.reddit.com/r/eink/comments/12svt7t/is_the_lenovo_smart_paper_dead/
11 votes and 2 comments so far on Reddit
7:24 PM
🥴
Avatar
cheaper than the kindle scribe I think?
7:25 PM
nevermind
7:25 PM
was wrong
7:25 PM
same ballpark though (edited)
7:26 PM
actually no I was right
7:26 PM
only the cheapest scribe is cheaper
7:26 PM
the others are more expensive
7:26 PM
then
7:26 PM
price 🥴
Avatar
it says on the website
7:26 PM
$399 (edited)
7:27 PM
7:27 PM
anyway, probably keep these in mind, could be a new inkbox Ecosystem
Avatar
okay then price 🥴 (edited)
Avatar
https://github.com/joeycastillo/The-Open-Book this is also interesting, but way more effort to get
Contribute to joeycastillo/The-Open-Book development by creating an account on GitHub.
7:52 PM
this is essentially the same, but with color, can potentially be reconfigured into a an ereader, but cant do inkbox
7:52 PM
A large Pico W powered E Ink® photo frame / home dashboard / life organiser with glorious seven colour display and wireless connectivity.
Avatar
its not linux
Avatar
yeah
7:53 PM
still interesting to me personally though
7:53 PM
I like the idea of open source ereaders
7:54 PM
there's a fuzix port that can probably run on it (edited)
7:54 PM
maybe not well, but it probably can run
7:55 PM
FUZIX has been ported to Raspberry Pi Pico and RP2040. Alasdair Allan walks you through how to get started with this old-school Unix clone.
Avatar
Probably a bit too basic but interesting yes
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
Could crowdfund it for inkbox os porting
Avatar
Avatar
Kuratius
https://github.com/joeycastillo/The-Open-Book this is also interesting, but way more effort to get
the guy behind this made an ereader for the pico, but it's really basic
8:14 PM
WIP: the new Open Book firmware. Contribute to joeycastillo/libros development by creating an account on GitHub.
Avatar
Avatar
Kuratius
https://github.com/joeycastillo/The-Open-Book this is also interesting, but way more effort to get
8:26 PM
7k people are interested in maybe getting and assembly a custom pcb, 300 are watching the project, 200~~~ have tinkered with it
8:26 PM
and yet there are like 5 people interested in inkbox
8:27 PM
how
8:27 PM
(╯°□°)╯︵ ┻━┻
Avatar
Avatar
Szybet
and yet there are like 5 people interested in inkbox
I mean their software repos has worse numbers than inkbox, and Inkbox is software https://github.com/joeycastillo/libros
WIP: the new Open Book firmware. Contribute to joeycastillo/libros development by creating an account on GitHub.
8:39 PM
(and I'm pretty sure I'm the only one who posts anything in the issue section of the project, I dont think it actually has any contributors)
Avatar
Avatar
Szybet
(╯°□°)╯︵ ┻━┻
You can buy hardware open source hardware and they often come with open source software. Whereas open source software is more nebulous. People are probably staring/following/etc hoping to see some "come buy our foss ereader now!" announcement. Something that won't happen with inkbox. (edited)
Avatar
Why it wont?
3:44 PM
🥴
3:45 PM
If einks get affordable i will create one based on the pi
3:45 PM
Nicolas also had such plans
Avatar
Avatar
Szybet
If einks get affordable i will create one based on the pi
This was my first plan with ereader, but a worst eink display costs more than the entire nia
Avatar
Avatar
Aramir
You can buy hardware open source hardware and they often come with open source software. Whereas open source software is more nebulous. People are probably staring/following/etc hoping to see some "come buy our foss ereader now!" announcement. Something that won't happen with inkbox. (edited)
+ 200 forks arent people "hoping"
Avatar
how many with actual work on it ? (I checked, 8) (edited)
Avatar
still more than inkbox ( 1 )
Avatar
true
2:50 PM
2:50 PM
does it have or not...?
2:51 PM
Kobo Aura H2O, Kobo Aura One
2:51 PM
what are the diffrences?
2:51 PM
confusing
2:53 PM
its edition 2
2:56 PM
there is even a hd edition
2:56 PM
my god
Avatar
Avatar
Szybet
Click to see attachment 🖼️
"Kobo Aura" and "Model: N236" @tux-linux does this model have an sd card, reply in yes or no
2:57 PM
I REALLY might get one
Avatar
Yes
2:57 PM
It does
2:57 PM
Inkbox has been ported for it
2:57 PM
Only n236 model
Avatar
t h a n k you
👍 1
Ahmad joined the server. 4/23/2023 12:02 PM
Avatar
any recommendations here for ereaders? I've been struggling to find something that suits me
12:16 PM
Thought to come here as it seems there's probably devs here who may have similar ideas as to what's good
12:38 PM
What are your criteria
Avatar
Avatar
Ahmad
any recommendations here for ereaders? I've been struggling to find something that suits me
do you need something that fits in a pocket, do you need something that you can write with? Imo go to a store and see if you actually like the size first
12:39 PM
do you need specific files (e.g. for pdfs you need a bigger screen otherwise it's uncomfortable)?
12:41 PM
avoid buying a kindle if it's an option
Avatar
Yeah, the main thing I need is something for pdfs, with a blue light filter
12:42 PM
I'm curious about what this project / server is for too. I'm a web dev so it's not my field but still
12:42 PM
looks like it's a custom os?
12:43 PM
for kobo?
Avatar
Avatar
Ahmad
Yeah, the main thing I need is something for pdfs, with a blue light filter
look for big screens, kobo nia, clara, glo etc have too small screens for that
Avatar
Avatar
Ahmad
for kobo?
not only, yes
12:43 PM
kobo aura maybe
12:43 PM
idk about if the size suits you
Avatar
well, I rarely go out
12:45 PM
but I also think it's one of the few producive things I could do on a train, laptop batteries die fairly fast
Avatar
look for bigger screens like the aura, kobos are open so you can choose other software like plato, koreader, inkbox
12:47 PM
pdfs on small screens are pretty unusable
Avatar
interesting, do you know which other readers can load custom software?
Avatar
mainly kobo, pocketbook not so much ( not really at all, koreader only and thats a maybe ), tolino are kobos so also yes - other ereaders are pretty closed so its harder so no, only these brands
🙏 1
Avatar
thanks so much :)
mu88 joined the server. 4/23/2023 12:54 PM
Avatar
Hey @Szybet
12:56 PM
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
Avatar
Hello
12:56 PM
I replied to you
Avatar
👋🏻 first of all, thx for your time!
Avatar
was the ereader wet at some time?
Avatar
I bought a refurbished one from Switzerland's Amazon pendant (www.digitec.ch) - they check all devices before and even give two years of warranty, so I think the device is okay (edited)
Avatar
Well it's probably not
Avatar
But I could turn it on with the original firmware and it worked smoothly
Avatar
@tux-linux maybe a hardware change in never models
Avatar
Get into serial, and input the following command evtest /dev/input/event0
Avatar
Avatar
Szybet
@tux-linux maybe a hardware change in never models
oh no
Avatar
@mu88 do you have a usb to uart adapter + please send pictures of your ereader insides
Avatar
how do I enter the serial mode? Better on my Raspi or on Windows?
Avatar
Avatar
Szybet
@mu88 do you have a usb to uart adapter + please send pictures of your ereader insides
No, no adapter
Avatar
Avatar
tux-linux
Get into serial, and input the following command evtest /dev/input/event0
Or you could do that on nickel (default firmware) as well but serial is preferable
1:00 PM
rpi
1:00 PM
will do
Avatar
Pictures coming in the GitHub issue, wait a second
Avatar
well then RPI, do you know how to do it?
Avatar
Picture is uploaded
1:02 PM
@Szybet no 🙂
Avatar
holy shit
1:03 PM
Sorry, every time is a first time...
1:04 PM
mine
1:04 PM
A COMPLETLY DIFFREND CHIP
Avatar
Avatar
mu88
Sorry, every time is a first time...
not to you not your fault
👍🏻 1
Avatar
Avatar
tux-linux
ok I looked into some docs for serial on RPis, but would it be possible to do it without soldering?
.
Avatar
the reason why you only encounter nia users is that nia is the only one ereader with a downloadable image that is still in production
Avatar
kuratius also doesnt have this
Avatar
Avatar
Kuratius
the reason why you only encounter nia users is that nia is the only one ereader with a downloadable image that is still in production
what?
Avatar
ummmm yes
Avatar
Ok, good that the display's working at least
Avatar
kuratius you also dont have this chip
Avatar
literally only bought a nia because I checked which ereaders had an inkbox release when buying
Avatar
And touch seems as well
1:06 PM
Power button should be trivial Cough
Avatar
Avatar
Kuratius
literally only bought a nia because I checked which ereaders had an inkbox release when buying
and then you gived up on inkbox... bro
Avatar
Avatar
Szybet
yours
@mu88 can you please read the letters / numbers from the small chip that is diffrent?
Avatar
Avatar
Szybet
A COMPLETLY DIFFREND CHIP
@andi would probably want to tune in
Avatar
+ make a picture of the bottom of the ereader where the button is
1:07 PM
@NiLuJe propably too as a koreader developer, look at this madness :D
Avatar
Avatar
Szybet
kuratius you also dont have this chip
correct, I have a different size chiplet in that spot
Avatar
those are really diffrent pcbs, i dont have this chip
Avatar
Avatar
Szybet
what?
tux asked/mentioned it in the github discussion
1:09 PM
but still
1:09 PM
updating to 1.9 is not that bad
Avatar
1.9 was initial support release for nia
Avatar
they even changed the crystal oscilator next to the cpu
Avatar
Let me guess... we will get wifi problems
Avatar
"current/in production" models are in green https://en.wikipedia.org/wiki/Kobo_eReader
The Kobo eReader is an e-reader produced by Toronto-based Kobo Inc (a subsidiary of Rakuten). The company's name is an anagram of "book". The original version was released in May 2010 and was marketed as a minimalist alternative to the more expensive e-book readers available at the time. Like most e-readers, the Kobo uses an electronic ink scree...
Avatar
battery tweak problems/fires/explosions
Avatar
Avatar
tux-linux
Let me guess... we will get wifi problems
propably not, wifi chip is untouched
Avatar
@Szybet I've uploaded some more detail pictures from the chips
Avatar
Avatar
Kuratius
"current/in production" models are in green https://en.wikipedia.org/wiki/Kobo_eReader
if you go to a store you usually wont find the others
Avatar
are all relevant information there?
Avatar
Avatar
Szybet
+ make a picture of the bottom of the ereader where the button is
@mu88
Avatar
Avatar
tux-linux
battery tweak problems/fires/explosions
thats the battery charging chip propably too, and it is smaller / has smaller coils arround it - it will get hotter for sure
Avatar
Then we will have to disable it or adapt it for this model
1:13 PM
I hope there is a way to differentiate between the two revisions from userspace
Avatar
Avatar
mu88
are all relevant information there?
is the revision n306 or n307 or something?
Avatar
that seems annoying I hope there is still a way to tell the board revision when buying
Avatar
Avatar
Kuratius
is the revision n306 or n307 or something?
that's the model number
Avatar
Avatar
Kuratius
that seems annoying I hope there is still a way to tell the board revision when buying
unless they go with n306b or n306c, probably not
Avatar
is the code next to the battery a serial or a revision?
Avatar
at least the bottom is the same
Avatar
Avatar
tux-linux
I hope there is a way to differentiate between the two revisions from userspace
charging IC
Avatar
this is mine N3062B0422297 (edited)
Avatar
HEY WHAT ABOUT THE KERNEL SOURCES FOR THIS THING?
Avatar
ok @mu88 please stay around and don't give up on this because recent nia users will not be able to get inkbox working on their kobos otherwise (edited)
Avatar
Avatar
Szybet
HEY WHAT ABOUT THE KERNEL SOURCES FOR THIS THING?
kernel source police
Avatar
a serial I'd say, starting with N306 followed by 9 more digits
Avatar
this is mu N306290373323 (edited)
1:18 PM
one sec
Avatar
this is mine serial code
Avatar
same number like Kuratius
Avatar
i have the oldest
Avatar
i will post an issue on kobo-reader github
Avatar
also a diffrent battery ( chinesium )
1:22 PM
Ok, the top of the PCB has a serial number, me and @Kuratius have 4A2 and mu88 has 4C1
1:22 PM
revisions propably
Avatar
Avatar
Szybet
this is mine serial code
Kuratius N3062B0422297 Mu N306290373323 Szybet N306160208647 (edited)
Avatar
Avatar
Kuratius
Kuratius N3062B0422297 Mu N306290373323 Szybet N306160208647 (edited)
nothing sensible from those numbers
Avatar
Avatar
Szybet
Ok, the top of the PCB has a serial number, me and @Kuratius have 4A2 and mu88 has 4C1
this propably
1:23 PM
Hello, We've discovered in this issue (Kobo-InkBox/inkbox#47) and in previous reports that the Kobo Nia's hardware seems to have changed over time, to the point where it is now causing InkB...
Avatar
ok, @mu88 do you know how to connect the RPI?
Avatar
Avatar
tux-linux
.
follow this
Avatar
delete the part about the cristal oscilator, it doesnt affect anything, i just mentioned
Avatar
this is what I did in 2021 when I first connected my kobo mini to serial
Avatar
Avatar
tux-linux
b
?
Avatar
probably
Avatar
Avatar
Szybet
ok, @mu88 do you know how to connect the RPI?
No 🙂
Avatar
Avatar
Szybet
Ok, the top of the PCB has a serial number, me and @Kuratius have 4A2 and mu88 has 4C1
well we propably need to use this naming scheme
1:25 PM
A / C
Avatar
where is B
Avatar
in-between model we didn't encounter yet?
Avatar
Avatar
mu88
No 🙂
well then follow what tux linux showed
Avatar
Avatar
tux-linux
in-between model we didn't encounter yet?
maybe wasn't even released - those revisions are made because of IC prices, availability - when they developed B it was already not needed or smth ( theory to explain this madness )
Avatar
i updated the issue with serial numbers thing
Avatar
Avatar
Szybet
well then follow what tux linux showed
What did he show? I must have missed something...
Avatar
Avatar
tux-linux
follow this
.
Avatar
Avatar
tux-linux
i updated the issue with serial numbers thing
delete the part about cristall oscilator
1:29 PM
kernel sources dont have anything to do with it
1:29 PM
please
Avatar
yes, but it still shows it's a different revision
1:29 PM
i already said it was not that relevant
Avatar
if we can get around the power button issue it can probably work with the current kernel but would be better to have real sources for battery and the rest
1:31 PM
this also means that ipd will make the reader go to sleep as soon as it can (probably) (edited)
1:31 PM
so, got to fix that as well
Avatar
So do you want me to connect my Kobo with the Raspi? If yes, please let me know what I've to do - in this discussion so far I only see the newly created GitHub issue
Avatar
Did you see my message I shared that was back in 2021?
Avatar
There is no message...
Avatar
Avatar
tux-linux
this also means that ipd will make the reader go to sleep as soon as it can (probably) (edited)
what why
Avatar
because it wants to go in diagnostics as soon as it boots up?
1:34 PM
diagnostics require power button input
Avatar
oh, propably yep
Avatar
so I assume it's behaving like it's always pressed
Avatar
Avatar
tux-linux
so I assume it's behaving like it's always pressed
WEIRD?
Avatar
kernel
Avatar
kernel level problems propably
Avatar
are the factory devicetrees identical?
1:35 PM
of these kobo nias?
Avatar
so I would like to see the dumps of them
Avatar
Avatar
tux-linux
so I assume it's behaving like it's always pressed
@andi propably not
Avatar
szybet, at what sector does your unpartitioned space finish
1:36 PM
i.e. at what sector does p1 start
Avatar
um... idk?
1:36 PM
wait
1:37 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
1:37 PM
/dev/nbd0p1 49152 79871 30720 15M 83 Linux
Avatar
@andi later... first uart
1:40 PM
but I think it would be helpful to have all three devicetrees dumped
Avatar
mine too?
Avatar
would be better
Avatar
well okay, i will do it someday
Avatar
well, it is just a two-liner
Avatar
Avatar
Szybet
/dev/nbd0p1 49152 79871 30720 15M 83 Linux
@mu88 please run this and send file dd if=/dev/mmcblk0 bs=512 count=49151 | xz > u_space.xz
Avatar
to have that dumped
Avatar
Avatar
tux-linux
@mu88 please run this and send file dd if=/dev/mmcblk0 bs=512 count=49151 | xz > u_space.xz
well first serial
Avatar
Okay, here's what I did (according to the GPIO specs: 1. Connected pin 6 from the Raspi with the GND symbol of the Kobo
Avatar
how do you connect it?
Avatar
2. Connected pin 10 from the Raspi with Tx of the Kobo
1:47 PM
Jumper wires
1:47 PM
wait
1:48 PM
please show me pictures of those connections
Avatar
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
Avatar
disconnect
1:49 PM
get some tape ( any )
1:50 PM
and put it under the pcb, under the holes
Avatar
did you put kobo tx > rpi rx kobo rx > rpi tx
Avatar
to avoid shorts
Avatar
Avatar
Szybet
get some tape ( any )
like 2 layers, do you understand everything? (edited)
1:50 PM
+ always connect ground first
Avatar
Tape is placed on the Kobo side underneath the tx/rx/GND part
1:52 PM
send pictures
Avatar
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
Avatar
yep, like that. make sure its under the holes and you can proceed
Avatar
It is, doublechecked 💪🏻 now connect it like tux suggested (tx(Kobo) with rx(RPi) and rx(Kobo) with tx(RPi)? Or with the dedicated GND pin on both the RPi and Kobo side?
Avatar
first gnd
1:57 PM
then like tux mentioned
Avatar
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
Avatar
Disconnect
2:00 PM
now
2:00 PM
not to the V ping
2:01 PM
the red cable
2:01 PM
no
Avatar
!!!!!!!
2:03 PM
you mentioned the command dd if=/dev/mmcblk0 bs=512 count=49151 | xz > u_space.xz. However, /dev/mmcblk0 seems to be my RPi's MicroSD card since it has a size of 32 GB
Avatar
well, not that one
2:03 PM
the kobo one
2:03 PM
but try to boot it and get serial log first
2:03 PM
if you have display_debug enabled, first disable it
Avatar
Avatar
Szybet
to avoid shorts
that may explain why my serial port sometimes doesnt work
2:04 PM
lol
Avatar
you don't connect ground?
Avatar
why didn't you asked for guidance
Avatar
@tux-linux display_debug is enabled, now a "normal" reboot from the diagnostics mode?
Avatar
Avatar
mu88
@tux-linux display_debug is enabled, now a "normal" reboot from the diagnostics mode?
disable it and turn it off
Avatar
Avatar
mu88
@tux-linux display_debug is enabled, now a "normal" reboot from the diagnostics mode?
yes
Avatar
holding the power button for only a couple of seconds or ten seconds? And what should behavior should I observe?
Avatar
on your rpi run minicom -D /dev/ttyS0 -b 115200 -w
2:08 PM
you should see something appearing on the screen as the kobo boots
Avatar
-bash: minicom: command not found - do I have to install some package?
Avatar
install it, yes
Avatar
Avatar
Szybet
Ok, the top of the PCB has a serial number, me and @Kuratius have 4A2 and mu88 has 4C1
ok, so you and Kuratius have the same board
Avatar
Avatar
mu88
-bash: minicom: command not found - do I have to install some package?
I had to enable serial port in rpi config I think
Avatar
so basically the only interesting then is the pre-partion spaces at mu88's Nia (which includes the devicetree)
Avatar
also I am reading serial0 I think
2:13 PM
(also obv minicom has to be installed)
Avatar
minicom: cannot open /dev/ttyS0: No such file or directory
Avatar
rpi config enable serial port
Avatar
sudo raspi-config
2:19 PM
interfacing options
Avatar
done, do I have to reboot into diagnostics again? After enabling the serial port, the output is still minicom: cannot open /dev/ttyS0: No such file or directory
Avatar
minicom -D /dev/serial0 (edited)
Avatar
minicom: cannot open /dev/serial0: No such file or directory
2:22 PM
reboot then sudo minicom -D /dev/serial0
2:22 PM
are you on raspberry piOS?
Avatar
reboot RPi or Kobo?
Avatar
Avatar
Kuratius
are you on raspberry piOS?
Yes
2:24 PM
oh now something happens! (edited)
2:24 PM
A new minicom shell opened and some extremely indented output is shown
2:25 PM
and it updates from time to time (every 10 seconds I'd say)
2:26 PM
and the Kobo is still in diagnostics mode
Avatar
ctrl+A then L
2:27 PM
should allow you to save the log
Avatar
Avatar
Kuratius
reboot then sudo minicom -D /dev/serial0
ttyS0
2:28 PM
It isn't there?
Avatar
now it is there as well 👍🏻
2:30 PM
Okay, I've entered sudo minicom -D /dev/ttyS0 -b 115200 -w, the shell opened with the output, and I've redirected it via CTRL+A+L to a file.
2:30 PM
The minicom shell is still open
Avatar
that's fine
Avatar
showing output like Welcome to inkbox
2:31 PM
or inkbox login:
Avatar
post log file
Avatar
can I end the minicom session via CTRL+A+J?
Avatar
@mu88 do you have a copy of the original sd card software?
Avatar
Avatar
mu88
can I end the minicom session via CTRL+A+J?
ctrl + A + Q
Avatar
A created an image with Win32 disk imager before flashing InkBox for the very first time, yes
2:33 PM
Avatar
Avatar
mu88
A created an image with Win32 disk imager before flashing InkBox for the very first time, yes
good
Avatar
and that's the output from the minicom -D /dev/ttyS0 -b 115200 -w
Avatar
try to log in
Avatar
why is it repeating itself?
Avatar
in minicom
2:35 PM
write root
2:35 PM
and enter
2:35 PM
password root
Avatar
ah have to open a new session
2:36 PM
when opening a new session, the only output is [ 519.74904] imx-uart 202000.serial: x FIFO overrun
Avatar
try to spam enter
Avatar
Avatar
Szybet
try to spam enter
(hold down during boot)
Avatar
from the output I'd say that there is some kind of infinite loop, because I'm constantly seeing a Welcome to InkBox and InkBox login, changing in a very rapid manner so that I cannot even enter something
Avatar
is it spammed at all time?
2:40 PM
try to turn off and on the device by the power button
Avatar
could this be related to only connecting ground and 1 connection?
Avatar
you dont have the connection for sending right?
2:41 PM
only receiving?
Avatar
sorry, I don't know what you mean 😦
Avatar
did you connect 2 or 3 cables?
Avatar
ah k
Avatar
he has 3, its fine
Avatar
your image from before was 2
Avatar
Bad connections
Avatar
Avatar
Szybet
try to turn off and on the device by the power button
do this
Avatar
Probably
Avatar
keeping it pressed for ten seconds like with diagnostics mode?
Avatar
for more
2:42 PM
then turn it on
Avatar
I removed all cables, turned off via diagnostic mode, readded all cables, pushed the power button for four seconds (the Kobo still displays Powered off afterwards) and connected via minicom -D /dev/ttyS0 -b 115200 -w - the session opens, but this time nothing changes: (edited)
Avatar
Avatar
mu88
I removed all cables, turned off via diagnostic mode, readded all cables, pushed the power button for four seconds (the Kobo still displays Powered off afterwards) and connected via minicom -D /dev/ttyS0 -b 115200 -w - the session opens, but this time nothing changes: (edited)
stay connected during boot
2:51 PM
serial port is weird
2:52 PM
you can also tell via the light at the power button if it's on
Avatar
Avatar
Kuratius
stay connected during boot
you mean the minicom session must be opened before pushing the power button?
Avatar
Avatar
mu88
you mean the minicom session must be opened before pushing the power button?
yes
2:52 PM
no idea why
Avatar
Avatar
Kuratius
you can also tell via the light at the power button if it's on
The button is always off, except in diagnostics mode - if have absolutely no visual feedback
Avatar
idk serial ports are weird
2:53 PM
I think it turns itself off or something
Avatar
Avatar
mu88
The button is always off, except in diagnostics mode - if have absolutely no visual feedback
that means it does something, then turns itself off
2:53 PM
so if minicom wasnt running before it turned off you wont get anything
Avatar
and shall I boot "normally" (i. e. push power button for three or four seconds) or into diagnostics?
Avatar
libra2e sources seem to include stuff for newer version of nia
Avatar
Avatar
andi
libra2e sources seem to include stuff for newer version of nia
w h a t
Avatar
I would expect that the old nia also does run with those sources
Avatar
I tried both and when booting "normally", simply nothing happens both visually on the Kobo and inside minicom. Only when booting into diagnostics, the power button's LED lights up for a couple of moments and I see the infinite output in minicom
Avatar
Avatar
mu88
and shall I boot "normally" (i. e. push power button for three or four seconds) or into diagnostics?
normally
Avatar
Avatar
mu88
I tried both and when booting "normally", simply nothing happens both visually on the Kobo and inside minicom. Only when booting into diagnostics, the power button's LED lights up for a couple of moments and I see the infinite output in minicom
try to move the connection a bit
Avatar
I'll grab a cup of coffee and will come back later 👋🏻
Avatar
sorry, not libra2e
3:03 PM
clara2e
3:05 PM
so whaht are the impacts of running an old kernel on the nia
3:05 PM
on the new nia
3:05 PM
regulators are left at their boot up stage
3:05 PM
probably no proper power off
3:05 PM
by shutdown
Avatar
no battery status
Avatar
Avatar
andi
libra2e sources seem to include stuff for newer version of nia
so which ones?
3:06 PM
those
Avatar
um so a new kernel?
Avatar
how do you know its for nia?
Avatar
can you confirm the replacement Ic for the rc5t619?
Avatar
what is it?
Avatar
the small one?
3:07 PM
new?
3:08 PM
i cannot read it on the pictures
3:08 PM
BD71828 or BD71815?
Avatar
well @mu88
Avatar
Avatar
Szybet
how do you know its for nia?
I looked what is in it: it has the devicetree for the old nia
3:21 PM
and a similar named devicetree
Avatar
similar - how similar
3:21 PM
i dont really have access to pc now
Avatar
ndi@aktux:~/kobo/clara2e/kernel/arch/arm/boot/dts$ ls -l imx6ull-e60u22* -rw-r--r-- 1 andi andi 24349 Jan 10 20:28 imx6ull-e60u22a00-base.dts -rwxr-xr-x 1 andi andi 24344 Jan 10 20:28 imx6ull-e60u22a00-base-elan-eKTF2536BW.dts -rw-r--r-- 1 andi andi 3079 Jan 10 20:28 imx6ull-e60u22a00.dts -rwxr-xr-x 1 andi andi 3095 Jan 10 20:28 imx6ull-e60u22a00-elan-eKTF2536BW.dts -rw-r--r-- 1 andi andi 24554 Jan 10 20:28 imx6ull-e60u22a10-base.dts -rw-r--r-- 1 andi andi 3110 Jan 10 20:28 imx6ull-e60u22a10.dts -rwxr-xr-x 1 andi andi 24534 Jan 10 20:28 imx6ull-e60u22b00-base.dts -rwxr-xr-x 1 andi andi 3110 Jan 10 20:28 imx6ull-e60u22b00.dts
3:22 PM
imx6ull-e60u22a10.dts (including -base) is for the old nia
3:23 PM
and then there is b now
3:23 PM
the e60u22b00* stuff
3:24 PM
and there is now a driver for the bd71828.c
Avatar
so thats propably for it?
Avatar
why B is for C
Avatar
probably for B and C
3:25 PM
lets just compare the binary devicetree
3:26 PM
the pre-partition space
Avatar
Okay guys, I'm back, but I'll have to leave in one hour and will be on vacation for three weeks. So I'm happy to help as far as I can, but maybe we should focus so that you can get the most information "out of me" in the next hour 🙂
Avatar
Avatar
mu88
Okay guys, I'm back, but I'll have to leave in one hour and will be on vacation for three weeks. So I'm happy to help as far as I can, but maybe we should focus so that you can get the most information "out of me" in the next hour 🙂
upload a backup of your SD
Avatar
yea, pretty much this
Avatar
the original firmware? Or the current state of my Kobo?
Avatar
original SD card
Avatar
okay, sure... do you have a spot very I can upload it?
Avatar
try google drive?
Avatar
just create a random mega account
Avatar
or that
Avatar
dd if=/dev/mmcblk0 bs=512 status=progress | xz > kobo-nia-4C1.img.xz
4:02 PM
upload the xz file
4:02 PM
will be smaller
4:03 PM
~500M vs 8G
Avatar
(mmcblk0 being the kobo's sd card device node)
Avatar
but that will be the InkBox firmware, not the original one...
Avatar
did you backup
Avatar
we need the original one
Avatar
did you backup
4:06 PM
did you backup
Avatar
I wrote that I created an image of the original firmware, but I've used the same SD card
Avatar
what? (edited)
Avatar
the original image has a size of 15 GB as I wrote earlier
Avatar
well, just the first 50MB (edited)
Avatar
Avatar
mu88
the original image has a size of 15 GB as I wrote earlier
can still compress and upload (edited)
Avatar
would be nice
Avatar
Avatar
Kuratius
can still compress and upload (edited)
yes
Avatar
Avatar
andi
well, just the first 50MB (edited)
or that
Avatar
on my way...
👍 1
Avatar
and you can even compress that
4:16 PM
thankfully the image contains a lot of empty blocks since I dumped the complete SD card 😄
4:16 PM
can you please download it and let me know when you've finished so that I can remove the file again?
Avatar
im downloading it
4:17 PM
can you give a md5sum of the file?
Avatar
Get-FileHash .\kobo-nia.img -Algorithm MD5 Algorithm Hash Path --------- ---- ---- MD5 9F257E8FB38B52A99C893AB2BBB0C70C C:\temp\kobo-nia.img Get-FileHash .\kobo-nia.7z -Algorithm MD5 Algorithm Hash Path --------- ---- ---- MD5 004ACB4A5E75F772EB6AF5ECC077111B C:\temp\kobo-nia.7z
Avatar
thanks
4:23 PM
thank you so far, guys!
4:23 PM
Just as a little outlook: are you confident that InkBox will work on my device?
Avatar
diagnostics was never tested on the nia - but it booted on your device and it works - thats a miracle
4:24 PM
so yes, it will work, with almost no problems to get it to
Avatar
cool, that's great news!
4:26 PM
I'll keep an eye on "my" GitHub issue from time to time - I assume you'll post any relevant news for me there, right?
Avatar
please come back in three weeks
😅 1
Avatar
we only have to check the device tree with andi tool - and thats all we can do alone
Avatar
Avatar
tux-linux
please come back in three weeks
I think my employer forces me to do so ^^
👍 1
Avatar
90% of the people who come here stay around for a few days and then disappear forever, kinda
Avatar
well, here may be relative in my case, but you can always ping me on GitHub 🙂
4:30 PM
we won't bother people if they don't want
4:30 PM
just look
4:31 PM
@atro @shwanzy where are you
4:31 PM
XD
4:31 PM
they said that they will do x thing
4:31 PM
now they are gone (edited)
4:31 PM
¯\_(ツ)_/¯
4:31 PM
sorry for pinging, just as example btw
4:36 PM
downloaded the image, its available here
Avatar
Whom do you mean?
Avatar
Shall I download something from your posted link?
Avatar
no, you can delete from onedrive
👍🏻 1
Avatar
okay guys, thank you for your help so far. I wish you a great time and good luck!
👍 1
Avatar
@@ -1730,8 +1730,4 @@ ntx_led { compatible = "ntx_led"; };
    • ntx_event0 {
  • compatible = "ntx_event0";
  • }; };
andi@aktux:~/kobo/clara2e/kernel/arch/arm/boot/dts$
5:13 PM
the only difference
Avatar
the changed event0 to led?
Avatar
so, that is some ntx hack
Avatar
ntx_led { compatible = "ntx_led"; }; /ntx_event0 { compatible = "ntx_event0"; };/
5:15 PM
that is from the kernel
5:17 PM
MODULE_DESCRIPTION("Netronix event0 key driver");
5:19 PM
so in the clara2e source, just the commented out ntx_event0 has to be commented in and the b00 devicetree is the same as in the binary
Avatar
how do they know when updating things which one is which?>
Avatar
I would guess that let the devicetree in place
5:23 PM
and just copy over the kernel
Avatar
but the kernel is diffrent
Avatar
the newer kernel should just work on the older device
Avatar
this is horrible for inkbox
Avatar
the other way round, it is different
5:26 PM
what probably needs to be changed is paths for battery status (or even better, scan the directory /sys/class_power_supply)
Avatar
so we just need to replace the dtb?
Avatar
+ update kernel
Avatar
probably take the original stuff before first partition
Avatar
+ tell users to not fuck up choosing the image
5:31 PM
that is the dtb
Avatar
great
5:31 PM
well, thanks for finding out
5:32 PM
now we wait three weeks to test it
Avatar
Avatar
Szybet
@NiLuJe propably too as a koreader developer, look at this madness :D
Yeah, there are different HW revisions on the Nia, FWIW (that's true of basically all the current lineup, too)
6:31 PM
Most common visible change being a different PMIC
6:31 PM
(Which explains your power button issue, it gets shafted to a dedicated input device instead of the synthetic NTX event0)
6:32 PM
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices - koreader/device.lua at 60849aed12375fdbc16f19...
6:32 PM
I'm aware of it for the Nia, but was waiting for more details to implement it (https://github.com/koreader/koreader/pull/9591)
6:34 PM
Can be discriminated via NTX HWConfig blob data, FWIW; but easier to just auto-detect
6:37 PM
TL;DR: Get me the output of ls -lash /dev/input/by-path on that board on a stock kernel ;o)
Avatar
in 3 weeks ;p
Avatar
And you guys probably have a logic issue somewhere there, because it should behave as if no power button events at all are observed, NOT being stuck with a power press?
Avatar
Then again, wrong kernel/dtb probably didn't help, so, who knows...
Avatar
Avatar
tux-linux
90% of the people who come here stay around for a few days and then disappear forever, kinda
Sir Deniz III 4/24/2023 8:52 AM
just for the record, I'm a bit busy for one or two additional weeks with work. then, I'll undisappear. (edited)
👍 1
Avatar
@NiLuJe any update on the japanese book I sent you?
Avatar
Hmm send it me too, if there is a reasonable way to make it work i will so when redesigning the reader (edited)
10:22 AM
wait you already had it
10:22 AM
lol
10:24 AM
(also not supprting vertical text isnt that big of an issue if the horizontal text is formatted correctly & it doesnt take 20 min to open a book or change font sizes) (edited)
Avatar
Avatar
Kuratius
(also not supprting vertical text isnt that big of an issue if the horizontal text is formatted correctly & it doesnt take 20 min to open a book or change font sizes) (edited)
(it does take 20 minutes to open the book or change font sizes on koreader, on plato it opens instantly but it doesnt format ruby text correctly)
11:04 AM
what I'm trying to say it, try to open books at a reasonable speed, and try to get correct formatting before trying to get vertical text
Avatar
Avatar
Kuratius
@NiLuJe any update on the japanese book I sent you?
Oops. Had completely forgot about it :D. (Our engine wizard was on vacation at the time, and then I built a new computer and forgot about everything else :D)
6:36 PM
Lemme dig up in my backups, i'll send it rn
AZroul13 joined the server. 4/25/2023 10:04 PM
Avatar
Avatar
AZroul13
Click to see original message
10:07 PM
Welcome to the InkBox OS community. We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
10:07 PM
i'm not a bot don't ignore me
Avatar
Avatar
Szybet
i'm not a bot don't ignore me
kekw
Avatar
when I try flashing the image for kobo mini to sd card i get this error, what do I do?
10:51 PM
even when i open as admin
Avatar
Avatar
San
when I try flashing the image for kobo mini to sd card i get this error, what do I do?
is this windows?
Avatar
Avatar
San
when I try flashing the image for kobo mini to sd card i get this error, what do I do?
Run as admin
Avatar
did you run the integrity check or abort it?
Avatar
Probably
10:52 PM
"User did not grant permission"
Avatar
he said he ran it as admin
Avatar
Oh ok
10:53 PM
Then idk
10:53 PM
What's the image's size
Avatar
its 896mb the sd card is 32gb
10:54 PM
and the sd card is brand new too
10:56 PM
brb i gotta go somewhere, see u later
👍 1
Avatar
maybe the antivirus is blocking balena etcher in some way? (edited)
10:59 PM
or you accidentally tried to flash your harddrive instead of the sd card
Avatar
@Szybet can you tell me the offset for the waveform ?
11:18 PM
I'll copy it and upload it
11:26 PM
0x700000?...
11:29 PM
yep
11:29 PM
0x700000: waveform (prepended with length header), required by the epd
Avatar
Avatar
Kuratius
or you accidentally tried to flash your harddrive instead of the sd card
nm i got it to flash with raspberry pi imager
👍 1
Avatar
Avatar
Szybet
0x700000: waveform (prepended with length header), required by the epd
is this right? (I copied with dd if=koboBackup.img of=BIOS+WAVEFORM.img count=49152 )
Avatar
If thats how a waveform looks, then yes
6:38 PM
cursed discord formatting
6:39 PM
can i include this file in me repo next to my waveform? i will delete the ID from it
Avatar
Avatar
Szybet
can i include this file in me repo next to my waveform? i will delete the ID from it
delete any identifying information if you can, idk if this still contains anything tying it to me What do you mean by id? Serial number?
Avatar
Avatar
Kuratius
delete any identifying information if you can, idk if this still contains anything tying it to me What do you mean by id? Serial number?
only from what i know of, it's the serial number
6:46 PM
6:46 PM
at the beggining
6:47 PM
it could be tied of who bought the ereader, which store etc
Avatar
then sure, just mention where you modified it with a placeholder
Avatar
funny part: if you modify it then the default os will show it, i created an image where is says szybets image or something like that and its visible in settings :D
Avatar
noice
6:48 PM
anyway, prob fine to include it in the repo after stripping the serial (edited)
6:49 PM
any interesting differences compared to your image?
6:49 PM
also is the waveform actually different?
Avatar
im not an expert, and its mostly binary
Avatar
Avatar
Kuratius
also is the waveform actually different?
i will check later
Avatar
ordered the eink screen needed for the openBook thingy
6:51 PM
well are you aware that the software will be crap?
Avatar
just curious about it really
6:54 PM
if I was serious about using it as an ereader and not just a toy I'd probably have to implement something that streams the framebuffer to the pico via wifi, so it's not out of the question to sidestep the software issue, but it wouldnt really be an ereader anymore, it'd be a shitty external phone screen
6:55 PM
also for now I'll just try if it's possible to use the screen via gpio
7:58 PM
Devuan has always been nothing more than the manifestation of a collective tantrum, thrown by people who dislike or don't understand systemd.
7:58 PM
lol
Avatar
I cant get the sd card out of a new kobo
10:46 AM
any ideas?
10:52 AM
well got it
10:52 AM
still, it was there really stuck
RDF300 joined the server. 4/28/2023 9:24 PM
Avatar
no one answers my welcome messages
9:24 PM
so
9:24 PM
welcome
Avatar
you welcome me again 😛
Avatar
yes i recognise your avatar
9:24 PM
who were you
Avatar
i popped in a while ago when i wanted to test inkbox
9:25 PM
and it had some weird bugs and 2 of you was arguing
9:25 PM
XD
Avatar
about what
Avatar
oh it was a way to do something
9:26 PM
i think to fix a tearing issue
Avatar
well what were those bugs
Avatar
one was opening up an interface didnt re-draw the screen so it was not possible to see the screen
9:28 PM
well
Avatar
Avatar
RDF300
one was opening up an interface didnt re-draw the screen so it was not possible to see the screen
file an issue on github, maybe a "option" to fix how eink behaves could be added
Avatar
i found it in the end,
9:31 PM
so it was back in 1.5 days, where i was suggesting about a smaller sd card image
9:34 PM
yea it was about ui scales
Avatar
Avatar
RDF300
you welcome me again 😛
isn't it the third time? ;p (edited)
hjjjgvjjv joined the server. 4/29/2023 3:47 PM
Avatar
Hello
Avatar
HELLO THERE
😶 1
Queam of Wheat joined the server. 4/29/2023 8:42 PM
Avatar
Hello
8:42 PM
You again? 😉
Avatar
Avatar
Queam of Wheat
Click to see original message
Sticker
Avatar
Well i dont recognise him
8:51 PM
HELLO THERE
Avatar
welcome 😄
Avatar
already left
9:02 PM
these are bots
Avatar
Avatar
tux-linux
isn't it the third time? ;p (edited)
no just the second
👍 1
dhether joined the server. 5/1/2023 1:53 PM
Avatar
you are a bot
2:05 PM
because you wan't answer hello
2:05 PM
hello
2:05 PM
or just
2:05 PM
HELLO THERE
Avatar
hello
Avatar
Avatar
dhether
Click to see original message
2:34 PM
Hello
Avatar
oh you are not a bot
2:38 PM
well then
2:38 PM
┬─┬ノ( º _ ºノ)
Avatar
Bot not 👍
2:56 PM
Welcome to the InkBox OS community. We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
Avatar
Just started using inbox for old kobo glo HD and thought I'd check out the forum, thanks!
Avatar
Also I just wanted to peek in to say I’m still here, but this is definitely a project beyond my current skill set, although I’m trying to find where I can be useful I want to work, test or contribute down the line , but if there’s a donation portal as well for some of the developers I’d be happy to chip in there.
Avatar
Reporting bugs, suggesting UI changes, helping new users, sharing opinion on features - everything would be helpfull
3:03 PM
testing too, but compiling everything can be painfull
3:04 PM
tux-linux as the main developer has a librera pay account
👍 1
3:06 PM
me not really, I trust tux-linux that he will share or smth, but for now its not even profitable to transfet the money - paypal would eat more from transit that i got from these cents ;p (edited)
Avatar
boys
9:11 PM
I got the thing
9:11 PM
9:11 PM
what thing
Avatar
kobo glo hd
Avatar
good
Avatar
btw this server could benefit with some emotes
9:12 PM
that would be noice
9:12 PM
um
9:12 PM
no
9:13 PM
this costs money
9:13 PM
or does it?
Avatar
up until 50 its free (edited)
Avatar
@tux-linux give me permissions for emotes
9:13 PM
i will add a few
Avatar
you could add some chad faces
9:13 PM
we need them
Avatar
i have frogs
Avatar
also gud
9:14 PM
pepe's?
Avatar
lets goo
Avatar
you said you are willing to learn
9:16 PM
well how much
Avatar
well
9:17 PM
as much as I can I think
Avatar
first update to dev version
Avatar
Avatar
Dominiac
as much as I can I think
I like this thinking
9:18 PM
finally someone not* saying i c a n t l e a r n c o d i n g i t s h a r d : ( ( ( ( (edited)
Avatar
edited message
9:19 PM
:D
Avatar
I'm installing the think
9:19 PM
rn
9:20 PM
ok so
9:20 PM
just to make sure
Avatar
I get the image from here is it?
9:20 PM
ha thx
9:20 PM
xd
Avatar
ok I flashed the sd card
9:36 PM
is there a video on how to crack open the device?
Avatar
not really propably
9:37 PM
do you have one of these?
Avatar
@tux-linux can give you tips ( where to start, tools, what to look for ( where the flex cable is, to avoid it etc ))
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
ifixit ❤️
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
were you able to open the nia with that tool?
Avatar
Avatar
Szybet
were you able to open the nia with that tool?
yeah
Avatar
Avatar
Kuratius
yeah
well i dont
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
i got one of this
Avatar
looks scary
Avatar
yhea
Avatar
Avatar
Szybet
well i dont
i nneded this
Avatar
Avatar
Dominiac
i got one of this
um maybe no
Avatar
hum
Avatar
Avatar
Szybet
well i dont
I just put it inside the seam and unlatched the plastic latches one by one
Avatar
Avatar
Kuratius
I just put it inside the seam and unlatched the plastic latches one by one
yea i know, i wasnt able
Avatar
is the thingy dull for you?
9:40 PM
might be not sharp enough
9:41 PM
I mean the tip might be too large from usage
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
this
9:41 PM
or exacto
9:41 PM
knife
9:41 PM
smth
Avatar
if i wouldn't have ifixit i would use the non sharp blade of a wallpaper knife
Avatar
there might be a way to use a plastic ruler or a credit card too, come to think of it
9:43 PM
try and error
Avatar
also got this
9:43 PM
Avatar
maybe try plastic tools first
Avatar
I dont really have smth dull I think
Avatar
if you use metal you might just slice off the plastic latches instead of unlocking them
Avatar
Avatar
Kuratius
maybe try plastic tools first
yrp, this
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
ok I could 3d print something like this
9:45 PM
have you ever tried?
Avatar
I don't own a 3d printer and I dunno if the tip can be 3d printed well enough
9:46 PM
you can try if you want but these thingies are super cheap anyway
9:46 PM
2-3 € I think on amazon
Avatar
Avatar
Dominiac
i got one of this
ok I'll risk it with this tool, its kinda dull so it should not damage much
9:48 PM
you guys know where are the latches?
9:48 PM
more on the corner or on the center?
Avatar
propably start from the up
9:49 PM
avoid usb port
Avatar
got it
Avatar
idk where the flex cable is
Avatar
Avatar
Dominiac
ok I could 3d print something like this
nope, the tip wouldn't be good
Avatar
roger
9:59 PM
ok I did it
10:00 PM
alright
10:00 PM
so now I just replace the sd cart
10:00 PM
it it? 👀
10:05 PM
oh hell yeah
Avatar
do you have a linux machine
10:05 PM
my main machine
Avatar
arent we all?
10:06 PM
10:07 PM
well a channel for "teaching" would be helpfull, @tux-linux spamming dev is not a good idea
Avatar
Avatar
Dominiac
so now I just replace the sd cart
one thing you could consider for later if you want optimal image quality, the inkbox images copy the waveform from someone else's device, but they're technically custom for each device so make a backup of the original sd card so you can overwrite the waveform on the inkbox image later
Avatar
nah its propably good
Avatar
shrugs
Avatar
if you won't notice diffrence, then well
10:09 PM
but a backup always good
Avatar
Avatar
Kuratius
one thing you could consider for later if you want optimal image quality, the inkbox images copy the waveform from someone else's device, but they're technically custom for each device so make a backup of the original sd card so you can overwrite the waveform on the inkbox image later
well I'm afraid I have no idea what are you talking about xd
10:11 PM
whats the wave form
Avatar
Avatar
Dominiac
whats the wave form
just a screen calibration for eink screens
Avatar
haa I see
Avatar
basically telling it how to refresh the screen for optimal contrast and sharpness
Avatar
got it
10:12 PM
how do I make it ''custom''
10:12 PM
for mine
10:12 PM
or maybe I should worry about that later?
Avatar
there is some unpartitioned space on the sd card where you can copy it, but like I said you can also worry about it later
10:13 PM
the unpartitioned space has the waveform in the same location on both inkbox and the original image, so you can use dd if you know the offset (edited)
Avatar
gotcha
10:14 PM
10:14 PM
found the first bug?
Avatar
Avatar
Dominiac
gotcha
only thing you should do now is just backup the sd card, rest can be later
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
anything other happens?
Avatar
prob dd if=/dev/sdCard of=koboBackup.img bs=512 and then wait a while I cant remember if this dd command needs sudo
10:16 PM
prob add the progress option too
Avatar
Avatar
Szybet
anything other happens?
not really? I just got into the apps panel
Avatar
Avatar
Kuratius
prob add the progress option too
roger roger
Avatar
Avatar
Dominiac
not really? I just got into the apps panel
but before it it was fine?
Avatar
yea I think so
Avatar
notyhing more happens?
Avatar
everything was good looking
10:18 PM
nop
Avatar
try ti reproduce it
10:18 PM
power button hold for long idk 15s and then turn it on
Avatar
if I click on the pwer button it sleeps
Avatar
click it for longer
Avatar
ha there u go
10:21 PM
it worked
Avatar
try to reproduce it
10:23 PM
its taking its time
10:31 PM
now it didnt reproduce
10:31 PM
strange
Avatar
well we hope either it won't happen again or if it happens you will be able to fix it at this point
Avatar
from where did you got the glo btw?
10:35 PM
website, used?
10:35 PM
from england
10:36 PM
I asked a friend to buy me there because I didnt have it in my country
Avatar
and then when they came over I got the reader
Avatar
very cool
Avatar
noob question: how do I connect to the computer?
10:37 PM
xd
Avatar
with a usb cable
10:37 PM
or wifi ssh if you root it
Avatar
it does not apear on my system
10:37 PM
2s
10:38 PM
nvm fixed it (edited)
Avatar
Avatar
Kuratius
prob dd if=/dev/sdCard of=koboBackup.img bs=512 and then wait a while I cant remember if this dd command needs sudo
how do I back up the sd card?
10:40 PM
do I cd into the device and then use the commands?
Avatar
gnome disk tool
10:40 PM
:D
Avatar
Avatar
Dominiac
do I cd into the device and then use the commands?
sudo fdisk -l would tell you where the sd card is
10:41 PM
but you can also do what szybet recommended and use a disk backup tool
10:41 PM
you do not need cd
10:41 PM
it'd be bad to use cd bc you'd end up writing the image to the sd card
10:41 PM
(that's bad)
Avatar
got it kekw
Avatar
there's probably an argument to be made that using raw dd commands is the easiest way to accidentally overwrite your own drive and as such a diskbackup tool is safer
Avatar
Avatar
Kuratius
prob dd if=/dev/sdCard of=koboBackup.img bs=512 and then wait a while I cant remember if this dd command needs sudo
for clarification, of=filename is where it will try to write the image, if it's not an absolute path it will create the image in the current directory
10:49 PM
so if the current directory is the sd card, you're writing to the sd card while copying it
10:49 PM
what bs stand for? (edited)
Avatar
block size
10:50 PM
you can also omit it I think the default is 512 anyway
10:50 PM
and I think using it doesnt change the image, just how quickly or slowly the image is copied
10:51 PM
status=progress would add a progress bar
10:51 PM
type "man dd" to see a help page (edited)
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
Something thinks its drawing to an 8bpp fb while the fb is actually @ 32bpp (edited)
Avatar
it happened only once
10:53 PM
cant replicate eassly
10:53 PM
any ideas?
Avatar
You'd have to have switched the fb to 32bpp somehow, to begin with
10:53 PM
As the bootup state is 16bpp (edited)
10:54 PM
So I'd start looking at what can actually do that
Avatar
ereader wasnt shutdown correctly before removing sd card maybe?
10:55 PM
as in original sd card
Avatar
Not possible
Avatar
Avatar
NiLuJe
As the bootup state is 16bpp (edited)
Because this
10:56 PM
But, in any other non-full conversion scenarios, yeah, my best guess would have been you caught Nickel's startup sequence
10:57 PM
(As, on a stock firmware, the fb state goes from bootup state, to pickel state for the boot anim, to Nickel's state; and the first and only 32bpp state is Nickel's)
Avatar
well I changed the font size on the first setup
11:01 PM
maybe it had something to do with it?
11:01 PM
after I rebooted it went away tho
Avatar
Avatar
Kuratius
type "man dd" to see a help page (edited)
╰─ sudo dd if=/dev/sdd of=koboBackup.img ─╯ dd: error reading '/dev/sdd': Input/output error 1064+0 records in 1064+0 records out 544768 bytes (545 kB, 532 KiB) copied, 0,287174 s, 1,9 MB/s
11:02 PM
was that successfull?
11:03 PM
it gave me a error but it still created the image
11:05 PM
40% i would give it
Avatar
Avatar
Dominiac
╰─ sudo dd if=/dev/sdd of=koboBackup.img ─╯ dd: error reading '/dev/sdd': Input/output error 1064+0 records in 1064+0 records out 544768 bytes (545 kB, 532 KiB) copied, 0,287174 s, 1,9 MB/s
what sd card reader are you using?
11:08 PM
could be an issue with that
11:11 PM
try gnome disks
11:11 PM
Avatar
nvm I'm a brainlet
11:12 PM
was tring to backup with the device on instead of taking the card out
11:12 PM
Avatar
Avatar
Szybet
Click to see attachment 🖼️
Avatar
Avatar
Dominiac
was tring to backup with the device on instead of taking the card out
🤣 I figured something like that
Avatar
why does it take so long to boot
Avatar
because xorg propably
11:38 PM
and we don't care about it, let everything load and then be fast
11:38 PM
and security and friends
Avatar
Avatar
Szybet
because xorg propably
yes
11:38 PM
b
Avatar
I see I see
Avatar
is wayland stuff usable and worth using on ereaders?
11:41 PM
or is it too complicated to set up?
Avatar
propably too heavy
11:42 PM
propably no support
11:42 PM
propably couldn't run if not mainline kernel
Avatar
I thought wayland was supposed to be faster and less buggy than xorg
Avatar
i'm just quessing
Avatar
the kernel argument prob applies to inkbox, yeah
11:43 PM
though with inkbox you only need org for x11 aps right? everything else is qt?
Avatar
for all those old apps you would need to run xwayland which would be heavier for sure
Avatar
Avatar
Kuratius
though with inkbox you only need org for x11 aps right? everything else is qt?
11:44 PM
there is also plato ( rust native ) (edited)
11:44 PM
and native fbink
11:44 PM
but, yes
Avatar
what about books
12:11 AM
how do I put them in the device
Avatar
usb cable (edited)
Avatar
do I create a folder and then put the pdf in it?
Avatar
just put the pdfs into it
Avatar
cant
12:13 AM
I wont let me
Avatar
says the folder is empty
12:23 AM
was supposed to have folder inside the device was it?
Avatar
maybe is a permission thing?
Avatar
what are you talking about
12:24 AM
just put the books inside the kobo via usb cable
Avatar
Avatar
Dominiac
maybe is a permission thing?
maybe try root sudo smth
Avatar
it says its read only
12:29 AM
cp: cannot create regular file '/run/media/dominiac/InkBox/PDFTest.pdf': Read-only file system
12:30 AM
do I have to change something?
12:30 AM
somewhere
Avatar
haa I get it
12:38 AM
I had to go into inkbox settings and enter USB Mass Storage session o let me do it
12:38 AM
if I just plug the usb its read only apparantly
Avatar
o k
12:40 AM
strange
Avatar
I got a new sd card and that fixed the issue
Avatar
dunno man
Avatar
epub's dont show images, is that by design?
7:58 PM
pdf's frezes que tablet when they show images aswell
Avatar
Avatar
Dominiac
epub's dont show images, is that by design?
not supported ( yet! )
Avatar
Avatar
Dominiac
pdf's frezes que tablet when they show images aswell
what
Avatar
Avatar
Szybet
what
is it supposed to show images as well?
Avatar
Avatar
Dominiac
is it supposed to show images as well?
in pdfs?
Avatar
yes
8:04 PM
you have problems?
Avatar
well, yes
Avatar
give me a 1s
8:04 PM
gonna make a quick vid
8:08 PM
just got some random books to test
8:08 PM
so dont mind the titles
8:08 PM
8:09 PM
and then it just gets stuck there
Avatar
wait maybe more (edited)
8:09 PM
idk if its fixed in 2.0 (edited)
8:10 PM
well if you want to help, send ebooks / pdfs to test me to dm. I plan to redesign the reader from ground up and i'm collecting testing material
Avatar
Avatar
Szybet
idk if its fixed in 2.0 (edited)
how can I update to the dev version?
Avatar
you finally asked :D
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
btw cool books there
Avatar
Avatar
Dominiac
how can I update to the dev version?
you need to update the kernel, rootfs, gui bundle, gui rootfs.. its a lot of work
Avatar
Avatar
Szybet
btw cool books there
thx 😉
Avatar
are you commited enough to do it? i dont want to waste time explaining if you will give up like 95% people that joined this server
Avatar
Avatar
Szybet
are you commited enough to do it? i dont want to waste time explaining if you will give up like 95% people that joined this server
Yes sir
8:13 PM
just another thing before that
Avatar
sorry if i'm being not polite but my english is limited and I sometimes can't explain things in a good way
Avatar
worry not friend I'm in the same boat
8:14 PM
also I'm gonna ask really basic questions
8:14 PM
and being very anoyng
8:14 PM
so be prepared
Avatar
nah don't worry
Avatar
so my tablet has a very strange behavior
Avatar
you mean kobo?
Avatar
yes
8:15 PM
but I'm not sure if its because of the software
8:15 PM
or if its because its 2nd handed
8:16 PM
you see, it seems like it doesent work for too long if its not pluged into power
8:16 PM
even tho it says it has 100% charge
Avatar
battery needs to be replaced
8:16 PM
costs like 10$
Avatar
or use a power bank
Avatar
where can I buy that battery replacement?
8:17 PM
does it come from europe?
Avatar
i saw some on aliexpress
Avatar
Avatar
Dominiac
does it come from europe?
maybe
8:18 PM
if you are into electronics then buy a similar one and replace the cables
Avatar
aliexpress is chinese stuff mainly
Avatar
Avatar
Szybet
if you are into electronics then buy a similar one and replace the cables
I dont trust myself that much :[
Avatar
yea, li io batteries are dangerous
Avatar
thats what I get for bieng a cheap bastard kek
8:20 PM
anyway
Avatar
you will still be on + as of money
Avatar
ye but its anoying af
8:20 PM
well
8:21 PM
how do I update to dev then
Avatar
go to inkbox github organisation page
8:25 PM
and clone to your pc
8:26 PM
kernel
8:26 PM
rootfs
8:26 PM
gui-bundle
8:26 PM
gui-rootfs
8:26 PM
all these repos
Avatar
Kobo-InkBox has 31 repositories available. Follow their code on GitHub.
Avatar
k lets go
Avatar
um stop
8:30 PM
forgot to mention
8:30 PM
clone everything at this exact path:
8:30 PM
/home/build/inkbox/
8:30 PM
if you already started then copy those things there
Avatar
roger
8:31 PM
huh its taking along time to clone
8:32 PM
how big is this kernel?
Avatar
its a lot of data
8:32 PM
with init arround 10Mb
8:32 PM
but you are cloning it for every device
8:32 PM
and every toolchain
8:32 PM
;D
Avatar
I see I see
Avatar
brb gonna come back in 1h or so
8:47 PM
:[
8:48 PM
Avatar
back
9:41 PM
what now
Avatar
enter kernel dir
9:42 PM
um and look for #porting clara thread of how to replace the keys in the kernel
9:43 PM
use search function
Avatar
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
oh this
9:48 PM
yes
9:48 PM
look at this
9:48 PM
cool guide
Avatar
btw what are this keys used for
9:48 PM
why do we need them
Avatar
veryfication that the software is official
9:49 PM
only we can sign updates that the system will accept
9:49 PM
you are replacing them so you can update it
9:50 PM
if the update server would be hacked, it's impossible to push a harmfull update because of this
Avatar
hum I see
9:51 PM
so to make sure:
Avatar
if you would make contributions to inkbox, we would share the key with you so you can more eassly test stuff etc
Avatar
Avatar
Dominiac
so to make sure:
is this what I should do now?
Avatar
Avatar
Dominiac
so to make sure:
not exactly, it's not your model
9:52 PM
its for the clara and you have the glo
9:52 PM
there is a directory for the glo, diffrent number
Avatar
ha yes besides that
9:53 PM
so I chance the path to my model
Avatar
bedides that, yes
Avatar
roger
9:57 PM
9:57 PM
whats going on
9:58 PM
ha wait
9:59 PM
yh thats right
9:59 PM
there is not public.pem do copy
Avatar
welp we skipped rootfs
10:03 PM
openssl genrsa -out private.pem 2048 openssl rsa -in private.pem -out public.pem -outform PEM -pubout openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.squashfs
Avatar
oh right
10:06 PM
10:07 PM
miss this?
Avatar
Avatar
Dominiac
oh right
without the last, here you are trying to sign something that doesnt exist
10:07 PM
you have the key, continue with kernel
Avatar
ok done
10:09 PM
now compile?
Avatar
yes but replace command
10:09 PM
with your device number
Avatar
whats this?
10:12 PM
is it a program or an image (edited)
Avatar
well read the whole message
10:12 PM
program, command line program
Avatar
bruh ur right
10:12 PM
hum
10:12 PM
what distro are you using?
Avatar
i think this is written for debian
10:13 PM
just google the program + your distro
10:13 PM
¯\_(ツ)_/¯
Avatar
done
10:15 PM
its compiling
10:15 PM
nvm
Avatar
there are a fev commands to install
10:17 PM
10:17 PM
what now
Avatar
well first the path is wrong
10:18 PM
/home/build/inkbox/ without anything before it
10:18 PM
not in your home dir
Avatar
can u explain again plz? xd
10:20 PM
what u mean
10:21 PM
should I change where I am?
Avatar
it should be /home/build/inkbox/ your is /home/dominiac/build......
10:21 PM
sudo mkdir -p /home/build/inkbox/
10:21 PM
litterally
Avatar
haaa
10:21 PM
I fket up
10:23 PM
ok so I just have to move everything into that folder and I'm golden?
Avatar
no, propably not
10:23 PM
put it and try again
10:23 PM
we need to use a diffrent toolchain
10:23 PM
propably
10:24 PM
Reproducible image builder for InkBox OS. Contribute to Kobo-InkBox/imgtool development by creating an account on GitHub.
10:24 PM
yep
10:24 PM
show me your command that you execute to compile the kernel
10:25 PM
i will modify it
Avatar
env GITDIR=$PWD TOOLCHAINDIR=$PWD/toolchain/armv7l-linux-musleabihf-cross/ THREADS=$(($(nproc)*2)) TARGET=armv7l-linux-musleabihf scripts/build_kernel.sh n437 root
10:27 PM
I just changed the model number
Avatar
select the toolchain path that has "nickel" in it
10:31 PM
where is that
Avatar
in the kernel toolchain dir
Avatar
ha yes I see it now
10:32 PM
arm-nickel-linux-gnueabihf -> this is it (edited)
10:39 PM
try with it
11:01 PM
whats going on
Avatar
also change target
11:02 PM
nickel aswell? (edited)
11:03 PM
👀
11:03 PM
its doing stuff
11:03 PM
here we goo
11:05 PM
ok I got this bad boy -> uImage-root
11:05 PM
what now (edited)
Avatar
rootfs
Avatar
next step? (edited)
Avatar
nah skip that
11:08 PM
not important
11:08 PM
😉
11:08 PM
😉
11:08 PM
😉
11:08 PM
😉
11:08 PM
😉
11:08 PM
rootfs now
Avatar
the folder?
11:09 PM
or is that a command?
Avatar
Building the rootfs
11:09 PM
step
11:10 PM
alright
11:10 PM
done
Avatar
do the same as in rootfs for gui-rootfs
11:11 PM
btw do you have a serial cable
Avatar
Avatar
Szybet
btw do you have a serial cable
this things?
Avatar
Avatar
Szybet
do the same as in rootfs for gui-rootfs
done
Avatar
Avatar
Dominiac
this things?
half of it
11:13 PM
uart - usb converter
Avatar
not really
11:14 PM
:[
11:14 PM
do I need that?
Avatar
propably not
11:15 PM
gui bundle now
11:16 PM
the command is sudo GITDIR=${PWD} ./release.sh rootfs.pem 1.9
11:21 PM
what did I do :[
11:21 PM
well
11:22 PM
crap
11:22 PM
i forgot
11:22 PM
clone the compiled-binaries repo
11:22 PM
in the place that all others
Avatar
ok now I have to inclide the folders location
11:29 PM
after the "1.9"?
11:30 PM
like so: sudo GITDIR=${PWD} ./release.sh rootfs.pem 1.9 /home/build/inkbox/compiled-binaries/ ? (edited)
11:31 PM
download qt creator
11:31 PM
linux package
11:31 PM
distro
11:31 PM
program
11:31 PM
yes
Avatar
qt designer?
11:36 PM
nvm
Avatar
Avatar
Szybet
download qt creator
done
Avatar
create a build folder
11:39 PM
inside it clone those repos with the names as in the image
11:39 PM
11:39 PM
for example
11:39 PM
git clone https://github.com/Kobo-InkBox/inkbox build_inkbox
Avatar
Avatar
Szybet
create a build folder
where do I create it?
11:43 PM
or it dosent matter? (edited)
Avatar
inside gui bundle dir
Avatar
Avatar
Szybet
inside it clone those repos with the names as in the image
witch repos?
Avatar
inkbox
11:48 PM
oobe-inkbox
11:48 PM
lockscreen
Avatar
Avatar
Szybet
inkbox
An open-source, Qt-based eBook reader for Kobos (and other devices). - GitHub - Kobo-InkBox/inkbox: An open-source, Qt-based eBook reader for Kobos (and other devices).
Avatar
Avatar
Szybet
git clone https://github.com/Kobo-InkBox/inkbox build_inkbox
yep, the same link
Avatar
Avatar
Szybet
oobe-inkbox
Out-Of-the-Box-Experience program for InkBox. Contribute to Kobo-InkBox/oobe-inkbox development by creating an account on GitHub.
Avatar
Avatar
Szybet
lockscreen
Lockscreen program for InkBox. Contribute to Kobo-InkBox/lockscreen development by creating an account on GitHub.
Avatar
ok done
11:53 PM
now the other command?
11:53 PM
open qt creator
Avatar
ok its open
Avatar
options -> kits
11:54 PM
11:54 PM
copy values
11:54 PM
11:54 PM
add them & etc
11:54 PM
11:55 PM
11:55 PM
believe me this is the easy way
11:55 PM
you need to create a working kit
Avatar
ok got everything
12:06 AM
exept the debugger
12:07 AM
I dont have it for some reason
Avatar
nah ignore it
12:07 AM
whats next
Avatar
now open a project at those paths that you cloned
12:07 AM
and disable shadow builds in build options
Avatar
home/build/inkbox is it?
12:08 AM
wait
12:09 AM
what do I open as a project?
Avatar
Avatar
Szybet
inkbox
these 3
12:10 AM
pro file in them
Avatar
Avatar
Szybet
and disable shadow builds in build options
where is that
Avatar
ok got it
12:16 AM
next
Avatar
build it
12:16 AM
well
12:16 AM
try
12:18 AM
201 warnings
12:19 AM
no errors tho
12:20 AM
compile output is crazy red
12:20 AM
I messtup something
Avatar
not run, build
12:21 AM
no arrow
12:21 AM
only hammer
Avatar
Avatar
Dominiac
201 warnings
inkbox code is a mess
12:22 AM
it works!
12:22 AM
lets go?
Avatar
it build?
12:22 AM
btw built it in release mode
12:23 AM
not debug
12:23 AM
in which have you built it
Avatar
how do I know if it build?
Avatar
green bar on the right
Avatar
in release mode it gives me 143 warnings
12:25 AM
build bar -> click clean
12:25 AM
then build in release
Avatar
this one?
Avatar
ok it worked
12:26 AM
👀
Avatar
now in that dir show me output of file inkbox
Avatar
where? xd
Avatar
the projecvt dir
Avatar
this thing?
Avatar
in terminal
12:31 AM
enter this dir
12:33 AM
/home/build/inkbox/gui-bundle/build/ -> in the project folder?
Avatar
the same folder where you choosed the pro file for qt creator
Avatar
one of these?
12:37 AM
this folder
12:37 AM
execute the command
12:37 AM
should I do it on the release version?
Avatar
you should have only a release version
12:39 AM
should I execute via terminal?
Avatar
Avatar
Szybet
in terminal
.
Avatar
Avatar
Szybet
now in that dir show me output of file inkbox
copy this and run.
Avatar
ha yes
12:41 AM
inkbox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.33, with debug_info, not stripped
Avatar
its not release built
12:42 AM
clean and build again
Avatar
by cleaning you mean delete the release build?
12:44 AM
toolbar
Avatar
ok got it
12:45 AM
inkbox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.33, with debug_info, not stripped
12:45 AM
same message
Avatar
ok whatever then
12:46 AM
do this for the rest 2 project
Avatar
same message?
12:50 AM
inkbox: ELF 32-bit LSB executable, ARM, EABI5 version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.33, with debug_info, not stripped
Avatar
ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then ok whatever then
12:50 AM
its fine
12:50 AM
thats correct right?
Avatar
ok so what now
Avatar
Run the command that i gave you with release at the start of gui bundle and add the last arguemt the dir where all other those 3 directories are
1:00 AM
Im going to sleep, its late, if you want to go on your own read the chat here and #quill and #dev there is everything that you need
1:00 AM
If not tommorow i will guide you more
Avatar
ok gn!
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
?! are you trying to run it on your computer?
Avatar
Avatar
tux-linux
?! are you trying to run it on your computer?
yes
1:12 PM
I was tryng to run it via dolphin
Avatar
well that was wrong
Avatar
Avatar
Szybet
Run the command that i gave you with release at the start of gui bundle and add the last arguemt the dir where all other those 3 directories are
did you did that
Avatar
not yet I also went to bed
1:26 PM
lets see
Avatar
Avatar
Szybet
the command is sudo GITDIR=${PWD} ./release.sh rootfs.pem 1.9
this one?
1:33 PM
so sudo GITDIR=${PWD} ./release.sh rootfs.pem 1.9 /build ? (edited)
Avatar
wrong build path
1:33 PM
but yes
Avatar
is it?
1:34 PM
do I have to put the hole thing?
Avatar
/home/build/inkbox/gui-bundle/build/
Avatar
you are poiting to / -> build
1:34 PM
put the whole one, to be sure
Avatar
roger
1:36 PM
bruh
1:36 PM
oh wait
1:37 PM
yh its going
1:46 PM
should I redo the key stuff?
Avatar
use the same one
1:48 PM
copy it
1:49 PM
everywhere use the same key
Avatar
private or public?
1:51 PM
I only have those 2
Avatar
you use private one to sign things
1:51 PM
and the public you put in the kernel
1:51 PM
right?
Avatar
Avatar
Szybet
copy it
.
Avatar
ha got it
1:55 PM
1:55 PM
so should I copy the public one into kernel?
Avatar
Avatar
Dominiac
so should I copy the public one into kernel?
you should have already done it as it said in the guide
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
context>
Avatar
damm
2:11 PM
ok lets go back then
2:11 PM
I should do this right?
2:11 PM
2:12 PM
openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.squashfs
2:12 PM
this command gives me an error
2:12 PM
rootfs.squashfs: No such file or directory 40571B142E7F0000:error:80000002:system library:file_ctrl:No such file or directory:crypto/bio/bss_file.c:297:calling fopen(rootfs.squashfs, r) 40571B142E7F0000:error:10080002:BIO routines:file_ctrl:system lib:crypto/bio/bss_file.c:300:
Avatar
well maybe first try to understand what you are doing
2:17 PM
did you did kernel?
2:18 PM
you generated one pair of keys, and replaced them in kernel?
2:18 PM
and now you use this one pair of keys everywhere?
Avatar
Avatar
Szybet
you generated one pair of keys, and replaced them in kernel?
you mean this part of the guide?
2:20 PM
Avatar
yes
Avatar
then use this one pair of keys EVERYWHERE else
Avatar
what you mean by using the pair of keys
2:22 PM
do I copy them everywhere
2:22 PM
or do I use their path
2:23 PM
copy better
2:23 PM
you dont generate any other keys
Avatar
ok so
2:24 PM
if I understand correctly
2:24 PM
then the keys are created on build/inkbox path is it?
2:24 PM
the private and public
2:25 PM
here
2:30 PM
ha
2:30 PM
sudo GITDIR=${PWD} ./release.sh /home/build/inkbox/private.pem 1.9 /home/build/inkbox/gui-bundle/build
2:30 PM
this worked for me
2:30 PM
2:30 PM
now
2:31 PM
you use only one pair of keys everywhere
Avatar
Avatar
Dominiac
then the keys are created on build/inkbox path is it?
no new created
Avatar
sure but where are they
Avatar
Avatar
Dominiac
yes
It's supposed to be run on the target architecture, i.e. your Kobo
Avatar
Avatar
Dominiac
sure but where are they
what
Avatar
Avatar
Szybet
what
like, in witch folder are they
2:36 PM
of is this a dumb question to ask
2:36 PM
maybe this is one of those kek
Avatar
eeewhat is where
Avatar
the keys
Avatar
Avatar
Dominiac
here
they are here arent they
2:39 PM
just to make sure
2:40 PM
the ones I have to use
Avatar
in kernel, where you replaced them
2:40 PM
and now you sign the software using those keys
Avatar
here?
Avatar
in one of those squash file systems
2:42 PM
right?
Avatar
haa
2:44 PM
so squash is a compressed read only file
2:44 PM
didnt know that
Avatar
something like that
Avatar
got it
2:44 PM
ok so
2:45 PM
how to I use this files as keys everywhere
2:45 PM
do I just use their path? (edited)
2:46 PM
the thing we where talking about earlyer
Avatar
what areyou talking about
Avatar
hold on
2:46 PM
brb in 1h +/-
Avatar
ok I'm back
Avatar
Avatar
Szybet
what areyou talking about
so this command worked
3:34 PM
whats next
3:35 PM
maybe I can understand the key things later
Avatar
Avatar
Dominiac
so this command worked
show output
Avatar
well good
3:37 PM
plug the sd card into your pc
Avatar
lets goo
3:39 PM
ok done
Avatar
did we did gui-rootfs?
Avatar
no?
3:40 PM
what was suppose to be done there
Avatar
the same as in rootfs
3:41 PM
identical
3:41 PM
but for diffrent files
3:41 PM
so this
3:41 PM
3:42 PM
but for gui-rootfs
3:42 PM
is it?
3:42 PM
dont generate a new key use the same one
3:43 PM
openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.squashfs
3:43 PM
this two?
Avatar
yes, but replace the path & file names
Avatar
but for gui
3:43 PM
yes
3:47 PM
openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs.dgst gui-rootfs.squashfs
3:47 PM
like this?
Avatar
openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out rootfs.squashfs.dgst rootfs.squashfs this one didnt work
3:48 PM
ok both didnt work
Avatar
Avatar
Szybet
yes, but replace the path & file names
.
3:48 PM
did you run release?
3:48 PM
script
Avatar
yes
3:49 PM
sudo env GITDIR=$PWD ./release.sh
3:49 PM
this one
Avatar
did you get gui-rootfs.squashfs file?
3:49 PM
outside of gui-rootfs dir?
3:49 PM
in the parent dir
Avatar
oh yea
3:50 PM
its outsite
3:50 PM
I put it inside the folder then
3:50 PM
doesnt matter
Avatar
Avatar
Dominiac
openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs.dgst gui-rootfs.squashfs
run this where the file is
3:52 PM
this one worked
3:52 PM
openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs.dgst rootfs.squashfs
3:53 PM
what now
3:53 PM
next spteperino
3:54 PM
you need to understand a bit what you are doing to make it
Avatar
Avatar
Dominiac
openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs.dgst rootfs.squashfs
here you created gui-rootfs.squashfs.dgst by signing rootfs.squashfs
3:54 PM
it doesnt make sense right?
3:55 PM
gui-rootfs and rootfs are 2 diffrent things
3:55 PM
where is gui-rootfs.squash
Avatar
Avatar
Szybet
where is gui-rootfs.squash
the only one I have is gui-rootfs.squashfs.dgst an then I got a rootfs.squashfs inside the gui-rootfs
Avatar
Avatar
Dominiac
the only one I have is gui-rootfs.squashfs.dgst an then I got a rootfs.squashfs inside the gui-rootfs
move rootfs.sqhashfs back to the parent directory
4:02 PM
and in this parent directory run ls and show output
4:02 PM
and remove gui-rootfs.squashfs.dgst
Avatar
Avatar
Szybet
and in this parent directory run ls and show output
.
4:04 PM
parent fir
4:04 PM
also copy the output and not screenshot
Avatar
 compiled-binaries  gui-bundle  gui-rootfs  gui_rootfs.isa  kernel  private.pem  public.pem  rootfs  rootfs.squashfs  rootfs.squashfs.dgst  squashfs-root  squashfs_root (edited)
Avatar
oh its and .isa
4:06 PM
my bad
4:06 PM
sign the isa file
4:06 PM
gui_rootfs.isa.dgst
Avatar
ha I see
Avatar
be right back
4:09 PM
I
4:09 PM
I be right back
Avatar
Avatar
Szybet
sign the isa file
sudo openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs gui_rootfs.isa.dgst
4:11 PM
like that right?
4:35 PM
no
Avatar
Avatar
Szybet
gui_rootfs.isa.dgst
.
Avatar
Avatar
Szybet
.
thats what I did
4:40 PM
I think
4:46 PM
is diffrent
Avatar
Avatar
Dominiac
sudo openssl dgst -sha256 -sign /home/build/inkbox/private.pem -out gui-rootfs.squashfs gui_rootfs.isa.dgst
no squashfs, only isa...
4:48 PM
I get it now
4:48 PM
ok done
Avatar
do you have write access to your sd card
Avatar
I think so
Avatar
enter the dir where zimage was created
4:51 PM
kernel repo
4:51 PM
sudo dd if=zImage-root of=/dev/sdcard bs=512 seek=81920
4:51 PM
zimage is name of your zimage file
4:52 PM
and /dev/sdard replace with the sd card whole disk file
4:52 PM
before executing command post it here
Avatar
Avatar
Szybet
enter the dir where zimage was created
where is that
4:56 PM
ha wait
4:56 PM
here? /home/build/inkbox/kernel/kernel/out/n437/
Avatar
mine is uImage-root
Avatar
Avatar
Szybet
do you have write access to your sd card
what do you mean?
Avatar
Avatar
Szybet
before executing command post it here
sudo dd if=uImage-root of=/dev/sdd bs=512 seek=81920
Avatar
Avatar
Dominiac
sudo dd if=uImage-root of=/dev/sdd bs=512 seek=81920
if its your sd card then its fine, launch it
5:05 PM
and execute watch -n 0.1 sync (edited)
Avatar
Avatar
Szybet
and execute watch -n 0.1 sync (edited)
calm down...
5:06 PM
😉
Avatar
something isnt right
5:08 PM
╰─ sudo dd if=uImage-root of=/dev/sdd bs=512 seek=81920 ─╯ [sudo] password for dominiac: 17638+1 records in 17638+1 records out 9031008 bytes (9,0 MB, 8,6 MiB) copied, 0,99813 s, 9,0 MB/s
Avatar
is that correct?
Avatar
ha I see
5:10 PM
was expecting it to not work I guess xd
5:11 PM
allright so now I can put the sd cart into the tablet and test it out right?
Avatar
nooooooo
5:13 PM
mount partition number 3 and 4 of the sd card
5:13 PM
and show me insides of it
5:13 PM
oh crap forgot something
5:14 PM
what was your command you used to compile the kernel
Avatar
env GITDIR=$PWD TOOLCHAINDIR=$PWD/toolchain/arm-nickel-linux-gnueabihf/ THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n437 root
5:20 PM
this one I think
Avatar
Avatar
Szybet
mount partition number 3 and 4 of the sd card
sdd 8:48 1 59,5G 0 disk ├─sdd1 8:49 1 24M 0 part /run/media/dominiac/boot ├─sdd2 8:50 1 500M 0 part /run/media/dominiac/recoveryfs ├─sdd3 8:51 1 128M 0 part /run/media/dominiac/rootfs └─sdd4 8:52 1 3G 0 part /run/media/dominiac/user /rootfs and user right?
Avatar
Avatar
Dominiac
env GITDIR=$PWD TOOLCHAINDIR=$PWD/toolchain/arm-nickel-linux-gnueabihf/ THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n437 root
ok fine
Avatar
Avatar
Dominiac
sdd 8:48 1 59,5G 0 disk ├─sdd1 8:49 1 24M 0 part /run/media/dominiac/boot ├─sdd2 8:50 1 500M 0 part /run/media/dominiac/recoveryfs ├─sdd3 8:51 1 128M 0 part /run/media/dominiac/rootfs └─sdd4 8:52 1 3G 0 part /run/media/dominiac/user /rootfs and user right?
seems fine?
5:26 PM
now show me the content of every
5:26 PM
partition
Avatar
boot:  flags  lost+found
5:29 PM
recoveryfs:  lost+found  overlaymount-rootfs.squashfs.dgst  recoveryfs.squashfs.dgst  overlaymount-rootfs.squashfs  recoveryfs.squashfs
5:30 PM
rootfs:  lost+found  overlaymount-rootfs.squashfs.dgst  rootfs.squashfs  overlaymount-rootfs.squashfs  rootfs  rootfs.squashfs.dgst
5:31 PM
user:  config  gui_rootfs  gui_rootfs.isa.dgst  onboard  update  dhcpcd_duid  gui_rootfs.isa  lost+found  tmpfs  X11
Avatar
do you already see things to replace 😉 ?
Avatar
user: gui_rootfs.isa.dgst and gui_rootfs.isa rootfs: rootfs.squashfs and rootfs.squashfs.dgst
5:35 PM
is it?
Avatar
...ok
5:42 PM
I think I did it
Avatar
well be sure
5:43 PM
now in gui-bundle dir navigate to out folder, find update.isa and copy the file to partition 4 update fir ( in this dir should be a file, overwrite it ) (edited)
Avatar
ook
5:45 PM
its done
Avatar
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872
5:46 PM
run this on your sd card
Avatar
╰─ sudo echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 ─╯ dd: failed to open '/dev/mmcblk0': Permission denied
5:50 PM
╰─ sudo echo rooted | dd of=/dev/sdd bs=512 seek=79872 ─╯ dd: failed to open '/dev/sdd': Permission denied
Avatar
execute as root
Avatar
echo rooted | sudo dd of=/dev/sdd bs=512 seek=79872
5:53 PM
there it worked
5:53 PM
hehe
Avatar
ok good
5:53 PM
did i forgot something
5:53 PM
you replaced gui-rootfs too?
Avatar
yes
Avatar
type sync 3 times in terminal
5:54 PM
then unmount every partition safely
5:55 PM
plug the sd card to the ereader
5:55 PM
stop
5:55 PM
actually
Avatar
Avatar
Dominiac
recoveryfs:  lost+found  overlaymount-rootfs.squashfs.dgst  recoveryfs.squashfs.dgst  overlaymount-rootfs.squashfs  recoveryfs.squashfs
move to your pc ( remove on sd card ) files associated with overlaymount-rootfs, recovery
Avatar
Avatar
Szybet
type sync 3 times in terminal
and then do this
Avatar
Avatar
Szybet
move to your pc ( remove on sd card ) files associated with overlaymount-rootfs, recovery
I remove from sd card?
Avatar
yes. but have a copy of those files on pc
Avatar
roger
Avatar
Avatar
Szybet
type sync 3 times in terminal
what does that do?
6:02 PM
like sync and ender 3 times or like sync sync sync?
Avatar
Synchronize your cache data to the permanent memory with sync. Read this tutorial to learn how to use the Linux sync command with examples.
Avatar
Avatar
Dominiac
like sync and ender 3 times or like sync sync sync?
sync sync sync
Avatar
oh hell yha
6:07 PM
its booting
Avatar
stop celebrating
Avatar
yep
Avatar
it will be a miracle if it boots to GUI
Avatar
error message
6:07 PM
:[
6:07 PM
show
Avatar
Avatar
Dominiac
user: gui_rootfs.isa.dgst and gui_rootfs.isa rootfs: rootfs.squashfs and rootfs.squashfs.dgst
did you replaced also the dgst for sure?
6:10 PM
and those were signed using the same key pair that you replaced in the kernel?
Avatar
I'm pretty sure but I'll do the procedure again
Avatar
did you replaced them in the kernel correctly?
6:11 PM
like have you overwritten the keys that were there already>
Avatar
in the sd card?
Avatar
no, before compiling kernel in the kernel repo
Avatar
damm maybe not
6:12 PM
do it then
6:12 PM
with the same keys
6:12 PM
then write the kernel as before
6:12 PM
and try again
6:12 PM
compile it again
Avatar
Avatar
Szybet
no, before compiling kernel in the kernel repo
can you explain again the kernel thing
6:18 PM
like the key thing
Avatar
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
reboot once more
Avatar
how much time do I have to press to reboot
6:56 PM
then idk 2 to power it up
Avatar
damm same error
Avatar
are you sure you did that with the same key?
6:58 PM
that you signed rootfs?
Avatar
1s I'll do everyting again
Avatar
You can now check if the squashfs contains your public.pem by mounting it.
6:58 PM
show me
6:59 PM
something is wrong with this line
6:59 PM
show me inside of the squashfs
Avatar
applications-public.pem  kobox-graphic-public.pem  kobox-nographic-public.pem  public.pem
Avatar
check if its your public.pem
7:03 PM
md5sum it
7:03 PM
and the one you use to sign rootfs
Avatar
md5sum public.pem /dir/public.pem -> like that?
Avatar
md5sum <path to file>
Avatar
haa
7:09 PM
they are different
7:09 PM
I'm doing something wrong (edited)
Avatar
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
7:10 PM
look at paths if those are correct
7:10 PM
do it maybe in the same directoryt
Avatar
╰─ sudo unsquashfs kernel/initrd/n437/opt/key.sqsh ─╯ Parallel unsquashfs: Using 16 processors 4 inodes (4 blocks) to write FATAL ERROR: write_file: file squashfs-root/applications-public.pem already exists
7:14 PM
do I delete the file?
7:15 PM
ha wait
7:27 PM
👾
7:28 PM
🧌
7:40 PM
yes?
Avatar
still error nº3
Avatar
is the md5sum now correct the same?
Avatar
7cfcc54db682ae7088eb777734c9b61a public.pem
Avatar
and the second one?
Avatar
7cfcc54db682ae7088eb777734c9b61a /home/build/inkbox/squashfs-root/public.pem
7:42 PM
the same is it?
7:42 PM
alright
7:42 PM
now save the squashfs
7:42 PM
open it check again
7:42 PM
then recompile kernel
7:42 PM
and write it?
Avatar
Avatar
Szybet
now save the squashfs
how do I do that?
7:42 PM
o mean close the /mnt ?
Avatar
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
7:43 PM
i really wonder how many times will i send this link
7:43 PM
7:43 PM
if you dont understand certain commands, google them, ask chatgpt
7:44 PM
just dont try doing things when you are blind
Avatar
alright alright
Avatar
any progress?
Avatar
I took a break
Avatar
will continue +/- 1h
Avatar
ok so error nº3 pretends only to a rootfs.squashfs problem right, therefore ether I'm creating the files wrong or transfering them wrong into the sd card (edited)
Avatar
Well tommorow
12:01 AM
Files wrong
12:02 AM
Error 3 because the rest issint even vhecked
Avatar
kekw
Avatar
Avatar
Szybet
Well tommorow
alright gn
Avatar
Any progress
6:40 PM
nop
Avatar
Are you sure you did the kernel corrwct
Avatar
sudo unsquashfs kernel/initrd/n437/opt/key.sqsh cp /home/build/inkbox/public.pem squashfs_root mksquashfs squashfs-root kernel/initrd/n437/opt/key.sqsh -noappend env GITDIR=$PWD TOOLCHAINDIR=$PWD/toolchain/arm-nickel-linux-gnueabihf/ THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n437 root (edited)
6:51 PM
is there more to do in the kernel?
6:51 PM
did I miss something?
Avatar
How do you write it the sd card
Avatar
sudo dd if=uImage-root of=/dev/sdd bs=512 seek=81920
Avatar
maybe I dont have the libs to compile the kernal properly?
Avatar
Avatar
Dominiac
sudo unsquashfs kernel/initrd/n437/opt/key.sqsh cp /home/build/inkbox/public.pem squashfs_root mksquashfs squashfs-root kernel/initrd/n437/opt/key.sqsh -noappend env GITDIR=$PWD TOOLCHAINDIR=$PWD/toolchain/arm-nickel-linux-gnueabihf/ THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n437 root (edited)
Did you veify the key is correct
Avatar
Avatar
Dominiac
maybe I dont have the libs to compile the kernal properly?
If there sre no errors, then its fins
Avatar
Avatar
Szybet
Did you veify the key is correct
well yes
8:22 PM
I used this command to copy the keys into the sd card:
8:22 PM
sudo cp /home/build/inkbox/rootfs/rootfs.squashfs /run/media/dominiac/rootfs/
8:23 PM
and then the same but for the dgst file as well
8:23 PM
is that correct?
8:34 PM
are ypu sure it overwrittet?
8:34 PM
Check checksums... For everything
8:34 PM
@tux-linux how to replace / overwrite developer key
8:34 PM
😬
8:36 PM
If you check everything with checksums and it doesnt work... Place the original rootfs.squashfs and the dgst for this file on the sd card and check if the error changes
Avatar
Avatar
Szybet
are ypu sure it overwrittet?
yes to make sure, I delete the files in the sd card and then cp them back into it
Avatar
Avatar
Szybet
Check checksums... For everything
thjen this
Avatar
Avatar
Szybet
thjen this
checked they are the same
9:15 PM
what else could it be
Avatar
Avatar
Szybet
If you check everything with checksums and it doesnt work... Place the original rootfs.squashfs and the dgst for this file on the sd card and check if the error changes
.
Avatar
yes thats what I did
9:29 PM
and whats the result
9:29 PM
With the original rootfs
Avatar
the same
Avatar
Then you are using diffrent keys...
9:33 PM
Or something is horribly wrong
9:33 PM
Sign again the rootfs with the same key you coppied to kernel
9:34 PM
I will propably prepare all those files for you
9:34 PM
Tommorow
9:34 PM
🥺
Avatar
hey man... sry for the trouble :sadpepe:
Avatar
Maybe its an issue on my side
9:38 PM
We dont know
9:38 PM
So no need to be sorry
Avatar
its possible it could be something I'm doing
9:38 PM
I'm a bit of a noob
Avatar
Everyone was at some point of time
Avatar
Avatar
Dominiac
maybe I dont have the libs to compile the kernal properly?
are you on debian
3:26 AM
oh well if it boots then it's not debian
Avatar
Avatar
Szybet
@tux-linux how to replace / overwrite developer key
developer key isn't even supposed to be installed
3:28 AM
to check for sure dd if=/dev/mmcblk0 bs=256 skip=159746 count=1 should output 0 for disabled or 1 for enabled if it has never been installed before, it should output nothing
Avatar
Avatar
tux-linux
developer key isn't even supposed to be installed
How to install it
6:49 AM
How to install a fake one
Avatar
Because developer key is the only sollution to this madness
Avatar
Avatar
tux-linux
are you on debian
I'm on manjaro, so arch
Avatar
@Dominiac send me dd if=/dev/mmcblk0 bs=256 count=1 skip=2
Avatar
Avatar
tux-linux
@Dominiac send me dd if=/dev/mmcblk0 bs=256 count=1 skip=2
?...
Avatar
Avatar
tux-linux
@Dominiac send me dd if=/dev/mmcblk0 bs=256 count=1 skip=2
I dont have /dev/mmcblk0
Avatar
Its your sd card
3:50 PM
Main dev block
Avatar
ha I see
3:55 PM
then in my case: dd if=/dev/sdd bs=256 count=1 skip=2 (edited)
3:56 PM
IX8V1fWjY7jruUsmgz8ryzB6Pt45IbKWQjL4kwuQ3rp228xy9kBjtB5FkzAFsLv4SocZVTdBjaUzlHL7ndGm8DcrLtBUQe7Lvz1vvUxad0Znk034bRR0KUMK4KtBHDTzFdD7xWFnr5ezr9zqrWNflgue4GbyyrhCGRJkGaUSsAboZkvRoaYjf1Nryc4l6GgFqoPIHGwrsHdVtKXc5zPvJ8VP47jbZyu0wdj1M7N5IaJCsYw5oqOGsahku2wFgBc51+0 records in 1+0 records out 256 bytes copied, 3,5607e-05 s, 7,2 MB/s (edited)
4:07 PM
What
4:07 PM
@tux-linux
Avatar
@Dominiac
11:55 PM
I hope you didn't gived up
11:55 PM
flash this, replace files, should work for real
11:56 PM
also clean all files in flags folder on partition 1 on the sd card
Avatar
Avatar
Szybet
I hope you didn't gived up
not at all
Avatar
Avatar
Szybet
flash this, replace files, should work for real
will do later at night, rn I'm busy with other stuff :[
Avatar
no worries, i'm going to sleep anyway
11:59 PM
just don't give up, we will figure this out ;p
Avatar
alright, see you tomorrow then 😉
Feoras joined the server. 5/6/2023 12:51 AM
Avatar
Avatar
Feoras
Click to see original message
Avatar
Bonjour
Avatar
Hi there
Avatar
Avatar
Feoras
Click to see original message
Avatar
Avatar
tux-linux
to check for sure dd if=/dev/mmcblk0 bs=256 skip=159746 count=1 should output 0 for disabled or 1 for enabled if it has never been installed before, it should output nothing
Do that actually I was confused
3:22 AM
The other command is to check the UID which is not very relevant for this
Avatar
Avatar
Szybet
move to your pc ( remove on sd card ) files associated with overlaymount-rootfs, recovery
maybe I needed those files? like generating again them or so? (edited)
4:05 AM
gonna continue tomorrow brb
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
Thats progress
9:49 AM
I will upload this file soon
Avatar
Could I just use a second SD card to flash inkbox on that one so that I can just switch the sd cards to freely swap between nickel and inkbox?
Avatar
Of course
10:22 AM
Made a backup of nickel anyway
10:22 AM
Just to be sure
Avatar
true, sd cards are bound to break at some point 😄 (edited)
Avatar
Avatar
Dominiac
maybe I needed those files? like generating again them or so? (edited)
10:39 AM
i uploaded these files
10:39 AM
replace them
10:39 AM
on partition 2 and 3!
10:39 AM
remember that
1:15 PM
Avatar
Good
1:51 PM
well if it works then you can do anything else
1:51 PM
idk what you want now
Avatar
hum
2:25 PM
it apears that the UI doesent fit on my display
2:25 PM
phoyo
Avatar
it cuts abit on the right
Avatar
well you can fix that
2:26 PM
or at least make a github issue
2:27 PM
thats not the waveform you were talking about wasnt it?
2:27 PM
the issue
Avatar
Avatar
Szybet
well you can fix that
add a limit for book name 'length
Avatar
Avatar
Dominiac
thats not the waveform you were talking about wasnt it?
noope
Avatar
it is already there
2:27 PM
but it doesn't always work
Avatar
how did you come to have a book of this name
Avatar
what name
2:28 PM
the 1º one?
2:28 PM
I have no idea about that one
Avatar
Avatar
Szybet
add a limit for book name 'length
its not just the book name tho
Avatar
but its caused by the book
2:29 PM
trust me
Avatar
Avatar
Dominiac
Click to see attachment 🖼️
oh i think it's because capital letters in the second one
2:29 PM
they take up more space in average
2:29 PM
i think
2:30 PM
still clips on a different menu
2:30 PM
see the time
Avatar
click on power icon then restart inkbox
Avatar
dont click reader, send an image of the main menu
Avatar
on it
2:31 PM
waiting for it to restart rn
2:32 PM
yes youre right
2:33 PM
it was because of the book name
2:33 PM
Avatar
hum alright alright
2:36 PM
I see
Avatar
Avatar
Szybet
idk what you want now
now the next step: how do I install your apps 👀
Avatar
what apps
Avatar
dont remember if there was documention about that
Avatar
there are a few
Avatar
If I remember correcly you ported anki into inkbox didnt you? (edited)
2:38 PM
that one I'm particularry intrested
Avatar
yea but its outdated but im doing a complete rewritew of it, 80% is already completed
2:39 PM
I added sessions which will allow to use many decks at the same time
2:39 PM
in a week or less i will release it
2:40 PM
you can try it now if you want, by compiling it by yourself
Avatar
Avatar
Szybet
I added sessions which will allow to use many decks at the same time
+ eink optimisations
Avatar
Avatar
Dominiac
If I remember correcly you ported anki into inkbox didnt you? (edited)
not ported, its more like a small anki, a viewer for the decks ( still usable tho for learning ) (edited)
Avatar
Avatar
Szybet
not ported, its more like a small anki, a viewer for the decks ( still usable tho for learning ) (edited)
ha so a program you made to view the decks made by anki?
2:43 PM
no editing etc
2:43 PM
easier to use ( less functions )
Avatar
in teory it could be ported no? its gui kit is QT
Avatar
eink & touchscreen & speed focused
Avatar
Avatar
Dominiac
in teory it could be ported no? its gui kit is QT
ported to what
Avatar
to inkbox
Avatar
read the description of the project
2:44 PM
:D
2:45 PM
small anki rewritten for e-readers, with focus on inkbox support - GitHub - Szybet/sanki: small anki rewritten for e-readers, with focus on inkbox support
Avatar
Avatar
Szybet
ported to what
I mean anki itself
2:47 PM
anki? hell no maybe
2:47 PM
its written in 3 languages: cpp, python, rust
2:47 PM
python is slow, the main algorithm is written in python so the app would be horribly slow
2:48 PM
and compiling it, with this mix would be awfull
2:48 PM
with problems with anki itself, i decided to write my own app
Avatar
ha I seee I see
2:52 PM
well as long as it has all the features relevant to a ink tablet and it can open anki decks it funtually does the same work (edited)
Avatar
the algorithm to view the decks will be worse
2:53 PM
no schedulling for next days for example
Avatar
Avatar
Szybet
no schedulling for next days for example
yet? 👀
Avatar
not at all, propably long answer: I "pretend" the anki algorithm, it's not perfect, If you have an idea how to add to mine a scheduling way, then sure (edited)
3:39 PM
there will be a way to view cards only that were "hard" to learn
Avatar
I assume the InkBox does not work with calibre right? 😄
Avatar
Only because no one cared
4:01 PM
You can add support
4:02 PM
You can make a github issue, if like 5 people will want it I will add it propably
4:03 PM
The Worst option: You can donate a bit to me / propably not tux linux he isisn't interested and I will add it with no more questions asked (edited)
Avatar
Okay I will think about it, thanks!
Avatar
alright so
7:25 PM
do you have some pointers on how to make a aplication for inkbox?
7:26 PM
I create the application on QTCreator right
7:26 PM
reading this currently
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
7:26 PM
also this
7:26 PM
you can skip the setup part
7:27 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
7:27 PM
this script
7:28 PM
when you connect to inkbox os via ssh, to launch qt apps you need to /chroot /kobo
7:28 PM
any questions, ask
7:28 PM
this is the only server i dont have muted so i will respond
7:28 PM
do you have a background in programming?
7:28 PM
also, what app do you plan to make?
Avatar
Avatar
Szybet
do you have a background in programming?
well yea I'm still learning atm, I know the basic stuff mostly
Avatar
good then
Avatar
Avatar
Szybet
also, what app do you plan to make?
dunno, something simple like a fancy hello world or so. that way I can explore how things work +/- and how to debug stuff
Avatar
okay cool
7:30 PM
you can grab sanki code and play with it
Avatar
lets goo
Avatar
Avatar
Szybet
The Worst option: You can donate a bit to me / propably not tux linux he isisn't interested and I will add it with no more questions asked (edited)
I am not interested, sorry (edited)
8:17 PM
Let's make a working reader before trying to get in this stuff
👍 1
Avatar
quess what i will be doing
Avatar
@Dominiac did you gived up
Avatar
Avatar
Szybet
@Dominiac did you gived up
nop
10:03 PM
any progrewss
Avatar
I have not been able to do much more yet, I have stuff to do for uni :[
10:04 PM
tho I have been playng arround with QT Creator
Avatar
Avatar
Szybet
any progrewss
now that you mention, do you recommend any site to download books?
Avatar
for what purpoose?
Avatar
any purpoose
10:06 PM
the books I downloaded so far makes the reader block
10:06 PM
?
Avatar
I beleave is duo to the images
Avatar
block?
Avatar
yes, it loads the 1º page of the book and then it stays there non responding
Avatar
Avatar
Szybet
for what purpoose?
not sure if its because of the format of the book or not, thats why I'm asking
Avatar
Avatar
Dominiac
yes, it loads the 1º page of the book and then it stays there non responding
um oops
10:08 PM
pdfs should do
10:08 PM
send me those books, i will have a look when i develop the new one
10:08 PM
epubs should do too
Avatar
Avatar
Szybet
epubs should do too
epubs work so far, tho without images
10:09 PM
but pdfs not really
Avatar
are you gonna make another reader?
10:10 PM
why not using a available reader on linux?
10:10 PM
like a very simple one
10:11 PM
or maybe forking a it into inkbox
10:11 PM
is it just easyer to make another one? xd
Avatar
I mean, reusing the gui of the existing one and rewriting the logic to be multi threaded - better - faster
Avatar
Avatar
Dominiac
why not using a available reader on linux?
Its not that simple.....
Avatar
Avatar
Dominiac
why not using a available reader on linux?
kobos often have 512mb of ram or less... ... ... 😉
Avatar
Also, there just aren't any to begin with?
12:20 AM
There's foliate and calibre, basically
12:21 AM
webkit-gtk + vala or webengine + PyQt, choose your poison
Avatar
foliate already looks bad
Avatar
It's ePub.js in webkit-gtk and a vala GUI, IIRC
Avatar
coolreader seems cool (pun not intended but hey here you go) but honestly having to deal with a pixmap instead of characters kinda freaks me out (edited)
Avatar
It might sound weird coming from me given that KOReader uses CRe; but I wouldn't necessarily recommend it
Avatar
Yes, when you explained how it worked I was slightly terrified
Avatar
It has a lot of weird quirks, most or which stems from its history
👍 1
12:24 AM
It's basically a crazy twenty years old russian hack designed for PalmOS (edited)
12:24 AM
It's very cool, mind you, but it's really, really starting to show its age
👍 1
12:25 AM
I have zero experience with any of its official GUIs, though (and I probably wouldn't recommend them anyway)
Avatar
they are fine
12:25 AM
but lack some QoL/GUI nice things
Avatar
Which is why mupdf is a good fallback, it doesn't actually have a GUI, and the API is pretty nice
12:26 AM
Which is perfect for us
Avatar
yes, it is, but sometimes it also bugs out for no reason
12:26 AM
hehe
12:26 AM
great idea
12:27 AM
XD
12:27 AM
anyway, does anyone know a way to sniff a linux process network communication in a readable way? apart from wireshark
Avatar
What's wrong with wireshark? ;o)
12:29 AM
If the traffic is encrypted you're going to have a hard time regardless, as you'll then need extra trickery to break SSL, which usually involves having deep control over part of your network
12:30 AM
networking is not my forte, though
Avatar
I feel like running Foliate with so little ram is not gonna work out
12:14 AM
Foliate is something I use on desktop and I quite like it
hexedlac joined the server. 5/12/2023 9:59 AM
Avatar
Avatar
hexedlac
Click to see original message
Avatar
Avatar
hexedlac
Click to see original message
Avatar
hii ❗
Avatar
Welcome to the InkBox OS community. We're happy to have you here and hope you're settling in nicely. As a new member, we'd love to know a little bit about what brought you to our community. Is there anything in particular you're interested in or looking to learn more about while you're here?
Avatar
Hiya! Not particularely, I'm interested in trying out InkBox down the line and joined in case I faced any issues
Avatar
Avatar
hexedlac
Click to see original message
Avatar
Avatar
hexedlac
Click to see original message
Avatar
Hey @Szybet 👋🏻
5:19 PM
How can I assist you in porting InkBox for Kobo Nia?
Avatar
In porting inkbox to the kobo nia c wariant*
5:57 PM
Grab the kernel anki discovered that has the additionall pmic driver and try to compile it
5:57 PM
Manually
boxcurious joined the server. 5/13/2023 6:29 PM
Avatar
Avatar
boxcurious
Click to see original message
futuresffpcer joined the server. 5/13/2023 6:31 PM
Avatar
Avatar
futuresffpcer
Click to see original message
Avatar
Avatar
futuresffpcer
Click to see original message
futuresffpcer 5/13/2023 6:32 PM
Avatar
Were you here already once?
6:47 PM
Anyway, weldocme
😊 1
Avatar
Avatar
futuresffpcer
Click to see original message
futuresffpcer 5/13/2023 6:47 PM
Avatar
Avatar
boxcurious
Click to see original message
futuresffpcer 5/13/2023 6:47 PM
Avatar
Avatar
Szybet
Were you here already once?
futuresffpcer 5/13/2023 6:47 PM
yeah, i had some technical issues joining the server (edited)
Avatar
Avatar
Szybet
Grab the kernel anki discovered that has the additionall pmic driver and try to compile it
Can you please provide me additional instructions on what I've to do exactly?
1:11 PM
Finding the necessary information after two weeks of messages without a thread-like functionality is pretty hard... maybe you can post the necessary information into the GitHub issue
Avatar
grab the clara 2e source kernel
1:34 PM
somewhere there
1:34 PM
look at the commit in koboreader repo, thee should be a kobo nia related file
1:34 PM
download it
Avatar
@Szybet You might like this http://essentialscrap.com/eink/
12:12 PM
thanks
JohnTheNerd joined the server. 5/16/2023 1:31 AM
Avatar
Hello
Avatar
Hello there
Avatar
Avatar
Szybet
grab the clara 2e source kernel
Contribute to kobolabs/Kobo-Reader development by creating an account on GitHub.
Avatar
propably
6:14 PM
yes
6:14 PM
look arround this file
6:14 PM
@andi any directions?
Avatar
there is some near-mainline thing around
6:16 PM
for that one
Avatar
so?...
Avatar
Last status was: "I will send you a pull request soon..." and silence
Avatar
uhm crap
6:18 PM
so about that nia kernel things in the clara sources, where?...
6:18 PM
there was something, you discovered it?
Avatar
I will ping that guy
6:19 PM
thanks
Avatar
there is: arch/arm/boot/dts/imx6ull-e60u22b00.dts
6:20 PM
and that looks like the devicetree of that thing
6:20 PM
and the drivers seems to be there
6:20 PM
of that nia new edition thing
Avatar
Avatar
andi
and that looks like the devicetree of that thing
so there is a diffrent one? its propably not compatible?
Avatar
at least two devicetrees needed for the different nias
6:22 PM
imx6sll-e60k02c00* is probably for the clara2e
Avatar
i had hopes it was compatible, only the driver was missing
Avatar
kobo seems to have switched the factory kernel of the old nias also to something newer supporting also the other pmic
Avatar
Avatar
andi
and the drivers seems to be there
only drivers, not the whole kernel?
Avatar
that is what you need
Avatar
Avatar
andi
kobo seems to have switched the factory kernel of the old nias also to something newer supporting also the other pmic
from analysis of Kuratius' nickel dmesg output
Avatar
so nickel is running on a newer one? cool...
Avatar
Avatar
andi
that is what you need
to patch up the old nia kernel?
Avatar
well, most important thing is that the kernel has the drivers needed
6:27 PM
and if the devicetree says that there is the corresponding hardware, the drivers are then used
6:28 PM
well, newer kernel= also some defaced 4.1.15 kernel
6:29 PM
apparently kobo/netronix backported the pmic (bd-something) driver for libra2e/nia rev b/c from mainline to their old kernel
Avatar
well okay
Avatar
Avatar
Szybet
to patch up the old nia kernel?
how to do that then
Avatar
probably just compile the clara2e kernel
Avatar
????????????????????
Avatar
and put it on the nia
6:31 PM
the only important thing is that you put the right devicetree onto the sd card
Avatar
device tree is the thing you wrote a tool to export?
6:33 PM
well, the tool exports all the hidden partion stuff
6:33 PM
devicetree: in source form that are the .dts files in the kernel source
6:33 PM
in binary: some dtb files
Avatar
it isin't just dd the file right? how to convert it to binary?
Avatar
make CROSS_COMPILE=...... ARCH=arm dtbs
6:34 PM
in the kernel tree
Avatar
and then dd it?
Avatar
usually store it in a file accessible by the bootloader
6:35 PM
in the case for that ntx bootloader: prepend a header
6:36 PM
and do the dd
Avatar
we will figure this out or ask later, thanks
Avatar
Avatar
andi
probably just compile the clara2e kernel
this sounds a bit insane, so the kernels are the same for those devices?
Avatar
I really would think so
Avatar
I'm completely lost, guys 😬
Avatar
Avatar
mu88
I'm completely lost, guys 😬
me too bro
Avatar
well, in the ideal world, you would publish one kernel git repo supporting all devices
Avatar
i know
Avatar
and for new, similar devices, you would just add the devicetree
6:42 PM
what I see here from ntx/kobo: they seem to have one 3.0.35 code base and one 4.1.15 code base
6:43 PM
and add support for different devices to it
Avatar
Yeah, never ever assume the sources on their github are up to date (edited)
6:43 PM
They're not
6:43 PM
Nickel is almost always running a newer build
Avatar
Avatar
NiLuJe
Yeah, never ever assume the sources on their github are up to date (edited)
we know that
Avatar
and publish some snapshots
Avatar
Avatar
Szybet
download this, and try to compile
How do I compile it? What tools do I need?
Avatar
so if there is a devicetree for a new device
6:44 PM
and the drivers
6:44 PM
i would expect the device to be supported
Avatar
Avatar
mu88
How do I compile it? What tools do I need?
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
thats not jesus
6:46 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
6:46 PM
thats jesus
Avatar
Maybe it's easier to send you my Kobo ^^
6:47 PM
just try
6:48 PM
i hope you are joking
😄 1
6:48 PM
xD
Avatar
ricoh,rc5t619 -> rohm,bd71828     ti,tps6518x -> silergy,sy7636     realtek,rtl8189fs -> marvell,sd8987-bt     lm3630a-bl -> awinic,aw99703-bl     cy,cyttsp5_i2c_adapter -> focaltech,fts5422
6:50 PM
short list of the hw changes
6:50 PM
between clara and clara 2e
Avatar
Avatar
Szybet
i hope you are joking
80% joke, 20% serious 😉
6:53 PM
Just for my understanding: why do I have to use the Clara kernel for my Nia? Because the assumption is that Clara is the newer one and therefore fits for my Nia as well?
Avatar
yea, @andi how
Avatar
Avatar
mu88
Just for my understanding: why do I have to use the Clara kernel for my Nia? Because the assumption is that Clara is the newer one and therefore fits for my Nia as well?
but propably yes
Avatar
It's basically the same device, but the kernel snapshot is newer and ensures it actually has the dtb for yours, or at the very least the drivers for the newer hardware ;o) (edited)
Avatar
well, they did not publish newer nia sources
Avatar
Unlike the original Nia's drop
6:54 PM
TL;DR
Avatar
so for a first try you can also just keep the factory dtb in place
Avatar
And, yeah, dumping the dtb from your live device first might be a good idea (edited)
Avatar
and recompile just the kernel
Avatar
dtb means?
Avatar
In case it's not actually there or still out of date in the source drop
Avatar
devicetree binary
Avatar
(I ship the devicetree tools in KoboStuff, in case something funky is needed to dump from a live system. Can't recall, been a while)
Avatar
So from the manual, the very only chapter I should follow is https://github.com/Szybet/niAudio/blob/main/inkbox.md#kernel?
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
extract-kobohidden nia2-bkup.img 1286 nia2-factory.dtb (edited)
6:58 PM
extracts firmware from hidden partitions on Kobo/Tolino ebook readers - GitHub - akemnade/kobo-firmware-extractor: extracts firmware from hidden partitions on Kobo/Tolino ebook readers
Avatar
Short story long 😁 I was looking for an E-Ink device to display my openHAB dashboard. After discovering InkBox, I bought a refurbished Nia and hoped that InkBox would suffice my needs with some kind of "easy going approach" - but now it's getting a little out of control 😜 just too much low-level stuff for me... do you see any other approach?
7:11 PM
For example I could imagine to swap my Nia for another InkBox device that suffices my needs and donate my fresh Nia to your project...
Avatar
well, if it is not about reading ebooks anymore, than maybe even something other than inkbox might fit
7:13 PM
there is some project with haslate and the Kobo Clara
7:13 PM
I think
7:13 PM
HAslate - E-ink Home Assistant Dashboard. Contribute to kevinior/haslate development by creating an account on GitHub.
Avatar
Avatar
mu88
For example I could imagine to swap my Nia for another InkBox device that suffices my needs and donate my fresh Nia to your project...
if you can afford it, we would be grateful
Avatar
Avatar
mu88
Short story long 😁 I was looking for an E-Ink device to display my openHAB dashboard. After discovering InkBox, I bought a refurbished Nia and hoped that InkBox would suffice my needs with some kind of "easy going approach" - but now it's getting a little out of control 😜 just too much low-level stuff for me... do you see any other approach?
andi is working on a port of postmarketOS and I'm helping with logs and testing
7:16 PM
it has a build script, but the only things we have working atm are booting, ssh, and screen is half-working
7:16 PM
but it's technically a more normal distro, so it may be easier to make software for (edited)
Avatar
Avatar
Kuratius
but it's technically a more normal distro, so it may be easier to make software for (edited)
Avatar
Do you have an older Kobo that successfully works with the latest version of InkBox? I really don't care about reading ebooks or the latest hardware - I only need a more or less modern browser on an E-Ink device being always on
Avatar
Avatar
Szybet
Click to see attachment 🖼️
I can run binaries 😄
Avatar
Avatar
Kuratius
I can run binaries 😄
inkbox is more... eink optimised
7:17 PM
qt for sure
Avatar
Avatar
mu88
Do you have an older Kobo that successfully works with the latest version of InkBox? I really don't care about reading ebooks or the latest hardware - I only need a more or less modern browser on an E-Ink device being always on
kobo clara with @andi postmarket os, then a decent browser may work for sure
7:18 PM
inkbox has an old browser
Avatar
Depends on how usable you want that browser to be
7:19 PM
Spoiler alert: it'll never be on those devices (edited)
Avatar
for clarification: postmarketOS on Nia is work-in-progress postmarketOS on Clara is working fully afaik
Avatar
But, yeah, if you want a tried and true Kobo device for homebrews, the Clara HD is your best bet
7:20 PM
A browser will suck donkey balls on it, though
Avatar
The browser would need to render a Vue.js web page, no big deal
Avatar
javascript is a big deal
7:21 PM
but propably can be done
Avatar
there's also some embedded browser stuff that servo is getting used for, but I'm fuzzy on the details
7:21 PM
I think igalia did work in that direction
Avatar
servo, the rust browser?
Avatar
there's also some other embedded browser framework, but I tcant remember the name
Avatar
Yeah, I was going to say it might be easier to render to canvas and do stuff with that or... something (I suck at web techs ;D)
Avatar
Avatar
Szybet
servo, the rust browser?
yeah, I read something about igalia using it for their embedded project thingy
Avatar
servo rendered the fancy github page last time i checked, but it was buggy, no interactions possible
Avatar
The globe one on the signed out landing page?
Avatar
Oh, me likey.
Avatar
Could anyone from you guys who has an up and running InkBox device try to access an openHAB page via the InkBox browser? This way I'd know at least whether I should continue going with InkBox or not...
7:28 PM
give me a sec
Avatar
WPE WebKit is being adopted in a wide range of industries, from cable operators to consumer electronic device manufacturers, with tens of millions of devices using it worldwide. Igalia can help you get the maximum performance out of your hardware by optimizing WPE WebKit for your needs.
7:28 PM
this is igalia's current project, I think it doesnt use servo
Avatar
webkit is outdated as hell
Avatar
I see
Avatar
hmm, what does this haslate thing use?
Avatar
can you send the link to this website?
Avatar
@mu88
7:34 PM
pmOS with browser on the clara
7:36 PM
history on that: someone took my kernel and did the initial pmOS
7:36 PM
port
7:36 PM
before I have taken over that port
Avatar
Avatar
Szybet
can you send the link to this website?
HAslate - E-ink Home Assistant Dashboard. Contribute to kevinior/haslate development by creating an account on GitHub.
Avatar
nope, the vue one
Avatar
vue?
7:41 PM
he was talking about
Avatar
Avatar
mu88
The browser would need to render a Vue.js web page, no big deal
link
Avatar
I think the easiest way is to spawn openHAB via Docker: https://www.openhab.org/docs/installation/docker.html
a vendor and technology agnostic open source automation software for your home
Avatar
any easier way?
8:08 PM
isint there a public demo?
8:08 PM
or smth
Avatar
demo.openhab.org
8:26 PM
seems to work with midori
8:26 PM
and I use midori on the clara
Avatar
if it works on midori, you can be pretty much sure @mu88
9:27 PM
we also have netsurf
Avatar
I really, really hate all those wifi login pages which require some decent browser
10:03 PM
when you just want to check your mails
Avatar
seems not to work with netsurf
10:38 PM
are there any bare browsers based on khtml only?
Avatar
Avatar
Szybet
are there any bare browsers based on khtml only?
Qt Webkit. Contribute to qt/qtwebkit development by creating an account on GitHub.
Avatar
doesnt work, too old kernels
11:04 AM
nickel also didnt used this, for the same reason
Avatar
Avatar
Szybet
if it works on midori, you can be pretty much sure @mu88
Thx, I really appreciate it! I assume Midori is InkBox' default browser?
Avatar
not default, but its available
Avatar
Cool. So would any of you be willing to trade your Kobo running the latest InkBox with mine?
Avatar
doubt it
Avatar
For example, what would it take to persuade you?
Avatar
nothing
7:01 PM
i need my ereader
7:02 PM
i write notes on it in school
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
👏🏻 1
Avatar
Looks like InkBox is a dead end with my current Kobo... Do you have any other ideas?
Avatar
FrameBuffer eInker, a small tool &amp; library to print text &amp; images to an eInk Linux framebuffer - GitHub - NiLuJe/FBInk: FrameBuffer eInker, a small tool &amp; library to print t...
Avatar
try and learn the things needed to port it... buy a new kobo None ideas (edited)
Avatar
dont you think porting inkbox is easier than writing an entire website in bare fbink?...
Avatar
does it really need to be a website`?
7:22 PM
he just wants a dashboard right?
Avatar
i dont think its that simple but yea, maybe
Avatar
I want a browser 😅 really only a more or less decent browser
Avatar
either learn and try to port it or use money
7:40 PM
no other ways, really
Avatar
@Kuratius @andi could you please try to run demo.openhab.org on postmarketOS? Maybe it's better for me to wait for the Kobo Nia's version of postmarketOS...
Avatar
andi1 already did
Avatar
Ah yeah, I see... so maybe I'm going to wait
Avatar
@mu88 if you want that thing so bad, run an Xvfb server in a remote computer and access it with a vnc viewer on kobo. Then you can run firefox in the xvfb server (i.e. DISPLAY=:1 firefox probably) and access it that way
Avatar
Avatar
mu88
@Kuratius @andi could you please try to run demo.openhab.org on postmarketOS? Maybe it's better for me to wait for the Kobo Nia's version of postmarketOS...
with 256mb of ram, even postmarketos won't probably be able to load that website without crashing
1:19 AM
though I'm not sure that one supports touch yet (edited)
Avatar
OH I KNOW
1:30 AM
Browservice: Browse the modern web on historical browsers - GitHub - ttalvitie/browservice: Browservice: Browse the modern web on historical browsers
1:30 AM
try to get this to run in the kobo browser
1:30 AM
maybe
1:30 AM
it could work
1:30 AM
can load youtube on imac g3
Avatar
Another solution is to get an alpine chroot and try to run chromium inside
6:04 AM
Which is relatively easy on kindles because the steps have been documented
Avatar
Avatar
Apricot
Another solution is to get an alpine chroot and try to run chromium inside
Bro
7:32 AM
Ram
7:32 AM
No ram
7:32 AM
🥴
Avatar
(on a Nia. Other Kobo devices usually have 512MB, which is slightly less worse)
7:37 PM
Caveat for sunxi devices, where the display driver reserves an hilarious amount of memory (on the upside, the Elipsa has 1G of RAM) (edited)
Avatar
Avatar
NiLuJe
Caveat for sunxi devices, where the display driver reserves an hilarious amount of memory (on the upside, the Elipsa has 1G of RAM) (edited)
How much
Avatar
Avatar
NiLuJe
(on a Nia. Other Kobo devices usually have 512MB, which is slightly less worse)
Yes Older devices are often stuck with 256m though Glo HD is a notable exception
Avatar
Avatar
tux-linux
How much
Something like 192MB or something? I'd have to check, but it's hilarious.
🥴 1
5:15 PM
North of 150MB for sure
Kitkat / Szybet ( sometimes ) joined the server. 5/21/2023 6:46 PM
Avatar
hello?
Avatar
Kitkat / Szybet ( sometimes ) 5/21/2023 6:47 PM
hello
Avatar
welcome to inkbox os community
Avatar
Avatar
Kitkat / Szybet ( sometimes )
Click to see original message
Avatar
Avatar
Dominiac
Click to see original message
YOU
6:52 PM
how its going
6:52 PM
with qt
6:53 PM
listen, I have a C project to do for uni
Avatar
i do understand
Avatar
when its finished I'll start messing more with it
Avatar
Avatar
Szybet
i do understand
just a heads up, I'm not giving up
6:54 PM
I'm slow thats all
6:54 PM
kek
6:55 PM
we are waiting
👍 1
Avatar
@andi for that kobo nia c: how sure are you the clara kernel would work? and the current kernel booted into recovery - eink and touch work - does this indicate that it would work with the stock one?
3:08 PM
the current kernel booted into this recovery - with the same dtb as the regular nia - this should be a disaster, but it wasn't? what is your opinion on that?
Avatar
I am quite sure that the clara2e kernel should work
5:12 PM
well, looking at the dtbs, it seems that boot state of regulators is good enough to have something working
5:12 PM
what definitively will not work is rtc, proper poweroff/reboot and displaying battery state
Avatar
Avatar
andi
I am quite sure that the clara2e kernel should work
how much sure... i have access to this c variant, i will try to port it
5:13 PM
i dont want magic smoke
Avatar
magic smoke by wrong kernel... probably less risk than any other accident that could happen
Avatar
just make sure you use the factory devicetree
Avatar
what about regulator voltages? they are set in the kernel right?
Avatar
0ut of curiosity, where did you get the c type nia?
Avatar
someone got it and i have access to it and the person wants inkbox (edited)
8:39 PM
¯\_(ツ)_/¯
Avatar
regulator voltages are in the devicetree
Avatar
you say this now?
8:41 PM
i thought its kernel dependent, so a wrong kernel would damage the device
Avatar
Well, the kernel needs to have the driver for the regulator
8:43 PM
and the format of that devicetree section must match the expectation of the kernel
Angel lopez joined the server. 5/26/2023 11:15 AM
11:16 AM
🥴
Gus joined the server. 5/26/2023 11:26 AM
Avatar
bots bots bots?
11:26 AM
well you propably not
Avatar
hello both!
Avatar
Avatar
Szybet
in a week or less i will release it
3 weeks @Dominiac sanki is out if you still care
Avatar
Avatar
Szybet
3 weeks @Dominiac sanki is out if you still care
Avatar
small anki rewritten for e-readers, with focus on inkbox support - GitHub - Szybet/sanki: small anki rewritten for e-readers, with focus on inkbox support
6:19 PM
there is a demo too
Avatar
yes, I just saw it
6:25 PM
thats good stuff man
Avatar
thanks
Avatar
btw what language is that on the demo? (edited)
Avatar
cursed polish
6:26 PM
don't try to translate
Avatar
kekw
Avatar
unrelated question: do you guys use vim/emacs?
Avatar
I'm insane sometimes but not in that direction :D
Avatar
I see I see
6:39 PM
I'll try vim eventualy I think its a very good investment
6:41 PM
i even posted it on this ugly forum
6:41 PM
i wonder if i will be banned if i mention that it's ugly in every possible post (edited)
eidoom joined the server. 5/30/2023 9:09 AM
Avatar
Welcome
Avatar
Thank you 🙂 I was checking the status of Clara HD, I see it's not ready yet. Also huge thank you to everyone working on InkBox!
Avatar
It's not ready because everyone gived up
9:27 AM
Like 10 people already
9:27 AM
😄😞
Avatar
Avatar
eidoom
Thank you 🙂 I was checking the status of Clara HD, I see it's not ready yet. Also huge thank you to everyone working on InkBox!
Any support is appreciated😉
Avatar
Oh no! 😭
Avatar
Yep, sad
9:28 AM
It's not even that hard to do it, compared to other devices
bompo joined the server. 5/30/2023 7:15 PM
Avatar
Avatar
bompo
Click to see original message
7:22 PM
Welcome
Avatar
Avatar
bompo
Click to see original message
Avatar
Avatar
Szybet
Like 10 people already
20?
12:55 AM
hello both
1:45 AM
Seems neat
1:46 AM
Pico that can run a more normal Linux kernel (edited)
Avatar
just curious, but has anyone tracked inkbox ram usage? (edited)
Avatar
Cant remember, very low
Avatar
non-zero chance it'd run on this if it can fit in 50-60MB
Avatar
Arround 40 MB? Maybe lower or more?
5:30 PM
Welp yea
5:30 PM
Books would be slow
Avatar
Avatar
Szybet
Books would be slow
first open or subsequent ones too?
Avatar
With the current reader - maybe even impossible ( it loads everything at once )
Avatar
so probably requires somewhere between small to large architectural changes
5:32 PM
also I suddenly wonder if plato has that issue too
Avatar
Avatar
Kuratius
non-zero chance it'd run on this if it can fit in 50-60MB
If i ever got time and the resources to build an proper open source ereader, i would go with something like the pi 0 W
Avatar
Avatar
Kuratius
so probably requires somewhere between small to large architectural changes
Yes - but i already made a small demo / the beggining of the new ereader which is multi threaded, loads pages on request - works really fast too
Avatar
mango pi is a riscv pi 0 zero clone I think but it's like $20-$50 depending on where you buy it
Avatar
I bought one of these yesterday (will arrive in a few weeks), if there's anything you want me to test let me know
Avatar
Avatar
Kuratius
mango pi is a riscv pi 0 zero clone I think but it's like $20-$50 depending on where you buy it
pi zeros and pis in general are somewhat hard to get atm
Avatar
Welp does alpine work on it
Avatar
Avatar
Szybet
Welp does alpine work on it
I'll see if I can test that, but I think atm it still requires a special linux kernel
5:36 PM
will have to look into it
5:37 PM
(this applies to the Ox64, mango pi probably doesnt have issues)
5:37 PM
but I think it's too expensive atm
5:40 PM
I had remembered it being slower
5:41 PM
Avatar
Avatar
Kuratius
I'll see if I can test that, but I think atm it still requires a special linux kernel
Avatar
We have done it
🎉 1
7:43 PM
images should roll out in the following week
7:44 PM
after last-minute testing
Avatar
no images no video - preview no testing
Avatar
to come
lshevick joined the server. 6/12/2023 6:41 PM
Avatar
Hello
Avatar
Hello! Just installed InkBox on my Mini, looking forwards to 2.0!
👍 2
Avatar
Welcome, Its almost done
😍 1
7:54 PM
🥳
Deleted User joined the server. 6/12/2023 9:00 PM
Avatar
hello again?
Avatar
Deleted User 6/12/2023 9:00 PM
Haha sorry for that confusion, didn't realize I had joined with the wrong account
👍 1
Avatar
An ESP32 e-reader. Contribute to atomic14/diy-esp32-epub-reader development by creating an account on GitHub.
9:13 PM
seems interesting
9:15 PM
they solved displaying epubs on esp32 to a degree
Deleted User joined the server. 6/15/2023 12:46 PM
Avatar
Avatar
Deleted User
Click to see original message
Avatar
Hello!
👋 1
Avatar
Deleted User 6/15/2023 1:01 PM
I come with a question.. Back in 2014 I was playing with my kobo Mini and installed the debian image on it. (The one from Marek Gibek) I'm unable to do it again because I don't have that old sdcard, I gave the Mini away. It was given back to me just today. The Mini image of Debian is long gone from the sites... And the year is no longer 2014, there are newer software solutions. I have a funny objective: To run discord on the Mini. Don't ask why. It has wifi. Can Kobox do that? From what I gathered, Inkbox on the Mini contains Kobox apps and the Mini can run Inkbox. I was thinking the web version of Discord could be possible? Or am I just crazy for wanting to try that...
1:41 PM
yes, a bit crazy trying to run javascript enabled browser on 255 Mb ram
1:41 PM
anyway
1:42 PM
give me a sec
1:44 PM
@dev
1:44 PM
#dev
Avatar
Avatar
Deleted User
I come with a question.. Back in 2014 I was playing with my kobo Mini and installed the debian image on it. (The one from Marek Gibek) I'm unable to do it again because I don't have that old sdcard, I gave the Mini away. It was given back to me just today. The Mini image of Debian is long gone from the sites... And the year is no longer 2014, there are newer software solutions. I have a funny objective: To run discord on the Mini. Don't ask why. It has wifi. Can Kobox do that? From what I gathered, Inkbox on the Mini contains Kobox apps and the Mini can run Inkbox. I was thinking the web version of Discord could be possible? Or am I just crazy for wanting to try that...
Mini is too weak for this You'd need at least 512m of RAM
1:48 PM
It will crash continuously
Avatar
Deleted User 6/15/2023 1:48 PM
Good to know, thank you
Avatar
so vnc is the only option then
Avatar
Yes
Avatar
Avatar
Deleted User
I come with a question.. Back in 2014 I was playing with my kobo Mini and installed the debian image on it. (The one from Marek Gibek) I'm unable to do it again because I don't have that old sdcard, I gave the Mini away. It was given back to me just today. The Mini image of Debian is long gone from the sites... And the year is no longer 2014, there are newer software solutions. I have a funny objective: To run discord on the Mini. Don't ask why. It has wifi. Can Kobox do that? From what I gathered, Inkbox on the Mini contains Kobox apps and the Mini can run Inkbox. I was thinking the web version of Discord could be possible? Or am I just crazy for wanting to try that...
Run a matrix or irc client with a discord mirror, or one of the alternate discord clients if you can get them to work
2:05 PM
Don't use web tech
2:05 PM
It'll be an awful experience if you do anything other than screen mirroring
Avatar
Deleted User 6/15/2023 3:25 PM
I have no idea which channel to use for this, but well. If I was to buy a new e-reader with this in mind (being able to use discord in either its web or app form, after installing different OS) Is there any that is powerful enough/could do it? It seems very specific, but I'm essentially trying to turn an e-reader into a tablet with limited options.
Avatar
there are costly eink android tablets
Avatar
Avatar
Deleted User
I have no idea which channel to use for this, but well. If I was to buy a new e-reader with this in mind (being able to use discord in either its web or app form, after installing different OS) Is there any that is powerful enough/could do it? It seems very specific, but I'm essentially trying to turn an e-reader into a tablet with limited options.
apart from that, @tux-linux what kobo device is the most powerfull hardware wise
Avatar
Glo hd
3:29 PM
Or Libra
3:29 PM
That can run InkBox
Avatar
Avatar
Deleted User
I have no idea which channel to use for this, but well. If I was to buy a new e-reader with this in mind (being able to use discord in either its web or app form, after installing different OS) Is there any that is powerful enough/could do it? It seems very specific, but I'm essentially trying to turn an e-reader into a tablet with limited options.
Buy an ereader or tablet that runs android
3:32 PM
Otherwise you will have constant headaches because ereaders are usually not running android. Using more optimized software and apps means better battery life, that's why android isn't that popular for ereaders. (edited)
3:35 PM
Lenovo smart paper, boox, etc run android
3:36 PM
Though you should not bank on it being possible to install a different OS
3:37 PM
Lenovo Smart paper has a chance of that since I heard it uses similar hardware as the pineNote thingy, but that one doesn't have a usable non-android os yet
Avatar
Avatar
Kuratius
Otherwise you will have constant headaches because ereaders are usually not running android. Using more optimized software and apps means better battery life, that's why android isn't that popular for ereaders. (edited)
Also worth mentioning, discord is not optimized software
3:42 PM
It's based on electron, lags like hell, and it's a buggy pos in general. I've had times where it mixed messages from different servers and people, and confused who the sender was
3:43 PM
The more you can get away from anything Web tech based, the less you have to buy new hardware in the future
Avatar
Deleted User 6/15/2023 3:48 PM
Thank you for the extensive answer. I'm looking up the ones you mentioned..
Avatar
scratch that, tolino vision 6 runs android, libra 2 doesnt I thought there was a kobo with android too, will check (edited)
3:56 PM
guess there isnt
3:57 PM
(also dont take this table at face value, the person who made it doesnt really know what they're doing)
3:58 PM
they still havent fixed kobo readers having an sd card slot
3:58 PM
still says no slot
Avatar
Deleted User 6/15/2023 9:41 PM
So I decided to purchase an android e-reader. I guess that's the end of this - since I won't be using kobox or inkbox, there is no reason to stay here. Thank all of you for all the help! I would be bashing against the glass of incompatibility like a moth if not for you xD
👍 1
Avatar
I use a boox note 2 air plus, works quite good
9:41 PM
expensive though
Avatar
Deleted User 6/15/2023 9:46 PM
I chose boox tab ultra c, which is very expensive but since I am searching for a device to use instead of computer and I have savings, it seemed appropriate. Anyway. Good luck!
👍 1
klöjöjölkö joined the server. 6/18/2023 11:07 AM
Avatar
welcome you
Avatar
Avatar
klöjöjölkö
Click to see original message
klöjöjölkö 6/18/2023 11:08 AM
Avatar
Avatar
Kuratius
Also worth mentioning, discord is not optimized software
11:40 AM
Discord, ladies amd gentlemen
11:41 AM
Spot the difference
11:41 AM
order
11:41 AM
lol
Avatar
Who wrote what?
11:42 AM
Discord is a buggy POS
Avatar
do we move to matrix
11:42 AM
or better
11:43 AM
bother @tux-linux to give me permissions and i will set up a bridge
Avatar
look at this then look at the date 16/09/2022 (edited)
6:32 AM
🥴
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
Seems to imply 3x voltage=1/3 refresh time
12:22 PM
15V 720 ms 5V 240ms Exactly as I predicted
12:22 PM
1:43 PM
basically the same formula that I derived (edited)
1:44 PM
only difference is instead of q they have epsilon zeta
1:46 PM
also I think I know what may have happened with the display tux ruined with a wrong waveform
1:47 PM
the patent says that it can happen that the particles stick together and form clumps
1:47 PM
so if you drive the display in the same direction for too long you probably get clumps at the electrode as the particles bunch up and don't repel each other
Avatar
So too high voltage? So it would be possible to create a waveform that would be maybe not great, but wouldnt damage the screen?
Avatar
kindle touch has that
Avatar
I think it's partially voltage and partially not applying that voltage when a pixel is already black. Like, you can apply a higher voltage for a short time if the pixel is white and you are trying to drive it black
Avatar
Avatar
tux-linux
kindle touch has that
you mean the waveform?
2:06 PM
sorry context is not clear
Avatar
Avatar
Szybet
So too high voltage? So it would be possible to create a waveform that would be maybe not great, but wouldnt damage the screen?
I'd say that's probably correct, you have more freedom to play around with the waveform if you use a slower refresh/lower voltage
2:08 PM
but still eink burn in/damage is something I've not heard about in a long time
Avatar
Avatar
Kuratius
you mean the waveform?
yes it has a 'default' waveform with a lot of imperfections but that is embedded in kernel code to work with any device
Avatar
so maybe modern displays have safeguards or better engineered microparticles that dont bunch up easily, or "unclump" after a while
Avatar
I'm looking at the mechanism that gives the particles charge atm
Avatar
there's two arrays, are they for black->white and white->black refreshes?
Avatar
No, I think they are alternative formats
2:12 PM
Convert electronic paper display waveforms from .wbf to .wrf format - GitHub - fread-ink/inkwave: Convert electronic paper display waveforms from .wbf to .wrf format
Avatar
interesting (edited)
tux-linux pinned a message to this channel. 6/19/2023 3:16 PM
Avatar
Woah cool
3:16 PM
Maybe create a thread with all these things
Avatar
Electrophoresis is a class of separation techniques in which we separate analytes by their ability to move through a conductive medium—usually an aqueous buffer—in response to an applied …
Kuratius started a thread. 6/19/2023 5:35 PM
Avatar
also: found the driver used for the eink badger 2040 https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/modules/picographics/picographics.cpp } else if (display == DISPLAY_INKY_PACK) { self->display = m_new_class(UC8151, width, height, (Rotation)rotate, spi_bus); https://github.com/pimoroni/pimoroni-pico/blob/main/drivers/uc8151/uc8151.cpp
Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython. - pimoroni-pico/micropython/modules/picographics/picographics.cpp at main · pimoroni/pimoroni-pico
Libraries and examples to support Pimoroni Pico add-ons in C++ and MicroPython. - pimoroni-pico/drivers/uc8151/uc8151.cpp at main · pimoroni/pimoroni-pico
11:02 PM
I hope it's possible to force it to produce grayscale
11:02 PM
would be cool
11:15 PM
it has 1 more refresh speed than the original implementation
11:16 PM
A Rust port of Pimoroni's uc8151 driver. Contribute to 9names/uc8151-rs development by creating an account on GitHub.
11:19 PM
CircuitPython displayio driver for UC8151D-based ePaper displays - Adafruit_CircuitPython_UC8151D/adafruit_uc8151d.py at main · adafruit/Adafruit_CircuitPython_UC8151D
Avatar
CircuitPython displayio driver for UC8151D-based ePaper displays - Adafruit_CircuitPython_UC8151D/adafruit_uc8151d.py at main · adafruit/Adafruit_CircuitPython_UC8151D
lovro joined the server. 6/22/2023 8:26 PM
Avatar
Avatar
lovro
Click to see original message
8:26 PM
people are coming
Avatar
coincidence?
Avatar
3 day account
8:27 PM
hmm
8:39 PM
what
8:39 PM
is this a bot
8:40 PM
he left
Avatar
then it's not a bot (edited)
Avatar
¯\_(ツ)_/¯
yip joined the server. 6/23/2023 1:17 AM
aimee511 joined the server. 6/23/2023 3:14 AM
Avatar
Hello all
special_fish joined the server. 6/23/2023 9:29 PM
Avatar
hello
9:30 PM
what brings you here
Avatar
special_fish 6/23/2023 9:31 PM
Hello! Just interested in the OS, have a couple of old ereaders that might benefit from something like this.
Avatar
nice, which ones?
Avatar
special_fish 6/23/2023 9:33 PM
A Nia and a Kindle my parents have, not sure about the Kindle, I think it's in a drawer somewhere
Avatar
Nia must be the most popular inkbox os device @Szybet
9:33 PM
you have a kindle touch?
Avatar
Avatar
special_fish
A Nia and a Kindle my parents have, not sure about the Kindle, I think it's in a drawer somewhere
well which nia model
Avatar
oh yes, that issue
Avatar
Avatar
tux-linux
Nia must be the most popular inkbox os device @Szybet
😎
Avatar
special_fish 6/23/2023 9:34 PM
I am not sure of the model, I think they bought it back like 2017 or something.
Avatar
so its propably compatible
Avatar
well, it's probably too recent
Avatar
check the wiki for the issue
Avatar
we only support the original Kindle Touch from like 2011 or so
ccadi joined the server. 6/24/2023 4:42 PM
Avatar
Hello
4:56 PM
What brings you here
Avatar
Original message was deleted or could not be loaded.
Avatar
Hello
1:35 PM
What brings you here
alexanderi96 (the_real_stego) joined the server. 6/25/2023 4:33 PM
Avatar
let me say that
4:33 PM
Hello
4:33 PM
What brings you here
4:33 PM
:D
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:33 PM
Hi everyone 😄
4:35 PM
Was just browsing the web searching for a usable Linux alternative for my Clara HD. Atm I have PostmarketOS with sxmo but it is far from usable. 10 mins ago I discovered this project and wanted to check it out 🙂
Avatar
Nice, I bought a Clara HD recently and I will try to port it once it arrives. I am the main developer of the project. Everyone tried to port it during like one year and a half but either gave up or didn't have the time
❤️ 1
Avatar
so you can try to help port it :D
❤️ 1
Avatar
I will do it @alexanderi96 (the_real_stego) you can be a tester
Avatar
Avatar
tux-linux
Nice, I bought a Clara HD recently and I will try to port it once it arrives. I am the main developer of the project. Everyone tried to port it during like one year and a half but either gave up or didn't have the time
alexanderi96 (the_real_stego) 6/25/2023 4:36 PM
Yes actually I found the link to the discord in the Clara HD issue on the GitHub repo 🙂
4:37 PM
I can do some testing for it!
👍 1
4:37 PM
Just need to figure out how to hook up at the serial port
Avatar
Do you think you will still be there in three weeks?
4:40 PM
Most people come here and leave the following day
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:45 PM
Absolutely, I like those types of things and I would be more than happy to help if possible
👍 1
Avatar
Avatar
tux-linux
Do you think you will still be there in three weeks?
he has already pm os, have higher hopes please
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:45 PM
😂
Avatar
Avatar
Szybet
he has already pm os, have higher hopes please
true but still
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:46 PM
I guess the other guys were not as patient as expected
Avatar
you can look up #dev of why we are so pesymistic about newcomers
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:47 PM
I know that this is not plug and play stuff, so no problem for me
Avatar
also scroll up, 70% dont even say hello
Avatar
Avatar
alexanderi96 (the_real_stego)
I know that this is not plug and play stuff, so no problem for me
good 😄
4:47 PM
you can start look arround #deleted-channel
4:48 PM
as for serial port, there are guides on the internet, i think you will figure it out. If any questions, feel free to ask
Avatar
Avatar
alexanderi96 (the_real_stego)
I know that this is not plug and play stuff, so no problem for me
when I say the word u-boot, does that ring a bell for you?
Avatar
Avatar
Szybet
also scroll up, 70% dont even say hello
alexanderi96 (the_real_stego) 6/25/2023 4:48 PM
Lol I know. I also joined the beepberry discord Last month and now that the project gained more popularity most of the newcomers just join and ask stuff without saying hello or reading the FAQs most of the times
Avatar
most of our newcomers always did that
Avatar
Avatar
tux-linux
when I say the word u-boot, does that ring a bell for you?
alexanderi96 (the_real_stego) 6/25/2023 4:50 PM
So, I'm not so fluent in this stuff. Never debugged a boot process before and stuff like that, but I know that it is the bootloader of many devices. Not totally sure if it is stored on the first sectors of the memory card or not
4:50 PM
I have a lot to learn lol
Avatar
Avatar
alexanderi96 (the_real_stego)
So, I'm not so fluent in this stuff. Never debugged a boot process before and stuff like that, but I know that it is the bootloader of many devices. Not totally sure if it is stored on the first sectors of the memory card or not
ok, good, you passed the test
❤️ 1
Avatar
alexanderi96 (the_real_stego) 6/25/2023 4:58 PM
Nice! Anyway, today I'm not at the pc, but by tomorrow I can try some stuff and dig more on the past discussions of the server ✌️
👍 2
Spagett joined the server. 6/26/2023 11:48 AM
Avatar
Just found out about inkbox 10 minutes ago haha
Avatar
from where if i can ask
Avatar
Someone shared it to me in another discord server
Avatar
very cool
Avatar
Brodie Robertsons server, a Linux youtuber
Avatar
i watched some of this videos
11:51 AM
cool guy
Avatar
Im wondering if inkbox supports the Kobo glo n514? I don't see it on the supported devices page but other glo models are
Avatar
another glo, wow
11:52 AM
well wait for @tux-linux he will answer
11:53 AM
and propably, it's not supported. You could help porting it
Avatar
Gotcha, I've never done porting before but it sounds interesting
Avatar
some compiling / debugging / linux stuff
Avatar
Worst case scenario I'll back up the SD card and try one of the existing ports, I ran some random Linux port on it a while back haha
Avatar
dont do it
Avatar
Avatar
Szybet
some compiling / debugging / linux stuff
I mean that I can do
Avatar
Avatar
Spagett
Worst case scenario I'll back up the SD card and try one of the existing ports, I ran some random Linux port on it a while back haha
its more complicated than that, you could damage your eink screen or even start a fire, don't
Avatar
Avatar
Szybet
dont do it
I just did it on a separate SD card
Avatar
what did you did
Avatar
Avatar
Szybet
its more complicated than that, you could damage your eink screen or even start a fire, don't
Interesting, didn't know that was a possibility
Avatar
Avatar
Szybet
what did you did
A while back I flashed the Linux release to the sd card after taking a full backup of it, plugged it in, realised it was for a different sized screen model, reflashed the backup, and then didn't think about it for quite a while
Avatar
good that nothing happened
Avatar
Yeah haha
mmathias joined the server. 6/26/2023 12:35 PM
Avatar
Avatar
mmathias
Click to see original message
12:35 PM
a lot of people are joining, welcome 😄
Avatar
Avatar
Spagett
Im wondering if inkbox supports the Kobo glo n514? I don't see it on the supported devices page but other glo models are
? N514 is the aura original and It's not supported, sorry
12:40 PM
Why are you saying it's a Glo
Avatar
Hmm, that was what was in the about page, lemme double check maybe I typed it in wrong
Avatar
its writed on your devices somewhere
12:41 PM
small text
Avatar
Avatar
Szybet
what did you did
What did you do
Avatar
Avatar
tux-linux
What did you do
Avatar
Another reason to contribute to InkBox: you learn English
Avatar
jakbym miał wybór to bym wolał nie znać wgl polskiego a tylko angielski, to jest klątwa
Avatar
Avatar
tux-linux
? N514 is the aura original and It's not supported, sorry
Ah I found it written on the bottom of the device, it's a n613 which is supported 🙂 I was confused from this page in the settings haha
Avatar
What
Avatar
how do you know then its n613
Avatar
It is written on the bottom
Avatar
Do you have a full picture of the device
12:47 PM
send it
Avatar
Avatar
tux-linux
Do you have a full picture of the device
Sure, 1 sec
12:48 PM
Avatar
It's a Glo
12:48 PM
Supported but you write the image to the internal SD card And you make a backup of it before
Avatar
Yeah, I was pretty certain it was, not sure what's up with that settings page showing N514 lol
12:49 PM
Avatar
Avatar
tux-linux
Supported but you write the image to the internal SD card And you make a backup of it before
Yeah, I've done a backup via dd before when I messed around with getting Linux on it a while back from some random forum posts (which I've just learned may not have been a great idea)
👍 1
Avatar
Did you use the custom Debian image thing?
Avatar
Something like that, I believe it was Debian, it came as multiple partitions, I got it running but the screen was off (the image wrapped around weirdly) so I think it was for a slightly different model
12:52 PM
So I ended up just flashing back the factory os
Avatar
Did it say it was for Glo
Avatar
I really don't remember
12:54 PM
This was about a year ago
12:54 PM
I think it was but not completely sure
Avatar
Can you post a picture of the screen refreshing when you interact with nickel?
12:54 PM
Video
12:54 PM
I mean
Avatar
Nickels the default Kobo shell yeah? (edited)
Avatar
Sure
👍 1
12:56 PM
Avatar
looks good
Avatar
Well, the image should work for you If not you can replace the waveform Szybet can explain I will sleep a little more
Avatar
Thanks, I'm sure I'll be able to figure it out, if not I'll ask here 🙂 thanks
👍 1
Avatar
Avatar
Spagett
Click to see attachment 🖼️
This doesn't say n613 anywhere
Avatar
Avatar
Kuratius
This doesn't say n613 anywhere
its very small along the bottom edge of it
Avatar
Avatar
Spagett
its very small along the bottom edge of it
Where?
2:10 PM
its too small for my phone to show clearly up close
2:10 PM
and its rubbed off a bit
2:11 PM
but in person its clear enough to read it
2:12 PM
its n613 without a doubt
Avatar
It's a Glo
Avatar
what the fuck
Avatar
huh, if you zoom in you can see the model number
2:13 PM
honestly suprised the phone cam showed it (edited)
2:14 PM
now time to wait for my lovely internet to download this haha
Avatar
Ouch
2:15 PM
What server
Avatar
try the mirror
2:15 PM
please
Avatar
just my internet
Avatar
are you sure?
Avatar
not a server issue
Avatar
I understand
Avatar
Avatar
Szybet
are you sure?
its going up to 127 kbs which is my max (im using a hotspot after its run out since i only pay for 5gb a month so 127 kbs is what i get after that 5gb lol) (edited)
Avatar
Oh nice
Avatar
thats very bad
Avatar
I have that on my mobile plan too
2:17 PM
1g then 16kb/s unlimited
2:17 PM
It's useful
Avatar
my mobile plan was to buy a sim card for 5$ and i have 0,5 Mb/s all the time, but i need to make a captcha every hour
Avatar
mine is enough for 480p youtube so i really dont need more, just means downloading stuff takes a while.
Avatar
Mobile plans are way too expensive in Canada so
Avatar
im in australia, unfortunately the price of mine went up a couple months ago
👍 1
Avatar
Avatar
Spagett
now time to wait for my lovely internet to download this haha
did it... finish?
matr1x joined the server. 6/26/2023 9:08 PM
Avatar
Avatar
matr1x
Click to see original message
Avatar
hello
9:09 PM
what brings you here
Avatar
Avatar
matr1x
Click to see original message
Sticker
Avatar
I've been following the project since last year when I put 1.5 on my kobo mini a while back (with mixed results) and saw 2.0 was out and then noticed theres a discord so here I am
Avatar
nice
9:34 PM
I think you will be a bit blown out by the changes
Avatar
blown away you mean perhaps?
Avatar
yes
Avatar
blown out is a negative 🙂
Avatar
Well, french canadian here
9:35 PM
so you know
Avatar
oh cool, im in winnipeg
👍 1
9:37 PM
saw the kindle support might have to grab one if I see them in a thrift store
Avatar
@tux-linux explain
9:37 PM
him the kindle thing
Avatar
no i get it
9:37 PM
i did my research
Avatar
Why do you want it on a Kindle if you have a Mini
Avatar
why not !
9:39 PM
I have a few e-readers I tend to collect them
9:41 PM
got a kobo clara HD from clearance at walmart last year, got a kobo aura n514 (unsupported) from thrift store, got a kobo mini, got an old sony ereader.
Avatar
i probably have more than 10 ereaders at home too
9:41 PM
i "collect" them in the porting process
Avatar
My mini touchscreen has been unresponsive since I changed out the screen from aliexpress since the previous one had a dead pixel, but it's probably fixable I just haven't bothered
9:46 PM
anyways if I find a supported model amazon kindle for less than $20 at a thrift store I just think it'd be fun to have a good open source OS on it just out of spite for Amazon
9:47 PM
it'd be nice to see a completely open hardware ebook reader running on inkbox OS one day though
Avatar
Avatar
matr1x
it'd be nice to see a completely open hardware ebook reader running on inkbox OS one day though
if the project will be very succesfull, i could design it
9:49 PM
i have a bit of experience with pcb design & case design & 3d printing
Avatar
Avatar
Szybet
if the project will be very succesfull, i could design it
so if you want it, help it to be successful
Avatar
would it really need anything more powerful than an rpi zero 2w though
Avatar
i exactly plan to use that or a clone of it
Avatar
well I look forward to seeing what you come up with 🙂
Avatar
it will never happen if the project loses interest
Avatar
kind of a catch-22
Avatar
if ebook readers are seen by people as good enough as is, people won't seek out alternative firmwares or alternative hardware
10:01 PM
especially if replacing a firmware is too difficult for most people
10:02 PM
if theres an open source OS like inkbox paired with open hardware that goes above and beyond what a kindle or kobo reader offer, people will perhaps take more interest
Avatar
inkbox already offers more
Avatar
pinenote:
Avatar
its interesting to note that a web search for inkbox brings up a majority results some sort of tattoo company
Avatar
Avatar
Szybet
inkbox already offers more
yes but no one cares
Avatar
Avatar
tux-linux
pinenote:
its too expensive anyway
10:03 PM
i think inkbox should focus on cheap ereaders
Avatar
like what sort of features do people want? I guess reading comicbooks, perhaps a weather report screensaver type mode, or a flip clock mode
Avatar
flip clock is cool
Avatar
ye we plan to add such things
Avatar
i added it to todo
Avatar
perhaps user apps?
Avatar
it's nice like that
10:04 PM
probably very simple to make
10:04 PM
a built-in app
10:04 PM
sure
Avatar
look at xsoard
Avatar
xcsoar
Avatar
yeah thats what that is
Avatar
basically that
Avatar
its easy to get carried away with features though
Avatar
anyone remember these books.. would be interesting to compare what kind of games/apps could be (or already are) implemented on an e-reader
Avatar
inkbox supports simon tatham's puzzles
Avatar
thats a good collection
Avatar
yes, I remember playing some of these last year in my history class when it was too boring 😅
11:31 PM
ereaders go unnoticed more easily
Avatar
they do look more book-like, especially if they're in a leather/plastic case
👍 1
Tinker joined the server. 6/26/2023 11:35 PM
Avatar
hello what brings you here
Avatar
ATM... Just checkin' out how good the discussion about InkBox will be.
👍 1
Avatar
Avatar
tux-linux
did it... finish?
Nah I had to go to bed unfortunately
👍 1
12:25 AM
Gonna give it another crack today
👍 1
Avatar
2.0 may be too much for my Mini 😦
Avatar
Keyboard backspace doesn't register taps. And mini will freeze on some dialogs
Avatar
Can you take a video of the screen refreshing?
12:42 AM
when it freezes, does it show a splash screen with an ascii bomb on it?
Avatar
I will take video later tonight. Should I move this to #bugs?
Avatar
#dev
👍 1
12:49 AM
thanks
12:49 AM
it may be a waveform issue
Avatar
Avatar
tux-linux
when it freezes, does it show a splash screen with an ascii bomb on it?
also, this
Avatar
well TIL you can add commands to KDE connect, so I added /bin/xkill in case my desktop freezes lol
pata007 joined the server. 6/27/2023 11:40 AM
Avatar
Avatar
pata007
Click to see original message
11:41 AM
hello what brings you here
Avatar
Avatar
pata007
Click to see original message
mmathias joined the server. 6/27/2023 1:34 PM
Avatar
you were here before
Avatar
Hello
ilkh joined the server. 6/27/2023 7:51 PM
Avatar
hello, what brings you here?
aaaaaaaas joined the server. 6/27/2023 8:29 PM
Avatar
Hello, what brings you here?
Avatar
@aaaaaaaas dont ignore him
8:32 PM
🥴🥴🥴
ig a joined the server. 6/27/2023 10:22 PM
Avatar
hello
geo9720 joined the server. 6/28/2023 3:03 AM
Avatar
hello! what brings you here?
voltaireodactyl joined the server. 6/28/2023 4:53 AM
Avatar
hello, what brings you here?
Guillaume joined the server. 6/28/2023 2:17 PM
Avatar
hello, what brings you here?
Avatar
Avatar
Guillaume
Click to see original message
Avatar
Hi there! I have a Kobo Clara HD not yet supported. There is an open issue on Github. In the thread, this Discord server was mentionned. I'm here te check the news 🙂
Avatar
it will be ported soon
😍 1
matterbridge joined the server. 6/28/2023 9:13 PM
Avatar
hello, what brings you here?
9:24 PM
😂
Avatar
make it a nick Matrix bot or smth
9:25 PM
not like on the pine matrix channel
9:25 PM
you didnt knowed what this is
Billy Halley joined the server. 6/29/2023 12:53 AM
Avatar
hello! what brings you here?
kukaruka0804 joined the server. 6/29/2023 4:09 AM
Avatar
hello, what brings you here?
Avatar
Avatar
tux-linux
It's on irc.libera.chat , channel ##inkbox-chat
You know I once got it working on this thing
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
@Szybet
10:34 PM
still irc bad
10:34 PM
maybe you can get one of those javascript clients to run in midori
RedAuburn joined the server. 6/30/2023 6:01 PM
Avatar
hello, what brings you here?hello, what brings you here?
Avatar
hello ^-^ tried inkbox on my kobo glo & really like it :) just kinda looking around
Avatar
Lenovo smart paper is apparently available now
kgh joined the server. 7/1/2023 1:54 AM
Avatar
Hello, what brings you here?
Avatar
hi, did the wave, but just saying hello
👋 1
2:06 AM
i recently got a kobo libra2, wanted to test out inkbox
2:07 AM
looks pretty awesome
👍 1
Avatar
You have to have the will to port it yourself
Avatar
good times 🙂
Avatar
We are two people working on this and receiving almost no donations, so we can't buy every Kobo device ever 😉 We will be pleased to help you port it if you want, but you need the will to do it
Avatar
out of curiosity, do you have a patreon?
2:08 AM
(or similar ofc) (edited)
Avatar
No, PayPal
2:10 AM
We can help you port it if you want You don't have to donate
2:10 AM
(and i understand, thank you?)
Avatar
Go to paypal.me/NicolasMailloux and type in the amount. Since it’s PayPal, it's easy and secure. Don’t have a PayPal account? No worries.
2:11 AM
Sorry for bothering you
Avatar
no no, you're not, I asked!
👍 1
maxlan joined the server. 7/1/2023 1:38 PM
Avatar
Avatar
maxlan
Click to see original message
1:38 PM
Helllo
Sunow joined the server. 7/2/2023 7:29 AM
Avatar
Avatar
Sunow
Click to see original message
Avatar
Avatar
Sunow
Click to see original message
Avatar
Avatar
Sunow
Click to see original message
Sticker
k995 joined the server. 7/2/2023 12:53 PM
Avatar
Avatar
k995
Click to see original message
Avatar
bonjour
12:53 PM
Avatar
am I the mouse or the trap?
Avatar
im the mouse
12:54 PM
cheese is goood
Avatar
anyway, what brings you here
Avatar
Looking to see if I can get inkbox on my kobo clara HD
12:55 PM
well
12:55 PM
soon, yes
12:55 PM
it will be ported
milankolia joined the server. 7/2/2023 7:25 PM
Avatar
Avatar
milankolia
Click to see original message
Avatar
Avatar
milankolia
Click to see original message
7:29 PM
hello, popped in because i just got a Kobo Glo HD a little while ago and decided to try InkBox... having some trouble with KoBox apps
Avatar
Hello, well which ones (edited)
Avatar
all of them, they start up in two small windows side by side (while the touch actions still think it's full screen)
Avatar
which version of inkbox do you have
Avatar
2.0 for the Glo HD
Avatar
eh...
7:39 PM
@tux-linux problems
7:43 PM
@milankolia its hard to use xorg on eink screens, we have spend a long time on this and there are still problems. Consider helping us in any way ( root the device, gather logs... )
Avatar
yeah, i can try gathering more information about this bug
Avatar
can you into linux?
Avatar
yeah, i use Linux on my main machine
Avatar
good, cool
7:47 PM
first root the device in diagnostics mode
Avatar
how do i do that? and oh, by the way, my Kobo has some trouble with USB connection
Avatar
usb port damaged propably?
Avatar
yeah, might be
Avatar
reboot the device, spam the power button while turning on
Avatar
Avatar
Szybet
reboot the device, spam the power button while turning on
you will enter diagnostics, select root and thats it
Avatar
"reset and allow root access"?
8:09 PM
it will reset
8:09 PM
so no books
Avatar
Avatar
milankolia
all of them, they start up in two small windows side by side (while the touch actions still think it's full screen)
oh no
8:10 PM
does it do that every single time? (edited)
8:10 PM
well, rooting it could help, only that fact, even without debugging
Avatar
Avatar
Szybet
so no books
i had nothing on it yet as i just got into testing it. the reset asks for onboard storage size, do i go with default 64MB?
Avatar
go with 512
Avatar
min. 256
Avatar
this should be automatic anyway
8:12 PM
@tux-linux balena etcher is resizing the last partition in such a way that a fsck on the file system enables to use the whole sd card, not only the specified space
Avatar
Avatar
tux-linux
does it do that every single time? (edited)
yeah, it's consistent. also, even when i managed to quit something, it'd just halt and the only thing i could do is shut it down
8:13 PM
ok, root it and it means i've not done my job correctly :/
Avatar
it works for the nia tho
8:13 PM
i think
8:13 PM
maybe
🥴 1
Avatar
Avatar
Szybet
@tux-linux balena etcher is resizing the last partition in such a way that a fsck on the file system enables to use the whole sd card, not only the specified space
i used dd to make the SD card, i was going to just resize manually
Avatar
Avatar
milankolia
i used dd to make the SD card, i was going to just resize manually
well its low level stuff, not for you
Avatar
currently "Restoring"
Avatar
can take ~20m
👍 1
Avatar
Avatar
Szybet
well its low level stuff, not for you
did it with the original Kobo firmware when changing the SD card with no problem (edited)
Avatar
resizing it on inkbox is more complicated
Avatar
well as i said @tux-linux
8:16 PM
fsck, some math on onboard size, 1h of resizing and its done
Avatar
the wiki says to do it anyways, using growpart and resize2fs (edited)
Avatar
not only growing a partition
8:18 PM
but well, you can follow the wiki as well
Avatar
the splash screen came up already
Avatar
ok, start it, test kobox again and if it works then it means i've not done my job properly again
Avatar
i think it's still pondering stuff behind that splash screen, but yeah, i'll do that
👍 1
Avatar
welp, seems to work now?
8:43 PM
Avatar
you are welcome
8:43 PM
we are f*cked
Avatar
thanks :'D
8:44 PM
We have worked a week on this, whole days
8:44 PM
and it still doesnt work
Avatar
might just be something in that image file
8:48 PM
i can imagine it's pretty frustrating to work hard and still get people running into some bugs
Avatar
Avatar
milankolia
might just be something in that image file
nope, impossible
Avatar
Avatar
milankolia
i can imagine it's pretty frustrating to work hard and still get people running into some bugs
its normal in software development
Avatar
yeah, i've heard all about it, i study computer sciences myself lol
8:51 PM
we are looking for contributors ;)
Avatar
it'd be nice to contribute but i've still got a lot to learn... i've only been coding simple stuff for Arduinos and ESP32s for now
Avatar
I and tux-linux have come to this project with little experience
8:58 PM
i learned c++ with it, and my background also were only arduinos and esp's
Avatar
well, i am on a C summer course right now (along with Python one), wouldn't be a stretch to move to C++ from that haha
9:25 PM
C++ is in the middle of C and python
liberodark joined the server. 7/2/2023 10:06 PM
Avatar
Hi
10:13 PM
Which Kobo would you recommend for using InkBox?
Avatar
Also can you have plan to support https://www.pine64.org/pinenote/ (one day) ?
Quad-Core Rockchip RK3566 @ 1.8 GHz 1404×1872 (227 DPI) 16 grayscale multi-touch Eink panel Wacom EMR Pen Digitizer Up to 4GB of LPDDR4 RAM Built-in 802.11ac WiFi with Bluetooth 5.
Avatar
Avatar
liberodark
Which Kobo would you recommend for using InkBox?
Glo i think
Avatar
Avatar
liberodark
Hi
Hi
Avatar
Avatar
Szybet
Glo i think
Ok this model have usb-c ? (edited)
Avatar
Avatar
liberodark
Also can you have plan to support https://www.pine64.org/pinenote/ (one day) ?
We talked with the developers - pine doesnt supply devices to developers and we dont have the funds to buy them
Avatar
Avatar
Szybet
We talked with the developers - pine doesnt supply devices to developers and we dont have the funds to buy them
I can provide you with one for free.
Avatar
Avatar
liberodark
Ok this model have usb-c ? (edited)
No, only kobo clara 2E has a usb c port, and its not supported, you would need to port it
Avatar
Avatar
liberodark
I can provide you with one for free.
What
Avatar
Avatar
Szybet
No, only kobo clara 2E has a usb c port, and its not supported, you would need to port it
arf ok
Avatar
Avatar
Szybet
What
Yes
Avatar
Avatar
liberodark
arf ok
Or donate enough money for us to buy and then port
10:28 PM
But uhm thats a lot
Avatar
Avatar
liberodark
Also can you have plan to support https://www.pine64.org/pinenote/ (one day) ?
if someone gets their hands on one of these, there is a pmOS port for it and there are ways to port inkbox for a lot faster since you already have a booting kernel in that case
10:29 PM
also likely lenovo smart paper is easier to get than the pineNote and has similar hardware
Avatar
Avatar
Kuratius
if someone gets their hands on one of these, there is a pmOS port for it and there are ways to port inkbox for a lot faster since you already have a booting kernel in that case
have try pmos on pinephone
Avatar
so probably check if the smart paper allows flashing a different OS
Avatar
Avatar
Kuratius
also likely lenovo smart paper is easier to get than the pineNote and has similar hardware
Does it have a linux kernel working?
Avatar
Avatar
liberodark
have try pmos on pinephone
it's more about the kernel and driver stuff
Avatar
Avatar
Szybet
Does it have a linux kernel working?
It has an android port, but that's not normal linux
Avatar
I doubt it, lenovo uses android
Avatar
android open source project is what it runs
Avatar
Avatar
Szybet
I doubt it, lenovo uses android
same SoC as the pine Note (edited)
10:30 PM
so maybe minimal changes needed
Avatar
Avatar
Kuratius
same SoC as the pine Note (edited)
rk3566 or something
Avatar
Porting from android to linux is hard, most of the cases impossible ( thats why we dont have many linux phones )
Avatar
Avatar
Szybet
Or donate enough money for us to buy and then port
It is also possible. I'm quite a fan of your work I think it's good to have an solution oss for Kobo even if I don't use kobo I'll take one to use your OS. But I have a big preference for the PineNote (edited)
Avatar
Avatar
Kuratius
so maybe minimal changes needed
No...
Avatar
Avatar
Szybet
Porting from android to linux is hard, most of the cases impossible ( thats why we dont have many linux phones )
like I said likely the existing pineNote pmOS only needs a few things to get it to boot
Avatar
Avatar
Kuratius
like I said likely the existing pineNote pmOS only needs a few things to get it to boot
Notes about PineNote development. Contribute to DorianRudolph/pinenotes development by creating an account on GitHub.
Avatar
Avatar
Szybet
No...
I don't see how it's that different from the thing that was done when porting the clara kernel for the nia
Avatar
Avatar
liberodark
It is also possible. I'm quite a fan of your work I think it's good to have an solution oss for Kobo even if I don't use kobo I'll take one to use your OS. But I have a big preference for the PineNote (edited)
Cool, thanks Well your decission, we appreciate any kind of support and donations
Avatar
We know, we already explored the topic
👍 1
Avatar
Avatar
liberodark
It is also possible. I'm quite a fan of your work I think it's good to have an solution oss for Kobo even if I don't use kobo I'll take one to use your OS. But I have a big preference for the PineNote (edited)
you cant buy the pineNote right and it's uncertain if you ever will again
Avatar
Avatar
Kuratius
you cant buy the pineNote right and it's uncertain if you ever will again
They often have out of stock. I will directly ask.
10:34 PM
If there is, I'll send it to you.
10:34 PM
see here
Avatar
there is already an OS for the pineNote
Avatar
Avatar
Kuratius
I don't see how it's that different from the thing that was done when porting the clara kernel for the nia
Android uses diffrent drivers Linux may not have them If they dont share the pinout, or its not in the android source then there will be problems with finding connections between chips
10:35 PM
Arm is not PC - acpi, bios, standarisations dont exist
10:35 PM
You cant just ask the bridge if there is usb - there is no bridge
Avatar
I guess we'd know more if the had images of the pcb
10:40 PM
if they happen to have the same chips then that makes everything much more likely to work
10:40 PM
for all I know the only difference is a different epd module
Avatar
In any case as soon as I have the reader I will have it sent to you to @Szybet or @Kuratius as you want.
10:42 PM
I hope to run Inkbox on this ereader. (one day) (edited)
Avatar
probably send to @Szybet if you want a quick port, I just did a lot of logging for the Nia port, most of the work digging through docs and adjusting driver/kernel sources was from andi
10:43 PM
(I say most - basically all of it)
Avatar
Avatar
Kuratius
probably send to @Szybet if you want a quick port, I just did a lot of logging for the Nia port, most of the work digging through docs and adjusting driver/kernel sources was from andi
Ok
Avatar
Avatar
liberodark
In any case as soon as I have the reader I will have it sent to you to @Szybet or @Kuratius as you want.
how are you planning to get it?
10:43 PM
is there some secret pine64 backchannel? or are you talking about the lenovo?
Avatar
Avatar
Kuratius
is there some secret pine64 backchannel? or are you talking about the lenovo?
Im speak about pinenote (pine64)
Avatar
Avatar
Kuratius
is there some secret pine64 backchannel? or are you talking about the lenovo?
I dont know lenovo ereader
Avatar
Avatar
liberodark
Im speak about pinenote (pine64)
so how are you going to get it? they are not manufacturing them right now (edited)
Avatar
Avatar
Kuratius
so how are you going to get it? they are not manufacturing them right now (edited)
Two solutions either I will have to ask an acquaintance or when restocking
Avatar
Avatar
liberodark
Two solutions either I will have to ask an acquaintance or when restocking
restock has not been announced unless you have inside sources
10:46 PM
they literally said they would not make them anymore until there is an OS they are satisfied with (edited)
Avatar
Avatar
liberodark
In any case as soon as I have the reader I will have it sent to you to @Szybet or @Kuratius as you want.
Maybe @tux-linux would want, he is the creator after all. But i want too, but we will see Will we need to send the ereader back?
Avatar
Avatar
Kuratius
they literally said they would not make them anymore until there is an OS they are satisfied with (edited)
Yea, pretty much this, so the kobo clara 2E would be a better target
Avatar
Avatar
Kuratius
restock has not been announced unless you have inside sources
I think your OS can be a good solution.
Avatar
Avatar
liberodark
I think your OS can be a good solution.
they were told about it
10:49 PM
nothing to be done
Avatar
I will ask from my side. it can be worth it if it is not possible I will do otherwise (edited)
Avatar
Avatar
Kuratius
nothing to be done
Yes, you already need to have it to test.
Avatar
Avatar
liberodark
I will ask from my side. it can be worth it if it is not possible I will do otherwise (edited)
it is not clear what you mean
Avatar
Avatar
Szybet
Maybe @tux-linux would want, he is the creator after all. But i want too, but we will see Will we need to send the ereader back?
I want too 🥴
Avatar
tux-linux speaks French, he is in Canada, szybet in Europe
10:52 PM
maybe send to the one who is closer
Avatar
Avatar
tux-linux
I want too 🥴
You have already 10 ereaders 🥴🥴
Avatar
I wrote the entire email
Avatar
Avatar
tux-linux
I wrote the entire email
What? How is this related
Avatar
Avatar
Kuratius
it is not clear what you mean
What I'm saying is only that I'll try to send you one as soon as I get my hands on it through the store or by some other means.
Avatar
Nvm send it to who you want Of course if you encounter problems I will not be able to fix them as much but it would be the same thing if I had it so whatever
10:54 PM
Thanks for your interest
👍 1
Avatar
I can always give ssh access to serial and a camera 🥴
10:55 PM
But i have wrote IPD, wifi subsystem sooo yea
Avatar
also consider this:if you own 10 ereaders and szybet 2, then you need to test 10 and szybet only 2
Avatar
Yes But idk
Avatar
but probably sending to the closer one is better
Avatar
Yes too
Avatar
Avatar
Szybet
Maybe @tux-linux would want, he is the creator after all. But i want too, but we will see Will we need to send the ereader back?
@liberodark you didnt answered this
Avatar
Avatar
Szybet
But i have wrote IPD, wifi subsystem sooo yea
I wrote library and pretty much the whole os (edited)
10:57 PM
😉
Avatar
Avatar
tux-linux
I wrote library and pretty much the whole os (edited)
Good argument hehe🥴
Avatar
Avatar
Szybet
Maybe @tux-linux would want, he is the creator after all. But i want too, but we will see Will we need to send the ereader back?
No you can keep the ereader
Avatar
Good, otherwise supporting newer versions would be uncertain
Avatar
Avatar
Szybet
Good, otherwise supporting newer versions would be uncertain
This is completely normal
wayneeee9069 joined the server. 7/3/2023 8:03 PM
Avatar
Avatar
wayneeee9069
Click to see original message
8:03 PM
Hello
8:03 PM
what brings you here Wayneee
Avatar
Avatar
Szybet
Click to see original message
wayneeee9069 7/3/2023 8:04 PM
Avatar
Avatar
Szybet
what brings you here Wayneee
wayneeee9069 7/3/2023 8:08 PM
Hi, I’ve installed InkBox on a kobo mini which is working great, I see it’s possible to install on a kindle touch, just wondering if there is a guide I can look at to see how difficult it would be, I’ve got a couple of them in a draw doing nothing. Is there much soldering or anything?
Avatar
wait for @tux-linux
Avatar
Avatar
Szybet
wait for @tux-linux
wayneeee9069 7/3/2023 8:12 PM
Np 👍
Avatar
Are they original Kindle Touch?
9:21 PM
From 2011
Avatar
wayneeee9069 7/3/2023 9:24 PM
Hi, yeah the are the 2011 touch versions.
Avatar
It involves completely wiping the original firmware Then reflashing the device with InkBox Probably w/ fastboot Probably no serial or soldering required (edited)
Avatar
Avatar
tux-linux
It involves completely wiping the original firmware Then reflashing the device with InkBox Probably w/ fastboot Probably no serial or soldering required (edited)
wayneeee9069 7/4/2023 8:06 AM
Ok, I think it’s something for a weekend project then, is there a guide you have or anything?
Avatar
wayneeee9069 7/4/2023 8:20 AM
I’m happy to give it a go, no bother if i break one as they don’t get used.
8:25 AM
Sorry for the questions I’ve just been googling is mfgtool what you use? Or is it all command line?
8:26 AM
tldr: tux-linux needs to create the Kindle image and i dont know if he will have the time and will to do that
Avatar
Avatar
Szybet
tldr: tux-linux needs to create the Kindle image and i dont know if he will have the time and will to do that
wayneeee9069 7/4/2023 8:28 AM
Ok, well I’m happy to be a test dummy if he does, I could probably try to record it as a guide on the 2nd one if it worked on the first one.
MangoDonut joined the server. 7/4/2023 10:12 AM
Avatar
Avatar
MangoDonut
Click to see original message
Sticker
10:14 AM
Welcome
Avatar
Ok once again
10:28 AM
Welcome
Avatar
@tux-linux 1. answer about the kindle 2. as im finishing audio, you will want to test it anyway on the kindle?
mantikka joined the server. 7/5/2023 1:38 PM
Avatar
welcome
1:43 PM
what brings you here
Avatar
Hey, I got here through the website, I have an old kindle 4 and I was curious to know if the kindle touch image would work on the 4 as well, since they're in the same generation. The project looks really great by the way, bravo to all involved!
Avatar
thanks
1:46 PM
it won't work
Avatar
Oh alright, that's too bad. Thanks a lot for the info!
The Earth Yo joined the server. 7/6/2023 11:20 PM
Avatar
The Earth Yo 7/6/2023 11:21 PM
Hey guys , I got here for kobo inkBox project , I am currently using kobo Elipasa , trying to know any vnc viewer option for Elipsa , inkBox looks great !
Avatar
Elipsa is not supported, you would need to test it
👌 1
7:02 AM
I mean port it
luismaylon1234q joined the server. 7/7/2023 5:36 PM
Avatar
Avatar
luismaylon1234q
Click to see original message
luismaylon1234q 7/7/2023 5:37 PM
Avatar
Hello, what brings you here?
Пещера Джонсон joined the server. 7/7/2023 9:45 PM
Avatar
Avatar
Пещера Джонсон
Click to see original message
Avatar
Avatar
Пещера Джонсон
Click to see original message
Sticker
Avatar
Is it possible to install inkbox and run it from the secondary microSD of an original model kobo glo while keeping the original internal kobo OS intact? I know you can boot from the second SD slot if you hit the light button while turning it on, but it doesn't seem to boot.
10:00 AM
just gives a white screen
Avatar
@tux-linux
10:56 AM
If it doesnt work then it could be done
10:56 AM
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
If it doesnt work then it could be done
no
1:34 PM
it's impossible because u-boot only changes root=/dev/mmcblkxpx variable in kernel args it still loads kernel from mmcblk0
Avatar
linux kernel can load another kernel
1:36 PM
in theory
Avatar
well, the point here is to boot it without alteration of the internal sd
1:36 PM
so, no use here
Avatar
i wonder if i take the internal kobo microSD and put it in the secondary microSD and tell it to boot from there if it'll load. that'll be an experiment
Avatar
this certainly can be done
7:09 PM
everything is possible
7:09 PM
will it take a month? year? more? idk
morpher joined the server. 7/8/2023 8:47 PM
Avatar
Avatar
morpher
Click to see original message
8:49 PM
Welcome, what brings you ehre
8:50 PM
@liberodark any updates on the ereader / from pine64? (edited)
Avatar
Avatar
Szybet
Welcome, what brings you ehre
heroic deeds bring you ehre
Avatar
also inkbox repo PRs
8:58 PM
probably
Avatar
you would need to find people wanting to port the devices
8:59 PM
as for now there are none
Avatar
Original message was deleted or could not be loaded.
what country?
8:59 PM
if Germany tolinos are sometimes rebranded kobos
9:01 PM
I know kobo has some weird cartel contract with tolino to not sell their readers in Germany
9:01 PM
probably illegal but eh
Avatar
its more complicated
Avatar
Original message was deleted or could not be loaded.
does this look right? https://www.ubuy.co.in/brand/kobo
Shop for Kobo products online at discounted prices on Ubuy India, a leading store for Kobo products for sale along with great deals, offers & fast delivery options.
9:08 PM
I think goodereader also ships worldwide
TestTed joined the server. 7/9/2023 3:42 PM
Avatar
Avatar
TestTed
Click to see original message
Avatar
Avatar
TestTed
Click to see original message
henrikbruhn joined the server. 7/9/2023 5:44 PM
Avatar
welcome
5:45 PM
will you at least say hello or like others not even speak a word...?
5:45 PM
its sad at this point
Avatar
well that wasn't to you but hello, im good i think
6:16 PM
and you
6:19 PM
thanks🫡
Avatar
cool idea
7:22 PM
maybe you can do it?
7:22 PM
idk if regular users can post distros
Avatar
@tux-linux :D
Avatar
It will for sure get 2.1 update
6:59 PM
but its the slowest, smallest device
Avatar
Avatar
Szybet
It will for sure get 2.1 update
future ones possibly too
Avatar
Avatar
Szybet
but its the slowest, smallest device
i would get it only if its 1/10 of the price of the nia
7:12 PM
arround
7:12 PM
idk
7:12 PM
look up online
7:12 PM
its similar everywhere
joker@home:~$ whoami joined the server. 7/10/2023 10:22 PM
Avatar
joker@home:~$ whoami 7/10/2023 10:22 PM
Hello!
Avatar
hullo
Avatar
joker@home:~$ whoami 7/10/2023 10:23 PM
Came here to check a few things before installing InkBox
Avatar
cool, feel free to ask
Avatar
joker@home:~$ whoami 7/10/2023 10:24 PM
It was about manga reading, if there is a working app or support - and if I am able to import my Kobo purchased library into it?
10:25 PM
sorry
10:25 PM
we support pdf reading
Avatar
joker@home:~$ whoami 7/10/2023 10:25 PM
To both?
Avatar
>and if I am able to import my Kobo purchased library into it? there is a plugin for removing drm from kobo titles
10:25 PM
it works well
Avatar
you will not be able to import your kobo library unless 1. the books don't have drm, you can use a plugin for that 2. the books are pdf files
Avatar
1. We would, or you need to port ultimate ranga reader to kobo 2. just strip the drm
Avatar
joker@home:~$ whoami 7/10/2023 10:26 PM
Okay, thank you much :)!
👍 1
10:26 PM
Ultimate manga reader, is the app you recommend?
Avatar
we didn't develop it and it has not been ported to inkbox yet
10:27 PM
you can do it if you want
10:27 PM
it shouldn't be too hard
Avatar
DeDRM tools for ebooks. Contribute to noDRM/DeDRM_tools development by creating an account on GitHub.
❤️ 1
Avatar
it should be easy
Avatar
joker@home:~$ whoami 7/10/2023 10:28 PM
I will see what I can do! Thank you - I have a Kobo Nia N306
Avatar
a or c
10:28 PM
ask szybet
Avatar
send me the insides
Avatar
joker@home:~$ whoami 7/10/2023 10:29 PM
I recently purchased, I havent opened it yet
Avatar
after you open
10:29 PM
it can be not compatible with inkbox yet
10:29 PM
we recedntly started porting it... you could help if you have the c
Avatar
joker@home:~$ whoami 7/10/2023 10:30 PM
Will tell then! Its a tad late now, but a day when i'm free off work i'll work on it
👍 2
Avatar
Original message was deleted or could not be loaded.
At that price I'd buy it if you're ok with the screen quality
8:13 PM
I haven't seen talk of any incompatible mini revisions
kajus2493 joined the server. 7/11/2023 8:51 PM
Avatar
Hello
Avatar
Avatar
Szybet
after you open
joker@home:~$ whoami 7/11/2023 11:19 PM
Avatar
Its the model C sadly
11:20 PM
not ported yet
11:21 PM
you can help at #deleted-channel
11:21 PM
if you dont have any linux skills, consider supporting the project in donation ways
Avatar
Avatar
Szybet
Its the model C sadly
joker@home:~$ whoami 7/11/2023 11:46 PM
Ah damn, thank you
_Renard_Joyeux joined the server. 7/12/2023 3:52 PM
Avatar
Avatar
_Renard_Joyeux
Click to see original message
Avatar
_Renard_Joyeux 7/12/2023 3:55 PM
hello i join to keep it up with news about this project
3:55 PM
cool
3:55 PM
we will soon give out some news at #announcements if you are looking for that
Avatar
_Renard_Joyeux 7/12/2023 3:56 PM
oh my
Avatar
Hey, I've got two questions: 1. Is there a way to save reading preferences like text size and margin spacing so when I leave a book and come back to it I don't have to readjust? 2. Is there a way to set a photo instead of the sleep screen?
Avatar
1. What does the screen look like when you first open settings? 2. Yes, throw images in a folder named .screensaver in onboard storage
Avatar
Apologies of either of those are obvious
12:15 AM
Nicolas Mailloux
12:15 AM
Is global reading settings what I want?
Avatar
It should work Try checking then unchecking "Global reading settings"
12:16 AM
Then click ok
Avatar
So now if I change my reading settings it'll remember?
Avatar
It should already remember
Avatar
Deleted User 7/13/2023 1:01 AM
It looks like it remembers the slider positions but the text size is not the same, I can take a video once i have two hands lol
Avatar
what if you reboot
Avatar
Deleted User 7/13/2023 1:11 AM
I shall try that
Avatar
@Szybet could you point me in the right direction to get the dev enviroment setup on my local machine?
Avatar
Of course
5:09 PM
Easy way or hard way?
5:09 PM
Also, whats the goal? System or qt?
Avatar
Basics for now
Avatar
So? Qt?
5:12 PM
I dont know what basics means
Avatar
is qt the frontend?
Avatar
I'm just looking to setup the dev environment for front and back end
5:12 PM
not really good with front ends though
Avatar
Backend depends on the part in use, most often rust or cpp musl
5:13 PM
So ot depends what you want to develop for backend
5:14 PM
Or it could be just scripts
Avatar
Which one would you recommend for someone who's got some c knowledge, and no rust knowlegde
Avatar
Well cpp obviously, but rust is not hard
Avatar
so I've heard
5:16 PM
I have the kobo n905b and n905c
5:16 PM
just look
5:17 PM
so for qt: sudo mkdir -p /home/build/inkbox and give permission to that folder for your user
5:17 PM
there, in that folder clone this repo https://github.com/Kobo-InkBox/compiled-binaries
5:18 PM
and looking at that repo and the guide, you should be able to figure out how to create a qt creator kit
5:18 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
5:18 PM
and here is everything you need for qt
5:19 PM
as for backend - pick a project you want to tinker with and i will write a guide for it
5:19 PM
look at inkbox organisation, there are many parts of the system
5:19 PM
also root your devices in diagnostics if you havent already
5:19 PM
for any questions, feel free to ask them
Avatar
Avatar
Szybet
also root your devices in diagnostics if you havent already
Wondering about this
5:20 PM
Also what backend components are in desparate need of another set of hands? (edited)
Avatar
Avatar
DobaMuffin
Wondering about this
when the device boots, spam the power button, in diagnostics mode there will be something about rooting, click it
Avatar
Avatar
DobaMuffin
Also what backend components are in desparate need of another set of hands? (edited)
desparate i dont think any - but improvements for sure Inkbox power daemon - cpp, musl, manages a lot of things explore_local_library - shell script, improvement / rewrite in something better would be good inkbox ( backend code ) - cpp / qt, we need code improvements because its not good init - plain c, needs a lot of c magic
5:25 PM
maybe there are more
Avatar
What's up with init
5:27 PM
That the bootloader and other loaders?
Avatar
it manages filesystems, starts open rc, checks for security things, unpacks things, manages progress bar
5:28 PM
the code it questionable in some places
Avatar
I think that would be a good start for me
Avatar
if you know c, yep
5:30 PM
InkBox OS' initialization program source. Contribute to Kobo-InkBox/inkbox-os-init development by creating an account on GitHub.
Avatar
Ah, nice and small file
Avatar
splitting it into functions & files would be cool too...
Avatar
Will see what I can do. May take a while to do anything though
👍 1
5:40 PM
What other files rely on init?
Avatar
to compile, thats it?>
Avatar
yeah
5:41 PM
Oh ok.
5:41 PM
Just a lot of functions in the .h file
Avatar
I figured they must be getting called from other c functions too
5:42 PM
but if they are not, then I have a starting point for what to edit
Avatar
Avatar
DobaMuffin
I figured they must be getting called from other c functions too
its possible, im not sure, im not the authout
Avatar
ok.
5:44 PM
@tux-linux is the init.h header used anywhere else in the codebase?
Avatar
for 99% no
5:49 PM
so dont mind it
Avatar
I was more worried about if I split the init into several files, then I need to modify the headers accordingly
Avatar
its the only c program in use
5:56 PM
propably
5:56 PM
so no worries really
Avatar
ok
Avatar
Avatar
Szybet
desparate i dont think any - but improvements for sure Inkbox power daemon - cpp, musl, manages a lot of things explore_local_library - shell script, improvement / rewrite in something better would be good inkbox ( backend code ) - cpp / qt, we need code improvements because its not good init - plain c, needs a lot of c magic
c magic is fine...
6:20 PM
oh, something you could do: integrate fbdepth native library in inkbox power daemon
6:21 PM
InkBox Power Daemon (IPD) source code. Contribute to Kobo-InkBox/inkbox-power-daemon development by creating an account on GitHub.
Avatar
why
Avatar
nah, let him start with init
6:22 PM
he already begun
Avatar
what will he do
Avatar
Avatar
Szybet
he already begun
he just forked it
6:22 PM
do note that on github, I would estimate that 75% of forks never get a new commit hehe
6:23 PM
not to stop anything, but i think init is fine it's using magic, but it works so if it ain't broke, don't fix it
Avatar
but improve it :D
Avatar
Avatar
tux-linux
what will he do
split into files i think
Avatar
My whole idea is to split the files in 2 so that there is a helper file, and the main init code in a different file.
Avatar
functions in helper file?
Avatar
yeah
6:25 PM
A lot of simple functions can be separated from the init code
👍 1
Avatar
good idea
6:26 PM
buit maybe look into power daemon code - its split based on functionality
Avatar
yeah I can look into that too
Avatar
Avatar
tux-linux
oh, something you could do: integrate fbdepth native library in inkbox power daemon
Which library is that?
Avatar
Ah I see now
Sancho joined the server. 7/15/2023 6:33 PM
Avatar
hello, what brings you here?
Avatar
hello, I was looking for an e-reader OS without bloat and I stumbled upon this community. I joined the discord to have the most updated info about supported devices as I have yet to buy the e-reader
👍 1
Avatar
Avatar
Sancho
Click to see original message
Avatar
cool, let us know if you need help
Avatar
Avatar
Sancho
hello, I was looking for an e-reader OS without bloat and I stumbled upon this community. I joined the discord to have the most updated info about supported devices as I have yet to buy the e-reader
one of the most common models people have been buying recently is the Nia, but there is a chance you will get a hardware revision that isn't supported yet. It is also the weakest model, so something else may run better/faster
6:59 PM
I think there is a clara model that is also either already supported or will be soon, cant remember the details
Avatar
glo hd is currently a fairly good option (edited)
6:59 PM
clara hd is in the porting process
6:59 PM
I am doing it myself
Avatar
Avatar
tux-linux
I am doing it myself
How hard is it to port new models to the existing base OS ?
Avatar
Hard
Avatar
Avatar
Kuratius
one of the most common models people have been buying recently is the Nia, but there is a chance you will get a hardware revision that isn't supported yet. It is also the weakest model, so something else may run better/faster
Its the cheapest and newest hehe but yes
Avatar
Avatar
Sancho
How hard is it to port new models to the existing base OS ?
Hard? Maybe, impossible? Maybe, but easy? Maybe too? Time consuming so most people give up? Certainly
Avatar
you summed it up
tux-linux pinned a message to this channel. 7/15/2023 7:26 PM
Avatar
Is there a guide on porting devices somewhere? And more generally, what does porting a device involve in terms of tasks/skills and material/software?
Avatar
Guide, well there are some partial ones
7:32 PM
The most knowledge is in porting threads
7:32 PM
Long lectures
7:33 PM
Well usb uart is needed for sure, dissasembling the device too
7:33 PM
As for skills, you can learn on the way, like nothing is impossible you can learn everything but programming, linux background and maybe a bit of electronic knowledgr can help
7:37 PM
The project was started, and contributed by people that didnt knowed almost anything at the start, maybe basics There were magicians with big knowledge that helped a bit, but still you got the point on that
REM joined the server. 7/16/2023 11:38 AM
giplt joined the server. 7/16/2023 12:19 PM
˞˞˞˞˞ joined the server. 7/16/2023 12:54 PM
Avatar
Um welcome everyone???
Avatar
Hmm i just wanna ask can I dual boot nickel and inkbox at the same time?
Avatar
It can be done, you would need to develop it So in short, possible but nope
Avatar
It already exists For emmc models
1:56 PM
Better just swap your SD card
Avatar
i have a clara 2e so i'm ineligible but im fascinated how this stuff works
Avatar
we made the kobo niaC* model kernel to work on nickel, clara 2e uses the same kernel so its 50% done already (edited)
7:47 PM
you could help
7:47 PM
if you have time and will
7:47 PM
¯\_(ツ)_/¯
Avatar
ooh, i'm very new to all this so i have a lot to learn but i do have a lot of time and will at present so
Avatar
just look up #deleted-channel and replicate the steps / learn
Avatar
tyvm for the guidance!
Avatar
it may be more complicated but yea, feel free to ask
matty12345 joined the server. 7/17/2023 7:12 PM
Avatar
Avatar
matty12345
Click to see original message
Avatar
Thanks for the invite
Avatar
the other server is mostly dead
7:13 PM
here we are doing things
7:13 PM
like im writing a matrix client for inkbox right now
7:13 PM
…load file dialog, keyboard in join rooms and log in screens, dont allow many rooms to launch, option to clean cache, option to repaint room dialog
Avatar
when will you add history
7:14 PM
but seriously it may actually work
Avatar
then it's basically irc
Avatar
maybe sometimes not
7:14 PM
let me try
👍 1
Avatar
Is there something wrong with the libra 2, how come its not compatible with inkbox?
Avatar
we are only two people working on developing it
Avatar
there is something wrong with people, they start porting and give up in the middle of the task No one ported it yet, it maybe has an eemc which can make it harder
Avatar
Avatar
Szybet
there is something wrong with people, they start porting and give up in the middle of the task No one ported it yet, it maybe has an eemc which can make it harder
they give up at 1/8 of the task
Avatar
Lol
Avatar
there have been already at least 10 people trying to port the clara
7:19 PM
everyone left
7:19 PM
right @atro ? XD
Avatar
i decided to do it myself
Avatar
I feel ya, it happens.
Avatar
we had been waiting two years
Avatar
i hoped that open source is awesome
7:20 PM
as for now its for 75% dissapointing
Avatar
Kek
Avatar
the other 25% is the one* donation and support i received with my sanki app (edited)
7:20 PM
thats it
7:20 PM
¯\_(ツ)_/¯
Avatar
@tux-linux loading works
Avatar
nice
Avatar
idk of what it depends that sometimes it doesnt
7:34 PM
but hey
Avatar
@tux-linux followed your chroot alpine linux instructions on the koreader terminal emulator, 👍 worked a treat, thanks for putting that information out there.
Avatar
nice
2:38 AM
Avatar
I have considered it, whats holding me back is that this is my only ereader and I don't want to fuck it trying to pry it open getting the sd card out. Not that i have seen inside but I would be expecting the pcb to be conformally coated to get that ipx8 rating, I actually don't want to lose my waterproofing just yet. If I had an old one hanging around I'd probably be more into the idea.
Avatar
what's your device again
Avatar
Libra 2
Avatar
oh ok
2:48 AM
well inkbox has not even been ported yet (edited)
Avatar
This might be a bit silly of me to ask but, whats involved in porting it over? Just the kernel would be different?
Avatar
for a pretty accurate description of how complicated porting can be, check the clara hd or glo hd thread
2:54 AM
https://discord.com/channels/809205711778480158/966554812567130152/966554813938692126 Or, the worst of them all So hard we didn't even succeed in porting it
Avatar
Its a pretty interesting process, I might see what I can find on ebay.
👍 1
Avatar
are there other servers related to eink/kobo homebrew?
Avatar
active ones? not really
Truffles joined the server. 7/19/2023 9:22 AM
Avatar
Avatar
Truffles
Click to see original message
Sticker
9:22 AM
helo
Avatar
Hello!
Avatar
hello, what brings you here?😄
Avatar
I was wondering if there was a way to get inkbox running on my old touch, but it seems it's not possible at this point
9:30 AM
at least from what I'm reading
Avatar
where and what are you reading?
Avatar
I was seaching in the porting thread. It's an original N905, not b or c
Avatar
propably no one tried yet
Avatar
it has internal storage not an sd card
Avatar
everything is possible
9:36 AM
¯\_(ツ)_/¯
Avatar
Yeah, but my skill level is very low, lol
Avatar
There is already a porting thread
dragonfly joined the server. 7/19/2023 3:23 PM
Avatar
Avatar
dragonfly
Click to see original message
Avatar
test
Avatar
welp
Avatar
[matrix] tux-linux BOT 7/19/2023 5:28 PM
here it does
5:28 PM
nice
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:30 PM
But well it is quite secure for an ereader
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:42 PM
The offer I found for the nia got sold :( I got a couple for the glo tho, is it worth going for the nia for ~2x the price? What is better in the newer model?
Avatar
its worth if its half the price
4:42 PM
clara maybe
4:42 PM
its not ported tho
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:44 PM
Only thing I found out about the nia is that it has a better procesor and more storage but this seems insignificant considering it has an sd slot, anything else?
Avatar
Avatar
Szybet
clara maybe
matterbridge BOT 7/20/2023 4:44 PM
[matrix] Maximilian Gaedig ⚡️ I meant like the difference between nia and glo
Avatar
idk really, not much
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:46 PM
The glo also has an sd internally?
4:46 PM
or is it emmc
Avatar
sd card
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:52 PM
Hmm it's so weird how in so many years almost nothing has changed
4:52 PM
Will get the glo then
Avatar
[matrix] Szybet BOT 7/20/2023 4:53 PM
because of monopoly and its a simple device but the eink technologi is diffrent a bit
4:53 PM
also im not sure about glo being compatibvle
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:55 PM
compatible with inkbox?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:56 PM
oh, why's that?
4:56 PM
the processor too old?
Avatar
there are 2 hglos
4:56 PM
the hd one is ported
4:56 PM
the other one not sure
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:56 PM
ah
4:57 PM
on the site it says both
4:57 PM
are supported
Avatar
well then both
4:57 PM
¯\_(ツ)_/¯
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:57 PM
which one have you got? the nia?
Avatar
i ported the nia
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:58 PM
ah, and tux-linux?
Avatar
[matrix] Szybet BOT 7/20/2023 4:58 PM
he has every other device supported
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 4:59 PM
oh damn that's a lot
Avatar
Whats his daily driver tho
Avatar
[matrix] Szybet BOT 7/20/2023 4:59 PM
a book device
4:59 PM
loool
4:59 PM
i mean the android ones
4:59 PM
this is so funny
4:59 PM
and sad
4:59 PM
and funny
5:01 PM
i daily drive the nia even in school for note taking, with a keyboard
Avatar
glo hd is better
Avatar
Avatar
[matrix] Szybet
a book device
boox
5:15 PM
mainly because of the screen size
5:15 PM
i don't read
5:15 PM
:/
Avatar
Avatar
tux-linux
i don't read
matterbridge BOT 7/20/2023 5:15 PM
[matrix] Maximilian Gaedig ⚡👀
Avatar
i use it for reading music partitions or taking notes at school
5:15 PM
mainly
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡👀
well, when I read, I have a really interesting book
5:16 PM
and it happens what, once in two years?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:16 PM
oh interesting, I thought you developed this mailny as a book reader software
Avatar
well, i do
5:16 PM
my boox device doesn't run inkbox
5:17 PM
i don't have plans to hack it
Avatar
Avatar
tux-linux
i don't read
matterbridge BOT 7/20/2023 5:17 PM
[matrix] Szybet at all?
Avatar
it maybe is better left like that
5:17 PM
  • it's android
  • no kernel sources available, chinese company
  • no developer community at all
Avatar
[matrix] Szybet BOT 7/20/2023 5:17 PM
you developed an ereader os and you dont read
Avatar
for the second point i guess i could push a bit and try to tackle it but i have other things to do
Avatar
Avatar
[matrix] Szybet
you developed an ereader os and you dont read
yes, how can i have time to read if im doing this
Avatar
Avatar
[matrix] Szybet
you developed an ereader os and you dont read
matterbridge BOT 7/20/2023 5:18 PM
[matrix] Maximilian Gaedig ⚡️ lmao
Avatar
as i said, i only really read when the book is really interesting and that very rarely happens so tldr i pretty much don't read, even if sometimes there are exceptions
Avatar
[matrix] Szybet BOT 7/20/2023 5:22 PM
on the other point its not like we focus on reading with inkbox
5:22 PM
all those apps
5:22 PM
lol
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:23 PM
I don't read much either, I've used to, trying to come back to it
Avatar
well so you both are hypocrites hehe
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:25 PM
First gotta get myself an open source ereader with custom software, this will surely help :)))
Avatar
good
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:25 PM
I am interested in using it for different purpouses too tho
5:26 PM
A device with such a long battery life and with a system where you have so much control you can take everywhere
Avatar
bear in mind: it's not a desktop pc it will be slow (edited)
Avatar
[matrix] Szybet BOT 7/20/2023 5:27 PM
dont expect super battery life with wifi
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:28 PM
you dont need wifi for note taking for example
Avatar
[matrix] Szybet BOT 7/20/2023 5:28 PM
yep
Avatar
you need otg keyboard that sucks power
Avatar
[matrix] Szybet BOT 7/20/2023 5:28 PM
but matrix client, rss client
Avatar
so, it's a tie
Avatar
Avatar
tux-linux
you need otg keyboard that sucks power
matterbridge BOT 7/20/2023 5:28 PM
[matrix] Szybet nope hehe
Avatar
Avatar
[matrix] Szybet
yep
matterbridge BOT 7/20/2023 5:29 PM
[matrix] Maximilian Gaedig ⚡️ how long does it last for you?
Avatar
[matrix] Szybet BOT 7/20/2023 5:29 PM
kobos need external power, they need to be charged to make usb host to work
Avatar
Avatar
tux-linux
you need otg keyboard that sucks power
Is it possible to use a powered usb hub? Maybe on one of those portable usb chargers it would last longer
Avatar
[matrix] Szybet BOT 7/20/2023 5:30 PM
so you use a external power source: power bank
Avatar
well, yea, but still, kinda defeats the point of long battery life
Avatar
[matrix] Szybet BOT 7/20/2023 5:30 PM
or my abomination: hot swappable batteries with a custom circuit on the back of the ereader
Avatar
Avatar
matty12345
Is it possible to use a powered usb hub? Maybe on one of those portable usb chargers it would last longer
matterbridge BOT 7/20/2023 5:30 PM
[matrix] Szybet listen to me when it gets to usb
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ how long does it last for you?
matterbridge BOT 7/20/2023 5:31 PM
[matrix] Szybet i dont complain, idk as i said, i use external hot swapable batteries
Avatar
Avatar
[matrix] Szybet
or my abomination: hot swappable batteries with a custom circuit on the back of the ereader
matterbridge BOT 7/20/2023 5:31 PM
[matrix] Maximilian Gaedig ⚡️ you got a pic?
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
5:31 PM
pcb folder
5:31 PM
and keyboard folder
5:31 PM
look there for pics
Avatar
Pretty snazzy
Avatar
[matrix] Szybet BOT 7/20/2023 5:34 PM
yea
5:34 PM
this is the reason i jopined this project
5:34 PM
i had this vision
5:34 PM
ereader device with jack audio
5:34 PM
and mouse / keyboard was a side project
Avatar
How long has this been in the works?
Avatar
the project?
5:35 PM
2.5y
Avatar
[matrix] Szybet BOT 7/20/2023 5:35 PM
i completed ita few weeks ago
Avatar
started in feb. 2021
Avatar
I meant his abomination
Avatar
[matrix] Szybet BOT 7/20/2023 5:35 PM
over a year
Avatar
[matrix] Szybet BOT 7/20/2023 5:35 PM
i needed to help with inkbox because it was horrible for me
5:36 PM
so it took longer
5:36 PM
also electrical engineering is hard when you are stupid
Avatar
Avatar
[matrix] Szybet
over a year
matterbridge BOT 7/20/2023 5:36 PM
[matrix] Maximilian Gaedig ⚡️ insane dedication
Avatar
Indeed it can be a challenge
Avatar
[matrix] Szybet BOT 7/20/2023 5:36 PM
took me 2 months to figure out it
Avatar
i think we are both insane
5:36 PM
first szybet is insane for having stayed in the project for more than one year and i am insane for having started it and having maintained it for this long (edited)
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ insane dedication
matterbridge BOT 7/20/2023 5:36 PM
[matrix] Szybet i also ported the nia, learned qt cpp for that
Avatar
Avatar
tux-linux
i think we are both insane
matterbridge BOT 7/20/2023 5:37 PM
[matrix] Szybet yep
Avatar
Avatar
tux-linux
first szybet is insane for having stayed in the project for more than one year and i am insane for having started it and having maintained it for this long (edited)
matterbridge BOT 7/20/2023 5:37 PM
[matrix] Szybet idk if you registered but i will stop such active contribution starting this school year
Avatar
Idk i think its pretty cool. Sanity is overrated
Avatar
Avatar
matterbridge
[matrix] Szybet idk if you registered but i will stop such active contribution starting this school year
well, you told me you wouldn't have much time
Avatar
[matrix] Szybet BOT 7/20/2023 5:38 PM
also i hope inkbox will be completed at this time
5:38 PM
minimal what i expect from it
Avatar
how can it be completed
Avatar
matterbridge BOT 7/20/2023 5:39 PM
[matrix] Maximilian Gaedig ⚡️ Knew it, Szybet jesteś z polski
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:39 PM
Your name sounded very polish
5:39 PM
my theory got confirmed when you linked a polish store for your keyboard
Avatar
Avatar
tux-linux
how can it be completed
matterbridge BOT 7/20/2023 5:39 PM
[matrix] Szybet proper reader and settings, a bit redesigned apps and code and thats it
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
Your name sounded very polish
matterbridge BOT 7/20/2023 5:40 PM
[matrix] Szybet Szybet brzmi po polsku? co ty
Avatar
Avatar
matterbridge
[matrix] Szybet Szybet brzmi po polsku? co ty
matterbridge BOT 7/20/2023 5:40 PM
[matrix] Maximilian Gaedig ⚡️ Noo sz
Avatar
[matrix] Szybet BOT 7/20/2023 5:41 PM
watpie bys ty byl polakiem, p[rzynajmniej po nicku
Avatar
Avatar
[matrix] Szybet
watpie bys ty byl polakiem, p[rzynajmniej po nicku
matterbridge BOT 7/20/2023 5:41 PM
[matrix] Maximilian Gaedig ⚡️ nooooo z niemiec jestem ale od 6 lat w polsce mieszkam
Avatar
[matrix] Szybet BOT 7/20/2023 5:41 PM
a no spoko
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:49 PM
it's not quite clear to me, how is the keyboard connected?
Avatar
[matrix] Szybet BOT 7/20/2023 5:49 PM
custom connector made out of magnets and gold pins, there a usb connection goes to the top and connects to the usbhub
5:50 PM
its not the best, but its detachable and its working so its fine
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:52 PM
I'm interested in a small device that can be used as a terminal for servers/note taking with vim, this could propably be done, but the keyboard is quite large, maybe making it foldable would be an option
Avatar
[matrix] Szybet BOT 7/20/2023 5:52 PM
could be used for that this keyboard is the smallest / cheapest i could find
5:52 PM
and reasonable working, the cheap "tablet" ones are horrible
5:53 PM
also, how foldable keyboard???
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:53 PM
Microsoft Universal Foldable Bluetooth czarna w x-kom.pl > Odbiór za 0 zł w dowolnym salonie, błyskawiczna wysyłka. Zapewniamy inteligentny wybór.
Avatar
[matrix] Szybet BOT 7/20/2023 5:53 PM
its bluettoth
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:53 PM
that one doesn't look that good tho, I've seen better ones
Avatar
[matrix] Szybet BOT 7/20/2023 5:54 PM
you could in theory connect an usb adapter to make bluettoth work + drivers
Avatar
Avatar
[matrix] Szybet
its bluettoth
matterbridge BOT 7/20/2023 5:54 PM
[matrix] Maximilian Gaedig ⚡️ but surely there are some 2.4ghz
Avatar
[matrix] Szybet BOT 7/20/2023 5:54 PM
but i wont charge a keyboard, never
5:54 PM
i refuse to create new problems
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ but surely there are some 2.4ghz
matterbridge BOT 7/20/2023 5:55 PM
[matrix] Szybet thats better, but i had problems with mouses 2.4 on kobo
Avatar
[matrix] Szybet BOT 7/20/2023 5:55 PM
it could work, but maybe not, maybe im missing something
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:55 PM
yeaa
Avatar
[matrix] Szybet BOT 7/20/2023 5:55 PM
i could get 6 platinet keyboards
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:55 PM
that's not that cheap
Avatar
[matrix] Szybet BOT 7/20/2023 5:56 PM
for 300 zl i would make my own keyboard and 3d print a case
5:56 PM
here is something much more economical already
5:57 PM
problem is they are thicc
5:57 PM
my ideal device would fit in my pocket
Avatar
[matrix] Szybet BOT 7/20/2023 5:57 PM
my setus uses the keyboard as a base for the ereader to stand
5:57 PM
i added a half kg steel bar to the bottom so it would be stable
5:57 PM
lol
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:58 PM
Until now I have experimented with my phone for a portable development device, but they keyboard is the biggest problem
Avatar
[matrix] Szybet BOT 7/20/2023 5:58 PM
idk how its solved on ereaders?
Avatar
Avatar
[matrix] Szybet
i added a half kg steel bar to the bottom so it would be stable
matterbridge BOT 7/20/2023 5:58 PM
[matrix] Maximilian Gaedig ⚡️ yeah that's not going into the pocket lol
Avatar
Avatar
[matrix] Szybet
idk how its solved on ereaders?
matterbridge BOT 7/20/2023 5:58 PM
[matrix] Maximilian Gaedig ⚡️ wdym
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 5:59 PM
ereaders just don't have a keyboard same as phones, this is the biggest problem with mobile devices imo
Avatar
You mean the on screen kb?
Avatar
[matrix] Szybet BOT 7/20/2023 5:59 PM
you could make a software one
5:59 PM
we have them, the ones in sanki, nachat are good
6:00 PM
in inkbox not so much
Avatar
Avatar
[matrix] Szybet
you could make a software one
matterbridge BOT 7/20/2023 6:00 PM
[matrix] Maximilian Gaedig ⚡️ yeah ofc but that's not really usable
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 6:00 PM
that's my problem
Avatar
[matrix] Szybet BOT 7/20/2023 6:00 PM
¯\_(ツ)_/¯
Avatar
Avatar
[matrix] Szybet
in inkbox not so much
excuse me
Avatar
[matrix] Szybet BOT 7/20/2023 6:01 PM
it flickers, doesnt have a cursor, is on the center of the screen, and its small
Avatar
iterm??
Avatar
[matrix] Szybet BOT 7/20/2023 6:01 PM
i didnt say iterm
Avatar
iterm uses inkbox keyboard
Avatar
[matrix] Szybet BOT 7/20/2023 6:01 PM
modified
Avatar
still
Avatar
[matrix] Szybet BOT 7/20/2023 6:02 PM
doom.png
6:02 PM
6:02 PM
progress with doom hehe
Avatar
green line
Avatar
[matrix] Szybet BOT 7/20/2023 6:03 PM
its propably pure memory lol
Avatar
matrix
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 6:14 PM
tux-linux do you use the glo (not hd) sometimes? is it good?
Avatar
[matrix] Szybet BOT 7/20/2023 6:15 PM
he mostly uses it for developing inkbox i think
Avatar
yes, it's fine a bit slow
6:15 PM
but usable
6:15 PM
awful screen tho
6:15 PM
well, the one i have
6:15 PM
even a kobo touch's screen is better in terms of darkness in comparison
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/20/2023 7:13 PM
I assume it should be fine tho processor wise, it ran android, 2.3.4 to be fair but still, inkbox seems very optimized so it should be not that bad
Avatar
its not
7:59 PM
but its the best open source ereader os
7:59 PM
its the only one
7:59 PM
┬─┬ノ( º _ ºノ)
edddd_sm joined the server. 7/20/2023 9:06 PM
Avatar
Avatar
edddd_sm
Click to see original message
9:07 PM
Hello what brigs you here
Avatar
Avatar
Szybet
its not
matterbridge BOT 7/21/2023 9:13 AM
[matrix] Maximilian Gaedig ⚡️ You think its worse than kobos one?
Avatar
nickel doesnt have so many apps, features
9:34 AM
it focuses on reading and its better at it
9:35 AM
screen flashing is also better optimised
Zhelan joined the server. 7/21/2023 3:17 PM
Avatar
hello, what brings you here
Avatar
Avatar
Zhelan
Click to see original message
Sticker
3:18 PM
I'm considering buying a kobo ereader
3:18 PM
where I can install the custom os
3:18 PM
which one would be the most recent that you could advise
Avatar
the glo hd is your best bet
3:19 PM
clara hd is in porting process
3:19 PM
or you can also go for the Aura SE n236, it's not too bad
Avatar
yes, glo hd n437
Avatar
nice do they have the front yellow light ?
Avatar
How far along is the clara dev ?
3:25 PM
tl;dr It is pretty far but I can't currently guarantee that basic things like having a decent eInk display update mode will work
Avatar
Yes I was reading your latest posts
3:25 PM
Keep up the good work
3:25 PM
Kobo's kernel is open source right
3:25 PM
that's why there is not so much hacking to be done ?
Avatar
there is a lot of hacking to be done even if the kernel is open sourced as a matter of fact, this kernel is stuck at an old Linux version and never updated Clara HD uses a 5.16 kernel which has been upstreamed with rewritten device drivers, it has been done by @andi and some others
Avatar
ah ok 🙂
3:27 PM
Thanks for making this project
👍 1
Avatar
so the glo hd is the best option, you could also go for the nia but it has less RAM and the new variant (C) isn't currently compatible, so you have to look for the right one (A) @Szybet can give you more details on it
Avatar
Yes, it seemed like it was hard to see which nia was which without opening them up
Avatar
yea
Avatar
And why are some firmware on the website available only if asked
3:30 PM
?
3:31 PM
only per request?
Avatar
i didn't take time to make images, or it's too dangerous for the average user to install, or both
3:32 PM
Well thanks for the lovely chat. I'll let you know once I put my hands on one of these relics. I'll be lurking ebay and kleinanzeigen
👍 1
3:32 PM
🙂
Avatar
Avatar
tux-linux
so the glo hd is the best option, you could also go for the nia but it has less RAM and the new variant (C) isn't currently compatible, so you have to look for the right one (A) @Szybet can give you more details on it
matterbridge BOT 7/21/2023 3:44 PM
[matrix] Szybet Its almost done, we have an image which is usable but not perfect
jldavid69 joined the server. 7/23/2023 1:52 AM
Avatar
Avatar
jldavid69
Click to see original message
1:55 AM
Hi everyboby
👋 1
Avatar
@Szybet Can you screenshot or copy the output of "top" while running inkbox? (edited)
Avatar
Avatar
jldavid69
Click to see original message
Sticker
RushOne joined the server. 7/23/2023 3:20 PM
Avatar
hello! what brings you here
Avatar
Hi just wanted to day amazing work, going to be installing shortly on a glo hd
👍 1
3:20 PM
Very cool project
3:21 PM
I also like your crunchbang icon I used to use crunchbang linux long time ago
👍 1
Avatar
i think its a regular shell icon logo something
Avatar
Oh, I’m a normie so this is all I know it from https://crunchbang.org
CrunchBang is a Debian GNU/Linux based distribution offering a great blend of speed, style and substance. Using the nimble Openbox window manager, it is highly customisable and provides a modern, full-featured GNU/Linux system without sacrificing performance.
Avatar
Curious, did you make your own reader application for epub for this OS?
Avatar
sadly, yes
Avatar
That is amazing
Avatar
no, its not the best one
3:31 PM
its an ok one
Avatar
I'm sure it'll be great, I am a simple user.
👍 1
Avatar
The power in the os is in user apps
Avatar
Beautiful
👍 1
3:49 PM
I make this post a long time ago, great ereader still working today https://www.mobileread.com/forums/showthread.php?t=309576
Avatar
honestly i think it is better than the clara
🔥 1
3:51 PM
hw wise
3:51 PM
screen looks better imo
3:52 PM
Avatar
They made a device too good
3:53 PM
How many kobo do you have?
3:53 PM
10?
3:53 PM
idk
Avatar
Wow haha, one for every development
Avatar
yea
Avatar
Is there documentation on how to mount the internal storage? My host machine is windows, and I'm only seeing a 512mb device when usb mounted, while the sd card is 32gb.
Avatar
it is supposed to be like that you can increase the size eassly, its described on the wiki
Avatar
Oh okay so that is the correct partition
4:45 PM
I'd like to think I'm of average intelligence, but I cannot find that anywhere on the wiki
Avatar
fixed
Avatar
I added the page in category inkbox
👍 1
Avatar
Got it, I am not crazy 🤣
👍 1
4:48 PM
Is this project intended for powerusers only or for wider audience? Feel like a quickstart guide for using as simple ereader would be helpful for less savvy, could help with it once I figure out myself. (edited)
4:51 PM
I seem to have successfully installed InkBox onto a beat up Kobo Nia. This is cool as its original firmware seems to have died. But... I have little idea how to actually use it and see no user docu...
4:51 PM
look here for docs
4:51 PM
i mean for the explanation of the lack of them lol
Avatar
No problem, I am not criticizing I totally understand. I would be willing to help with additional english documentation specifically for Windows users because that will be largest audience.
Avatar
would be cool
b1sk joined the server. 7/23/2023 5:06 PM
Avatar
Avatar
b1sk
Click to see original message
5:07 PM
Wow hello what brings you here
5:07 PM
a lot of people today
Avatar
Hi all, noob here. Where can I find the installation guide and files for Kindle touch? Thanks
5:14 PM
sorry
5:14 PM
its also hard to install
5:14 PM
so welp
Avatar
Would it be reasonable to start the inkbox disk images at set SD card sizes like 16gb and 32gb, then any size beyond that provide documentation?
5:35 PM
To make it easier, as Windows users require 3rd party software to manage the partition tables.
Avatar
currently its a bad implementation - it could be done that the ereader resizes the partition to the max
5:36 PM
available, without user interaction
Avatar
Ah I see, like at first boot?
Avatar
if the project survives, then sure this could be made
5:36 PM
yep, exactly
Avatar
Are there any special steps to get the OS to recognize the changed size of the onboard file?
7:59 PM
All of the commands appear to have run but mounting usb is still 512mb
Avatar
then you have done something wrong
8:14 PM
what have you done?
Avatar
I will try again on a bare metal machine, I think virtual machine was causing issues with mounting and write
Avatar
remember to sync after writes
Avatar
luismaylon1234q 7/24/2023 7:05 AM
There's some app to see my fedd rss on inkbox os ?
raven joined the server. 7/26/2023 3:51 PM
Avatar
Avatar
raven
Click to see original message
Avatar
Avatar
raven
Click to see original message
Sticker
Avatar
hi folks. Automated? 😄 that was fast
Avatar
nope, not automated
Avatar
Idk it just popped up on my phone
Avatar
What brings you here
Avatar
I was looking at FOSS e-book readers, because my nook simple touch is dissolving. And I could only find koreader or inkbox, and from the looks of the code, liked inkbox more 🙂 (edited)
3:53 PM
so just checking around, considering buying a Kobo to flash it with Inkbox
Avatar
code? you looked at code?
3:54 PM
like programming?
Avatar
code quality, language or what?
Avatar
code quality, architecture, features wanted from the project
Avatar
Well, maybe you don't like Lua, but koreader is more mature (edited)
qaqa joined the server. 7/26/2023 3:59 PM
Avatar
This project are developing 2 students who are learning to code, basically from ground up Koreader is old old and was programmed by hundrets of wizards Idk how you can say our code is better
Avatar
What's happening
Avatar
Avatar
qaqa
Click to see original message
Sticker
Avatar
I like the minimal approach of inkbox
👍 1
Avatar
Avatar
Szybet
This project are developing 2 students who are learning to code, basically from ground up Koreader is old old and was programmed by hundrets of wizards Idk how you can say our code is better
Yes
4:00 PM
Minimal?
Avatar
Lack of features?
4:01 PM
Well cool that you have such opinion. Do you plan to contribute? I also choose opem source software but I dont review the code if i dont plan to change it
Avatar
We are not trying to convince you not to use InkBox, we are just surprised by the way you see the project
Avatar
I dunno, comparing with Koreader, koreader seems bloated for the features it provides
5:10 PM
plus, I prefer substituting the OS, I don't see much the point of only providing a new UI
Avatar
you have an unpopular way of seeing things
5:10 PM
that's good
5:10 PM
plus, looking around inkbox, I see Rust and other things, which is nice
Avatar
And the new UI will refuse to launch every month because of main UI system updates, or just happy accidents
Avatar
Lua is ok, but I just want a minimal UI in an OS. Don't need wifi or so
Avatar
we provide wifi but well
Avatar
And its so bloated it had a memory leak which made it unusable after a while
Avatar
then add how the org looks on github, how you have a matrix space, etc etc
5:11 PM
I can see the craftmanship difference between the 2 projects, even if all that is circumstantial
Avatar
Avatar
raven
plus, looking around inkbox, I see Rust and other things, which is nice
there has been a crusade to replace python with rust because it was slow and python is bad after all
Avatar
Avatar
raven
Lua is ok, but I just want a minimal UI in an OS. Don't need wifi or so
we use wifi for more stuff: apps: RSS reader, matrix client, syncthing...
5:13 PM
optional and modular
Avatar
I haven't look muched at it tbf. Could see myself using syncthing or the Rss reader
5:15 PM
this is going to be the usual silly question, but which Kobo would be the more recommended and somewhat featureful for inkbox?
Avatar
glo hd n437
Avatar
On second place is the kobo nia
Avatar
thank you both!
👍 1
Avatar
Deleted User 7/26/2023 8:10 PM
hello, i got a question is there any way to back up the kobo os on a kobo libra h2o (n873)?
8:11 PM
i know its got an emmc so no way to easily make an image of it
Avatar
How can I create a backup of a remote disk using SSH on my local machine and save it to a local disk? I've tried the following: ssh hostname@my.ip.address "sudo dd if=/dev/sdX " | \ dd of=/home/
8:13 PM
something like that would do
8:13 PM
or just using usb
8:13 PM
but for that wait for tux-linux
Avatar
You can do it with nc Or g_mass_storage from an initrd
Avatar
explain further to him that idea
Avatar
Deleted User 7/26/2023 8:20 PM
so i either need kernel/initrd with g_mass_storage to use it as a usb storage device, or i could copy it over ssh/nc
8:20 PM
im going to try with ssh/nc
Avatar
it propably already has those modules
Avatar
nc is probably the simplest
8:20 PM
It needs to be in an initrd
8:21 PM
Without using mmc
8:21 PM
i.e. without nickel running
Avatar
Deleted User 7/26/2023 8:54 PM
okay, i got the following partitions NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS mmcblk0 179:0 0 7.3G 0 disk |-mmcblk0p1 179:1 0 256M 0 part / |-mmcblk0p2 179:2 0 256M 0 part `-mmcblk0p3 179:3 0 6.7G 0 part /mnt/onboard mmcblk0boot0 179:8 0 4M 1 disk mmcblk0boot1 179:16 0 4M 1 disk mmcblk0rpmb 179:24 0 512K 0 disk do i back up all of them? (edited)
Avatar
mmcblk0
Avatar
Deleted User 7/26/2023 8:55 PM
alright, thanks
MrMr joined the server. 7/27/2023 5:27 AM
Avatar
Avatar
MrMr
Click to see original message
Avatar
Hello there, I just installed Inkbox on my glo hd, How do I expand the partition accessible by the user through USB? I expanded the user partition of the sdcard but when its connected by usb its around 500mb only
Avatar
never mind
5:32 AM
yes
5:32 AM
thankss
👍 1
bokononismo joined the server. 7/27/2023 7:36 PM
Avatar
hello, what brings you here
Avatar
hi
7:39 PM
i need inkbox os to kindle touch
Avatar
is it the original kindle touch from 2011
Avatar
yes
Avatar
i will make an image in the following days stay tuned
🙏 1
Avatar
ok. thank
👍 1
Avatar
[matrix] Harmen BOT 7/27/2023 10:11 PM
I keep my notes on InkBox in Hedgedoc, a collaborative markdown editor. Please feel free to add some of your notes as well. Maybe we can co-create some sort of user documentation in this way... See https://md.giplt.nl/5ogdx1ljSeqxE6GY-21CqQ
Avatar
Thanks, it's a great start
10:19 PM
You can also take screenshots from your device into a PNG file
10:19 PM
Is it rooted?
Avatar
awesome
Avatar
[matrix] Harmen BOT 7/27/2023 10:50 PM
No it's not rooted AFAIK, I still have a lot to figure out.
10:50 PM
Also on my device (Kobo Mini) I can't seem to install User apps or KoBox extensions. But first let's document what does work...
Avatar
you are the second person reporting this
Avatar
I will look into it
Avatar
[matrix] tux-linux BOT 7/27/2023 11:27 PM
Harmen: what's your issue? I can install them perfectly fine on my Glo
Avatar
glo is not the mini ytou know
Avatar
[matrix] tux-linux BOT 7/27/2023 11:28 PM
almost
Avatar
[matrix] Harmen BOT 7/28/2023 12:00 AM
When I copy the *.isa and *.isa.dgst for extensions into the KoBox-EXT drve and unplug the USB cable the KoBox menu is gone from the apps index. Similar when I copy User Apps into the .apps folder the User Apps menu disappears.
Avatar
@Szybet
Avatar
Avatar
[matrix] Harmen
When I copy the *.isa and *.isa.dgst for extensions into the KoBox-EXT drve and unplug the USB cable the KoBox menu is gone from the apps index. Similar when I copy User Apps into the .apps folder the User Apps menu disappears.
strange, because none of that happened here
Avatar
[matrix] Harmen BOT 7/28/2023 12:03 AM
Most of the time unplugging USB gets InkBox into some unresponsive state. Only power cycling brings it back. But the the apps menu is somehow damaged. When I remove the .isa file again it doesn't come back.
Avatar
it happens depending on the device usually plug/unplug again should make it unfreeze
Avatar
Without logs, shell we can only speculate
Avatar
[matrix] Harmen BOT 7/28/2023 12:04 AM
I have not figured out yet how to monitor what's going on. Does InkBox send system messages to the onboard UART connector? I could then hook that up and see what goes on.
Avatar
ssh via wifi or usb
12:05 AM
you need to root it
Avatar
[matrix] Harmen BOT 7/28/2023 12:05 AM
Ok, will try that over the weekend and report back.
👍 1
12:09 AM
I also recall another issue when unplugging the USB cable did bring the device back to life but somehow without refreshing the eink display. I found out by clicking the screen at random places in hope to hit a button, and sometimes that brought up a book, the home screen or whatever I seemed to have hit.
Avatar
strange (edited)
Avatar
[matrix] Harmen BOT 7/28/2023 12:10 AM
What logs should I look for?
Avatar
when you will be rooted connect to wifi echo true > /boot/flags/GUI_DEBUG restart inkbox_gui and copy-paste the output
12:11 AM
to root it you need to access diagnostics partition slide the power button a few times at boot and wait
12:11 AM
then you do reset as root
Avatar
[matrix] Harmen BOT 7/28/2023 12:14 AM
Ha, that goes straight into the manual :-)
👍 1
12:14 AM
Thanks, I will see if I can get a clearer idea of what is going on and let you know in a couple of days.
Avatar
good
Jacques Moineau joined the server. 7/28/2023 10:55 AM
Avatar
hello, what brings you here
crass00 joined the server. 7/28/2023 12:27 PM
𝔰𝔫𝔦𝔭𝔫𝔦 joined the server. 7/28/2023 8:35 PM
Avatar
Avatar
𝔰𝔫𝔦𝔭𝔫𝔦
Click to see original message
8:36 PM
welcome
Avatar
𝔰𝔫𝔦𝔭𝔫𝔦 7/28/2023 8:36 PM
Thanks
Avatar
Jacques Moineau 7/28/2023 8:36 PM
Hello, anybody can share the original fw for the kobo touch 905C ?
Avatar
firmware?
Avatar
Avatar
Szybet
firmware?
Jacques Moineau 7/28/2023 8:38 PM
yes
Avatar
Jacques Moineau 7/28/2023 8:39 PM
sadly they only share update, not the fw
Avatar
ask on mobilereads
Avatar
Jacques Moineau 7/28/2023 8:39 PM
mobilreads ?
Avatar
Jacques Moineau 7/28/2023 8:40 PM
Thanks you.
Avatar
[matrix] Harmen (@giplt:matrix.o BOT 7/29/2023 8:06 PM
I just encountered a weird problem. When booting from a fresh InkBox 2.0 image my Kobo Mini crashes with error code 2 in stead of launching the first-boot-configuration-sequence. Error code 2 refers to an invalid signature for the root fs. However I doubled checked the image checksum and that matches perfectly. What could be going on?
Avatar
Probably an error during flashing
8:07 PM
Or SD card issue
8:07 PM
Try to reflash it and be sure to sync writes to disk/eject it before putting it back into the reader
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 8:33 PM
Imagepipe_0.jpg
8:33 PM
8:33 PM
Got my kobo!!!!!!!!!!!
👍 1
8:34 PM
Its a glo
8:34 PM
Got it for 200zl
Avatar
congratulations
8:35 PM
the price is between good and bad
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
Click to see attachment 🖼️
cool, enjoy inkbox on it
Avatar
Avatar
Szybet
the price is between good and bad
matterbridge BOT 7/29/2023 8:54 PM
[matrix] Maximilian Gaedig ⚡️ Yeaaa shouldve negotiated, I always forget to do that lol
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:32 PM
1000007885.jpg
10:32 PM
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:32 PM
awesome, no problems
10:33 PM
just am curious, how does it preserve the waveform data when flashing it? (using the command provided on the website
Avatar
it doesnt
10:34 PM
there are warnings about it, and a guide to reapply the original one
10:34 PM
for 99.9% it doesnt matter
10:34 PM
the screen will work fine
10:34 PM
but it can be damaged if luck is not with you
10:34 PM
in the future if it will ever exist, inkbox installer will replace it :D
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:35 PM
oh, as in the screen can be damaged?
10:35 PM
eink calibration stuff
10:35 PM
didnt happened ever to inkbox users
10:35 PM
only once when nicolas applied a completly wrong waveform, then it made a mess
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:38 PM
and its irrecoverable?
Avatar
the damage he has done, yes
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:38 PM
how did it manifest?
Avatar
this example was like that
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:38 PM
but gotta say awesome ootb experience
Avatar
very bad contrast, refreshes leaving a lot of ghosting
Avatar
Avatar
Szybet
very bad contrast, refreshes leaving a lot of ghosting
matterbridge BOT 7/29/2023 10:39 PM
[matrix] Maximilian Gaedig ⚡️ ah, not that bad, at least usable
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:39 PM
but damn it would be good to put out a warning for that
10:40 PM
also copied the original sd onto the new one for nothing
10:40 PM
😭
Avatar
[matrix] Szybet BOT 7/29/2023 10:42 PM
there is
10:42 PM
there is also to make a backup
10:42 PM
;/
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:43 PM
10:43 PM
but ig fair if its somewhere in the wiki
10:44 PM
details
10:44 PM
on the download page
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:45 PM
oh yeah ofc just a disclaimer
Avatar
still, its enough
10:46 PM
obviously its a risk
10:46 PM
just like android custom roms
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:46 PM
I would include some mentioning about this waveform data before the installation, ideally on how to copy the data because that's propably the best way
Avatar
Avatar
Szybet
obviously its a risk
matterbridge BOT 7/29/2023 10:47 PM
[matrix] Maximilian Gaedig ⚡️ weeel, not really if you know what you are doing
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:47 PM
like apart from that waveform data this is basically safe
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ weeel, not really if you know what you are doing
nope, still risk. You cant be sure of everything
Avatar
Avatar
Szybet
Click to see attachment 🖼️
its there
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:48 PM
yea true i guess
Avatar
also as for copying, it more complicated but basically here: https://github.com/Szybet/eink-waveforms
Contribute to Szybet/eink-waveforms development by creating an account on GitHub.
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:48 PM
but isn't it better to by default have ppl clone the waveform data? seems like good practice
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
like apart from that waveform data this is basically safe
writing the wrong image can in theory start a fire from the battery / release magic smoke
Avatar
Avatar
Szybet
also as for copying, it more complicated but basically here: https://github.com/Szybet/eink-waveforms
matterbridge BOT 7/29/2023 10:49 PM
[matrix] Maximilian Gaedig ⚡️ oh okay so its not at the same sector everytime?
Avatar
Avatar
Szybet
writing the wrong image can in theory start a fire from the battery / release magic smoke
matterbridge BOT 7/29/2023 10:49 PM
[matrix] Maximilian Gaedig ⚡️ oh..
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:49 PM
that's fun
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
but isn't it better to by default have ppl clone the waveform data? seems like good practice
you need linux for that, so not easy
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ oh okay so its not at the same sector everytime?
im not sure, propably it isint
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ oh..
it never happened, but from electronical stand point, in theory very unlikely but yes
Avatar
Avatar
Szybet
you need linux for that, so not easy
matterbridge BOT 7/29/2023 10:50 PM
[matrix] Maximilian Gaedig ⚡️ well some sane system :)
Avatar
andi once did it, but he is a kernel developer so more of an edge case when he tinkered with that
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:52 PM
ah okay I see, the firmware extractor is an universal way
10:52 PM
well that's true that complicates the install process a bit, if there would be a graphical installer for non techy ppl to install it too this would be a good feature to add
10:53 PM
but now I understand why it's not there
10:53 PM
on that page
Avatar
if this project doesnt die, people will be interested then there will be a graphical installer for sure
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:54 PM
well it is alive for quite some time already, I hope it will continue, will try to contribute aswell
Avatar
for most of the time only one person worked on it
10:54 PM
now 2
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:55 PM
on a different note, where can I find the encryption settings/info about it?
Avatar
the issue is that the 2 are entering "adulthood" lol
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
on a different note, where can I find the encryption settings/info about it?
in settings
10:55 PM
im not sure if it will work ( encryption )
10:55 PM
should
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:56 PM
insannee lmao geany running on this
Avatar
pretty slow
Avatar
Avatar
Szybet
only once when nicolas applied a completly wrong waveform, then it made a mess
no, it was fine display still behaves strange but it's still usable
10:58 PM
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
pretty slow
matterbridge BOT 7/29/2023 10:58 PM
[matrix] Maximilian Gaedig ⚡️ its quite good imo
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:58 PM
for this device
10:58 PM
its zooooooming
Avatar
well, its good for an ereader
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
its zooooooming
?
Avatar
Avatar
tux-linux
no, it was fine display still behaves strange but it's still usable
matterbridge BOT 7/29/2023 10:58 PM
[matrix] Maximilian Gaedig ⚡️ yea noticed that too
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
its zooooooming
matterbridge BOT 7/29/2023 10:59 PM
[matrix] Maximilian Gaedig ⚡️ (for a kobo glo)
Avatar
well, my glo display already acts strange and it has the original waveform
10:59 PM
so maybe its just that
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 10:59 PM
As in there are a lot of refreshes
Avatar
thats normal
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:00 PM
and the letters look weirdly contrasted, but totally usable no problems at all tbh just little annoyances
Avatar
picture? (edited)
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:00 PM
when you type it gets shifted around wierdly and the blackness of the letters change
Avatar
uhm general eink issue i think
Avatar
Avatar
tux-linux
uhm general eink issue i think
matterbridge BOT 7/29/2023 11:02 PM
[matrix] Maximilian Gaedig ⚡️ well the keyboard too so I think this can be in theory fixed but I understand that if it's just X11 and it should run generic apps it's hard to optimize
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:04 PM
but don't get me wrong I love it all seems very usable and quite responsive
11:10 PM
seems its not that lightweight tho, boot and kobox uses a ton of battery
Avatar
its xorg
11:10 PM
soooo yea
11:11 PM
you can disable it to make the device faster overall
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:11 PM
oh okay, can I easialy reenable it?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:11 PM
and if enabled, does it run in the background the whole time?
11:12 PM
well, only the x server
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:12 PM
ohhh okay
Avatar
not in 100%, but it uses a bit of ram anyway
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:13 PM
The please charge your ereader (battery critical screen) is also something from inkbox or the internal chipset? (edited)
11:13 PM
inkbox
11:13 PM
but idk what dialog
11:13 PM
there are a few saying that
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:13 PM
oh wow very polished
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
The please charge your ereader (battery critical screen) is also something from inkbox or the internal chipset? (edited)
it's a qt layout
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
oh wow very polished
thanks
11:14 PM
seeing people compliment inkbox design is very rare
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:14 PM
I am absolutely amazed by the amount of polish in this open source app made by 2 devs
Avatar
most of the things are made by nicolas
11:14 PM
i polished / added a few
11:14 PM
power daemon, wifi, user apps
11:17 PM
oh and audio recently
Avatar
yea audio on kt is probably more of a nightmare than something else
Avatar
Avatar
Szybet
power daemon, wifi, user apps
matterbridge BOT 7/29/2023 11:18 PM
[matrix] Maximilian Gaedig ⚡️ what does the power deamon do?
Avatar
Avatar
Szybet
power daemon, wifi, user apps
matterbridge BOT 7/29/2023 11:18 PM
[matrix] Maximilian Gaedig ⚡️ wifi def an awesome addition
Avatar
Avatar
tux-linux
yea audio on kt is probably more of a nightmare than something else
even also doesnt work?
Avatar
i found the package for play program
11:18 PM
sox
11:18 PM
its worse than aplay
11:18 PM
anyway
Avatar
Avatar
Szybet
even also doesnt work?
wOrKs
11:18 PM
O_O
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ wifi def an awesome addition
i initially developed the wifi framework szybet greatly improved it
11:19 PM
wifi support was there since 1.6
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:19 PM
that porcessor handling audio, seems like it might be problematic or atleast battery sucking
Avatar
basically: there were basics, i improved them to not be laggy, some features
11:19 PM
complete rewrites in short
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
that porcessor handling audio, seems like it might be problematic or atleast battery sucking
niaudio, do you remember :D?
Avatar
Avatar
Szybet
basically: there were basics, i improved them to not be laggy, some features
yeah, it was blocking initially szybet made it non-blocking
Avatar
multi threading
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ what does the power deamon do?
manage sleep/wake/wifi reconnection/every other nightmare like this
11:21 PM
InkBox Power Daemon (IPD) source code. Contribute to Kobo-InkBox/inkbox-power-daemon development by creating an account on GitHub.
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:21 PM
I am excited about how the book sleeping screen will look, downloading some books rn
Avatar
its not that simple
Avatar
you will be dissapointed
11:22 PM
not added yet
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:22 PM
oh :(
Avatar
you can set custom screensavers
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:22 PM
maybe something for me to add
Avatar
if you want it will prob. not be easy
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:23 PM
yeea I see the difficulty where on sleep it has to communicate with inkbox, not sure how sleep is exactly handled rn but propably much simpler
Avatar
Avatar
tux-linux
if you want it will prob. not be easy
nah, not be a nightmare either
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:24 PM
and also making a nice api/interface/metadata thing about the current screen so it can react accordingly to different screens if sb wants to add a sleep screen for their calculator app for example
Avatar
the watchdog is the real nightmare
11:26 PM
hehe
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:29 PM
Okay so I'd add a new lockscreenBackgroundMode = "contextual" and copy the logic a bit from the screensaver and make the image generated instead of staticly taken from something so that's not that problematic just have to get the context somehow
Avatar
you can eassly gather some data from inkbox while its reading a book
11:30 PM
like the thumbnail
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:31 PM
first of all I have to make myself a dev env
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/29/2023 11:34 PM
contributing to an OS
Avatar
well, maybe to read
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
contributing to an OS
contributing to something original is fun
11:35 PM
without a doubt
Avatar
Avatar
[matrix] Harmen (@giplt:matrix.o
I just encountered a weird problem. When booting from a fresh InkBox 2.0 image my Kobo Mini crashes with error code 2 in stead of launching the first-boot-configuration-sequence. Error code 2 refers to an invalid signature for the root fs. However I doubled checked the image checksum and that matches perfectly. What could be going on?
matterbridge BOT 7/29/2023 11:59 PM
[matrix] Harmen Ok this had nothing to do with InkBox. Not a corrupted SD card either but dd giving the impression of writing an image to the SD card but not doing anything at all in reaity. Laptop reboot was the solution 😦
Avatar
[matrix] Harmen BOT 7/30/2023 12:01 AM
Maybe a laptop having lost touch with reality explains another problem I reported here before as well. In any case, I now can install User apps.
Avatar
it could
12:02 AM
user apps work diffrent than xorg ones, but yes
Avatar
[matrix] Harmen BOT 7/30/2023 12:04 AM
Yup, will test KoBox apps tomorrow
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:09 AM
how long does it usually take to open a book?
Avatar
it depends on the book size
12:09 AM
but a looong time :(
12:09 AM
for ebooks, im already working on a almost complete rewrite
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:09 AM
got a book with 0.7MB
Avatar
Avatar
Szybet
for ebooks, im already working on a almost complete rewrite
matterbridge BOT 7/30/2023 12:10 AM
[matrix] Maximilian Gaedig ⚡️ awesome
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
got a book with 0.7MB
matterbridge BOT 7/30/2023 12:10 AM
[matrix] Maximilian Gaedig ⚡️ screen flashed a couple of times then tried sleeping waking it up and getting a blank screen now
Avatar
oh also for start, you need to calibrate the size of the page, font size too: the defaults are bad for some reason? I will also fix that, but for now you need to calibrate it
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ screen flashed a couple of times then tried sleeping waking it up and getting a blank screen now
going to sleep is a bad idea
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:11 AM
yea seems like that might cause some problems
Avatar
wait a bit, if nothing happens push the power button, then pause push it more it will reset
12:12 AM
the device
12:12 AM
then try one more time, but wait a lot more
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:12 AM
yea I am trying to force shut it down
12:12 AM
held it for about 10s or more
Avatar
look at the diode
12:13 AM
push it, then pause, then push it
12:13 AM
the button
12:13 AM
the diode turning on means its turning on the device
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:13 AM
sleeping is reacting but I can't get it to turn off
Avatar
push the button for more time
12:14 AM
hold it
12:14 AM
not spam it
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:14 AM
yea no I hold it for 30s and it does not turn off
Avatar
make sure its not sleeping?
12:15 AM
also after those 30 seconds, push it not for that long so it can turn on
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:15 AM
tried sleeping not sleeping everthing
Avatar
Avatar
Szybet
also after those 30 seconds, push it not for that long so it can turn on
matterbridge BOT 7/30/2023 12:15 AM
[matrix] Maximilian Gaedig ⚡️ yeah ik but it doesnt turn off
Avatar
are there more button on the glo?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:15 AM
it just switches the sleeping state
Avatar
Avatar
Szybet
are there more button on the glo?
matterbridge BOT 7/30/2023 12:16 AM
[matrix] Maximilian Gaedig ⚡️ yea a backlight button
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:16 AM
tried holding both
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ screen flashed a couple of times then tried sleeping waking it up and getting a blank screen now
matterbridge BOT 7/30/2023 12:16 AM
[matrix] Harmen I had this too and the device turned out to be awake. If you tap the screen somewhat at random and be lucky enhough to hit some widget you will see the screen responding again. Apparently sometimes the display doesn't refresh when coming out of sleep state...
Avatar
hold the power button?...
12:16 AM
um listen, this reboot / power off things is hardware handled, inkbox cant interfere with it
12:17 AM
so it must work
12:17 AM
there is no "no"...
12:17 AM
try some more time, mayeb wait for @tux-linux ?
Avatar
Avatar
Szybet
um listen, this reboot / power off things is hardware handled, inkbox cant interfere with it
matterbridge BOT 7/30/2023 12:17 AM
[matrix] Maximilian Gaedig ⚡️ yea I assume it works like that thats why I am confused af
Avatar
on the nia the process is really straight
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:18 AM
there is a reset hole
12:18 AM
in the glo
12:18 AM
will try that
12:19 AM
yea
12:19 AM
it could explain a bit
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:19 AM
oh yea that worked
12:20 AM
and I was wondering like wtf is this hole is it a mic or what
12:20 AM
turns out its a reset button
12:20 AM
why didn't they just make it a hardware 10s reset
12:20 AM
maybe used too much time at that time
Avatar
its kobos fault, very confusing
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:21 AM
yea
12:21 AM
well
12:21 AM
not that confusing
12:21 AM
if there is a reset hole but useless
Avatar
on some models people are instead sticking wood sticks into the led and damaging it because they think its a reset button instead
Avatar
[matrix] Harmen BOT 7/30/2023 12:21 AM
Same here for Kobo Mini. When stuck I use the reset hole to trigger a hard reboot.
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:22 AM
aaand again battery critical
12:22 AM
I've seen the battery indicator jump around earlier
12:23 AM
idk if it's inkbox or the battery in this thing is fried
Avatar
hmm its and used old ereader
12:23 AM
maybe the battery neads to be replaced
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:23 AM
I'd say it's inkbox because the guy who sold it to me said he was using it normally before and it seemed to not have any problems
12:23 AM
but idk tbh
Avatar
how much did it drop
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:25 AM
when I got it it had about 50%(visual indicator so idk exactly) on the main system, when I started inkbox it was down to 19%
12:25 AM
I need to charge it to 100% then see to have accurate info
Avatar
the visual indicator could show 31 for example and still be on half
12:27 AM
we defenitely will have a bit worse battery life, a bit
Avatar
Avatar
Szybet
the visual indicator could show 31 for example and still be on half
matterbridge BOT 7/30/2023 12:27 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) yea true
Avatar
because of some hacks the main firmware does
12:28 AM
on the other hand, the device with inkbox might charge faster because we dont fake sleeping while charging on devices where hardware allows it
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:28 AM
The boot times are horrendous tho gotta say
Avatar
Avatar
Szybet
because of some hacks the main firmware does
could be implemented maybe - but propably the kernels from the manufacturer limti us
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
The boot times are horrendous tho gotta say
we preload everything at start so it wont take time later - we have more stuff, like apps, xorg
12:29 AM
xorg is like 40% of the boot time so yea
12:29 AM
turn it off, visible diffrence
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:29 AM
ohh okay just disabled that
12:29 AM
so that's good to know
12:29 AM
I don't need that xorg
Avatar
Avatar
Szybet
we preload everything at start so it wont take time later - we have more stuff, like apps, xorg
also system design needs that but its worth it
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:30 AM
I prefer wayland :)
12:30 AM
jk
12:30 AM
OH WOW boot times improved drasitcally
Avatar
like i migrated my custom inkbox install, and all user data by copying a few files from an old sd card - i didnt needed to play arroudn with partitions also the update process is simple
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:30 AM
after disableing that
Avatar
https://github.com/Kobo-InkBox/kernel/blob/master/initrd/common/startx check here to see why it's slow it verifies the digital signature of each additional component
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
oh also: security
Avatar
Avatar
tux-linux
https://github.com/Kobo-InkBox/kernel/blob/master/initrd/common/startx check here to see why it's slow it verifies the digital signature of each additional component
matterbridge BOT 7/30/2023 12:31 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) ah right I was so hyped about that earlier
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:32 AM
yeah then I'll take it
Avatar
if someone hacks the update server, they still cant push an update
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:32 AM
and gets your keys right?
Avatar
yep, he needs to get the keys too
12:32 AM
which is hard
12:32 AM
because i think hacking nicolas would be hard
12:33 AM
he has a very slow internet connection so it would be 😆
Avatar
welp
Avatar
Avatar
Szybet
he has a very slow internet connection so it would be 😆
matterbridge BOT 7/30/2023 12:33 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) lmao
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:33 AM
let me guess, germany?
Avatar
at least its unlimited
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
let me guess, germany?
canada
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:33 AM
ah
Avatar
canada is the only country apart japan where kobos are so popular
12:33 AM
so it explains a lot
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:34 AM
I think in russia they are popular
12:34 AM
when I searched for videos
Avatar
idk really
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:34 AM
there were like 2 from russia
Avatar
i dont count russia as "world" now its so isolated as north korea
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:34 AM
getting a kobo glo from aliexpress with some chinese firmware
Avatar
Well, someone put it on a russian news site https://www.opennet.ru/opennews/art.shtml?num=59349
Представлен выпуск операционной системы InkBox OS 2.0 , нацеленной на замену штатных прошивок электронных книг Kobo и Kindle. Системные компоненты InkBox OS 2.0 построены на основе дистрибутива Alpine Linux 3.10 , а в качестве пользовательского окружения задействована развиваемая тем же проектом оболочка InkBox с интерфейсом для чтения элек...
12:35 AM
Szybet's advice
Avatar
the comments are like from monkeys lol
12:35 AM
yea
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:36 AM
you understand russian?
Avatar
google translate
Avatar
google translate
12:36 AM
kinda does
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:36 AM
ah
12:40 AM
awesomee!!! the book reader is not bad
Avatar
im suprised by this statement
12:40 AM
epub?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:40 AM
well I am excited it works
12:40 AM
nice UI
12:41 AM
but the actual content renderer is meh
12:41 AM
point out the problems, maybe you point some i didnt noticed im working on an alternative now
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:42 AM
Can I take screenshots on inkbox?
Avatar
you need to root the device
12:42 AM
then you can ssh to it and fbgrab screen.png
Avatar
just make a photo
Avatar
well, that too
Avatar
even i do it because im too lazy for screenshots
Avatar
screenshots are easier?
Avatar
take more time
Avatar
Avatar
Szybet
take more time
matterbridge BOT 7/30/2023 12:43 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) well if you are connected via usb then not
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:44 AM
ah right forgot i got a webcam
12:44 AM
buuut this matrix client doesnt have an option for that
Avatar
um, phone?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:45 AM
is on my desk
12:45 AM
and I am in bed
12:45 AM
I would need to stand up, go like 2m and take it
Avatar
yes i can see that as a problem
Avatar
i designed niaudio because i dont want to carry my phone while reading
12:46 AM
so i fully support resolving such problems
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:47 AM
calibre vs on device
12:47 AM
clipboard.png
12:47 AM
12:47 AM
no formatting no link no nothing
Avatar
oh, mac user, nice
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:48 AM
clipboard.png
12:48 AM
Avatar
i dont understand?
Avatar
Avatar
tux-linux
oh, mac user, nice
matterbridge BOT 7/30/2023 12:49 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) need to get back to linux, but asahi is still missing some things
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:49 AM
but kinda got accustomed to macos, its kinda nice
Avatar
Avatar
Szybet
i dont understand?
it's calibre's ebook reader (edited)
Avatar
Avatar
Szybet
i dont understand?
matterbridge BOT 7/30/2023 12:49 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) there is no formatting
Avatar
yes and?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:49 AM
on inkbox
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) need to get back to linux, but asahi is still missing some things
i am on m2, so kinda stuck on it for a few months i think i use UTM and an Arch aarch64 vm
Avatar
you mean?
12:50 AM
what formatting is missing
12:50 AM
line tabs?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:50 AM
on callibre it is cursive and centered
12:50 AM
on inkbox it is normal and in the top left
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
clipboard.png
matterbridge BOT 7/30/2023 12:51 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) here Preface is in the middle with spacing and links to contents
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:52 AM
so links missing too
Avatar
inkbox usually supports formatting like that
12:52 AM
at least regarding bold/italic/underline
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:53 AM
hmm maybe my export settings are a problem
12:53 AM
just downloaded calibre and set it to kobo glo (edited)
Avatar
from an old screenshot
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
just downloaded calibre and set it to kobo glo (edited)
that probably wont work
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:54 AM
do i need to set something specific?
Avatar
we don't support calibre at all
12:56 AM
at least i've never used it with inkbox
12:56 AM
so idk?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 12:57 AM
oh, do you use something or just copy it over?
Avatar
i just copy my books in the usb storage
12:58 AM
well, i more often put them on the device via ssh/scp
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:01 AM
well I think it just generates epub files or copies them over, mainly used it because I remember using it with my kindle a long time ago when I had it
1:01 AM
because I used it for removing DRM and converting them to the MOBI format the kindle required
1:02 AM
but I downloaded an epub and put that on the device basically now
1:06 AM
clipboard.png
1:06 AM
1:07 AM
but I can modifiy it in some way to fit into screensizes, not sure what exactly that does but it basically processes the files, it outputs normall epub files tho so I am not sure what exactly the problem would be, I can send over the file if you want to check it out
Avatar
the gold standard for me to develop things for inkbox via comparing to other software was okular (edited)
1:07 AM
and im sticking with it
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:08 AM
well apple books shows the same
1:08 AM
clipboard.png
1:08 AM
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:16 AM
I'd say some good features for the new reader would be: hiding the bar at the bottom, takes up screen real estate that could be used for the book switching pages by tapping left/right, opening the menu with a press on the bottom for example an option for a progress indicator at the bottom
Avatar
ye, planned
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:37 AM
so when I enable USB mode then do nothing and remove the usb cable all is fine, when I transfer something then eject then remove usb cable it gets stuck on usb connected
Avatar
Connect the cable / disconnect it again
1:41 AM
Apart from that, tux-linux knows what to do
Avatar
Avatar
Szybet
Connect the cable / disconnect it again
matterbridge BOT 7/30/2023 1:41 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) yea no this did not work unfortunatley
Avatar
In short, usbms and xorg have been a nightmare for us
1:41 AM
Where power daemon after developing worked, those keep breaking
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:42 AM
where do I drop the books now? in 04-books? what are those folders?
1:42 AM
clipboard.png
1:42 AM
1:42 AM
because I disabled encryption
1:42 AM
now everything is different
Avatar
You shouldn't see those
1:42 AM
Good that I redesign it...
1:43 AM
😬
1:43 AM
Well remove them, and put your books into the device, without any folders anywhere
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:43 AM
they have weird ¿executables? in them
1:43 AM
clipboard.png
1:43 AM
Avatar
Something went horribly wrong, yea
Avatar
that rarely happens but hm
1:45 AM
idk what causes it
1:45 AM
harmless to delete them
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
they have weird ¿executables? in them
they're just text files
Avatar
Avatar
tux-linux
harmless to delete them
matterbridge BOT 7/30/2023 1:46 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) oh okay
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:47 AM
i need to force restart after each usb thing
1:47 AM
kinda weird
1:48 AM
this was happening with encryption and without folders aswell
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
i need to force restart after each usb thing
if you plug/unplug two or three times does it work
1:53 AM
i will be improving this for next release
Avatar
Avatar
tux-linux
if you plug/unplug two or three times does it work
matterbridge BOT 7/30/2023 1:58 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) nope
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:59 AM
after restart I plug it into the powerbank and make it connect and disconnect and then it rescans then the books are there
Avatar
and this happens only with encryption and without folders?
1:59 AM
strange
1:59 AM
can you try once again?
1:59 AM
thanks
Avatar
Avatar
tux-linux
and this happens only with encryption and without folders?
matterbridge BOT 7/30/2023 2:03 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) no no, this happens with, without, always basically
2:06 AM
well, nice to have testers coughs
2:07 AM
(this is what happens when you work out to death to get this released, fix 10000 bugs and then you just realise it wasn't enough because someone else just used it lmao)
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 2:10 AM
will try again tomorrow because its quite late here already
Avatar
no problem (edited)
2:11 AM
good night
Avatar
Avatar
Szybet
oh also for start, you need to calibrate the size of the page, font size too: the defaults are bad for some reason? I will also fix that, but for now you need to calibrate it
matterbridge BOT 7/30/2023 2:11 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) The letters are cut off i tried to set the font size and it varies by page, do you need to calibrate on each page?
Avatar
Avatar
tux-linux
good night
matterbridge BOT 7/30/2023 2:11 AM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) good night
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) The letters are cut off i tried to set the font size and it varies by page, do you need to calibrate on each page?
it's complicated
2:14 AM
szybet should fix that hopefully
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) The letters are cut off i tried to set the font size and it varies by page, do you need to calibrate on each page?
this is the biggest issue i will address (edited)
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 1:16 PM
The battery seems quite terrible, either the battery life or the battery indicator, it seems like it is taking the battery percentage directly from the voltage and when I charge it it has a higher voltage therefore it shows 100% but when I unplug it it shows 99% then 91% almost immediatly
Avatar
nope, thats not normal
1:18 PM
and not, its taking it from the pmic
1:18 PM
do you have wifi turned on?
Avatar
Avatar
Szybet
do you have wifi turned on?
matterbridge BOT 7/30/2023 4:00 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) nope
Avatar
then its not normal
4:00 PM
your device fault
Avatar
with a 10 year old battery, probably
Avatar
[matrix] Harmen BOT 7/30/2023 6:53 PM
I just managed to gain ssh root access to my device. Nice 😁
6:53 PM
so kobox apps still dont install?
Avatar
[matrix] Harmen BOT 7/30/2023 6:55 PM
Didn't try yet. At this moment it doesn't present an external drive when I plug it into the USB of my laptop.
6:55 PM
Not sure where to look for what's going on
6:59 PM
dmesg says: [ 218.010555] usb plugged 1-4 [ 218.010596] power_supply mc13892_charger: charger status: online [ 218.070585] [msp_int-1656] MSP430 interrupt triggered !!! [ 232.475712] g_mass_storage: Unknown symbol usb_gadget_register_driver (err 0) [ 232.477516] g_mass_storage: Unknown symbol usb_gadget_unregister_driver (err 0) (edited)
Avatar
oh yea
7:23 PM
thats bad
7:23 PM
its the issue propably
7:23 PM
@tux-linux
Avatar
but you can transfer user apps via usb?
Avatar
Avatar
tux-linux
!?
maybe a kernel config change ( you were tinkering, idk ) changed enough that its diffrent
Salat joined the server. 7/30/2023 7:41 PM
Avatar
Hello salat
7:42 PM
🫡
🖐️ 1
Avatar
[matrix] Harmen BOT 7/30/2023 7:45 PM
Transfer of user app was before I put it in root mode. But I didn't toy with kernel AFAIK
Avatar
try now to do it
Avatar
Avatar
[matrix] Harmen
I just managed to gain ssh root access to my device. Nice 😁
Via wifi or usb
Avatar
Avatar
Salat
Click to see original message
Avatar
[matrix] Harmen BOT 7/30/2023 7:50 PM
Can I upload books over wifi as well?
Avatar
[matrix] Harmen BOT 7/30/2023 7:52 PM
Hmm, have to go now. Will be testing further later tonight...
Avatar
Avatar
tux-linux
with a 10 year old battery, probably
matterbridge BOT 7/30/2023 9:26 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) so the battery is not dropping while idle so thats good
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:26 PM
when loading a book it takes 2-4% off the battery immediatly
Avatar
idle means?
9:27 PM
maybe the battery doesnt like sudden power consumption, its old and prefers stable
9:27 PM
you can go to power settings and in experimental settigs set cpu governor to powersave which will limit the cpu
9:29 PM
and, finally: It's not normal on any ereader, hardware, software to make the battery drop 4% while the cpu runs at 100% for a while, 1%? 2? fine, but not that much
9:29 PM
in conclusion: battery needs to be replaced
Avatar
Avatar
Szybet
idle means?
matterbridge BOT 7/30/2023 9:29 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) left on a book then it going to sleep
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
when loading a book it takes 2-4% off the battery immediatly
matterbridge BOT 7/30/2023 9:30 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) even dropped 5%
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:30 PM
when switching to another book to be exact
Avatar
you can propably grab a battery off botland, just look up dimensions and make sure its more but not less than the current capacity and you will need to solder some cables to the new connector or just grab an off the shelf battery for the glo somewhere else (edited)
Avatar
Avatar
Szybet
you can go to power settings and in experimental settigs set cpu governor to powersave which will limit the cpu
matterbridge BOT 7/30/2023 9:30 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) then the loadtimes would go from over 15s to even longer
Avatar
welp yea
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:31 PM
but well book reading is kinda unusable without the autocalibration
Avatar
now you know why im working on a replecement also, you can turn on scroll bars, so you will need to scroll for this uncutted content... yea its bad
Avatar
Avatar
Szybet
you can propably grab a battery off botland, just look up dimensions and make sure its more but not less than the current capacity and you will need to solder some cables to the new connector or just grab an off the shelf battery for the glo somewhere else (edited)
matterbridge BOT 7/30/2023 9:33 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) replacement battery costs half the price
Avatar
what is the capacity in mAh?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:34 PM
1.5Ah
9:34 PM
1500
Avatar
1500 mAh?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:34 PM
yea
9:34 PM
kinda huge
9:34 PM
tbh
9:34 PM
like a phone battery
Avatar
Akumulator Li-Pol 1S 3,7 V – gwarancja stabilnego i bezpiecznego zasilania. Sprawdź atrakcyjną ofertę Botland. Zapewniamy profesjonalną obsługę.
9:35 PM
27 zł
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:35 PM
okay maybe of like a ip6
Avatar
but you would need to resolder the connector
9:35 PM
maybe you could even grab a bigger battery
9:35 PM
as of capacity
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:36 PM
not sure how there is communication with the bms, with 2 wires, is that a thing? or is the bms on the mainboard?
Avatar
there is not
9:37 PM
there is a protection circuit inside the battery and inside the pmic on the board
9:37 PM
its fine if the battery wont get hot ( its an ereader )
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:37 PM
so there is no bms
Avatar
phones have a 3 pin because they get hot so the monitor the temperature
9:37 PM
bms? the pmic is the bms
9:38 PM
it charges the battery
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:38 PM
ahh
9:38 PM
and how does it report the capacity?
9:39 PM
nvm 1500mAh are the replacements
Avatar
it doesnt
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:39 PM
the one in mine is 1200 mAh but is reaaaly flat
Avatar
andi explains it somewhere
Avatar
Avatar
Szybet
it doesnt
matterbridge BOT 7/30/2023 9:39 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) so it goes off the voltage propably?
Avatar
you need to match the dimensions and you need to solder
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) so it goes off the voltage propably?
and some algorithms based on current in short
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:40 PM
yea so I think my suspicions could be confirmed with it showing a much higher percentage when being charged
9:41 PM
its really accurate, the percentage
9:41 PM
your battery is simply depleted at higher voltages ( so higher capacity levels) so it goes faster
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:42 PM
it's 50x60x2
9:42 PM
hard to find such a form factor
Avatar
Avatar
Szybet
your battery is simply depleted at higher voltages ( so higher capacity levels) so it goes faster
matterbridge BOT 7/30/2023 9:42 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) ah yeah that is possible
Avatar
its 2mm?
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:43 PM
yeaa...
Avatar
yea this will be harder then
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:44 PM
I might be able to fit in a 3mm one
9:44 PM
but more then that no
Avatar
look up some specialised stores for those batteries
9:46 PM
maybe some phones used a similar sized
9:46 PM
or less sized
9:47 PM
well still, you should be fine below 50 zl for something like that
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 9:50 PM
trying out on original software the same phenomenon occuring, couple % go for opening a book
9:50 PM
so yea def the battery
9:51 PM
load times quite a lot better tho
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 10:39 PM
Regarding the reader, instead of making a new solution, wouldn't it be better to maybe just use something existing open source? like for example https://github.com/baskerville/plato (written in rust btw)
Document reader. Contribute to baskerville/plato development by creating an account on GitHub.
Avatar
1. I tried it. its confusing, with only gestures 2. we have a whole os, this is just a reader, not integrated with our stuff 3. the author doesnt like contributors - he accepted my pull request after a year, some not at all. 4. the code is really overcomplicated ( its really good, just overcomplicated in my opinion ) 5. from what i heard from some users its laggy ( not in my experience ) 6. the code - its pure rust, without adding any GUI framework - i can promise you you will never see there any statistics charts - in Qt its easier, a few clicks. Us using Qt makes us superior to koreader plato. we can make fancy gui without much effort, where koreader is all menu based and in plato its hard - just look how much of a good UI and GUI features we have while only working on it for 3 years, mostly by 1 then 2 persons the end
Szybet pinned a message to this channel. 7/30/2023 10:44 PM
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 10:45 PM
oh okay, that makes sense
10:46 PM
this might be why its so quick tho, QT seems like it could take up some significant processor cycles
Avatar
Plato also has the advantage of simply skipping a lot of the epub standard
10:46 PM
xD
Avatar
I already have a working prototype of the new reader - the video is somewhere also we have done really harder things than this - it was just my least priority - i dont use my ereader for reading... :D
Avatar
Avatar
Kuratius
Plato also has the advantage of simply skipping a lot of the epub standard
a lot of text formatting is broken in plato because of this
Avatar
Avatar
Kuratius
Plato also has the advantage of simply skipping a lot of the epub standard
lololol? it uses mupdf like us. i think he has problems with rendering?
10:47 PM
lols
10:47 PM
as long as qt and mupdf supports this formatting, we are good to go
Avatar
I'm talking about furigana and vertical text. Vertical text being broken is acceptable, furigana isnt
10:48 PM
Also I'm now wondering if there is an epub->latex converter somewhere
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 10:49 PM
on every reader I tried except inkbox the formatting worked just as I shown in calibre
Avatar
Avatar
Kuratius
Also I'm now wondering if there is an epub->latex converter somewhere
you are looking for html > latex and yes, they exist
10:49 PM
look at pandoc maybe
Avatar
Avatar
Szybet
I already have a working prototype of the new reader - the video is somewhere also we have done really harder things than this - it was just my least priority - i dont use my ereader for reading... :D
matterbridge BOT 7/30/2023 10:49 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) can you send a link? would love to get a look
Avatar
Avatar
[matrix] Maximilian Gaedig ⚡
on every reader I tried except inkbox the formatting worked just as I shown in calibre
i still dont understand your problem
Avatar
Avatar
Szybet
you are looking for html > latex and yes, they exist
that may fix all the issues I have with Japanese books if it works ok
Avatar
Avatar
matterbridge
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) can you send a link? would love to get a look
its hard to find somewhere in dev channel. basically its faster, and the pages dont cut
Avatar
latex supports all the formatting needed
Avatar
Avatar
Szybet
its hard to find somewhere in dev channel. basically its faster, and the pages dont cut
matterbridge BOT 7/30/2023 10:50 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) ah great
Avatar
Avatar
Szybet
1. I tried it. its confusing, with only gestures 2. we have a whole os, this is just a reader, not integrated with our stuff 3. the author doesnt like contributors - he accepted my pull request after a year, some not at all. 4. the code is really overcomplicated ( its really good, just overcomplicated in my opinion ) 5. from what i heard from some users its laggy ( not in my experience ) 6. the code - its pure rust, without adding any GUI framework - i can promise you you will never see there any statistics charts - in Qt its easier, a few clicks. Us using Qt makes us superior to koreader plato. we can make fancy gui without much effort, where koreader is all menu based and in plato its hard - just look how much of a good UI and GUI features we have while only working on it for 3 years, mostly by 1 then 2 persons the end
matterbridge BOT 7/30/2023 10:50 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) 6 the statistics chart would be reaaly cool so yea thats a big - for me
Avatar
chars look bad on monochrome displays :D
10:51 PM
look up sanki video, its not great
10:51 PM
but maybe we will implement it
10:51 PM
dont expect it in the near future, maybe ever
10:52 PM
at least from me and nicolas to develop it
Avatar
Avatar
Szybet
chars look bad on monochrome displays :D
matterbridge BOT 7/30/2023 10:52 PM
[matrix] Maximilian Gaedig ⚡️ (@mg:maximiliangaedig.com) well I mean the statistics part of it is really the important one
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 10:53 PM
a historic chart would be cool tho
Avatar
i wont have propably time after summer, nicolas too
10:53 PM
also there are other priorities as for software for us
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 7/30/2023 10:54 PM
yea i understand
10:54 PM
gotta make it myself if I want to propably
10:54 PM
And I really want to
10:54 PM
like to make it
10:54 PM
but need to find the time
Avatar
A dynamic, cross-platform, and embeddable LaTeX rendering library - GitHub - NanoMichael/MicroTeX: A dynamic, cross-platform, and embeddable LaTeX rendering library
11:25 PM
also I can get pandoc to output latex, but it's not a valid .tex file
Avatar
I checked with pandoc's pdf output, it doesnt correctly parse the furigana anyway
Avatar
even pandoc?
11:41 PM
with pdfs?
11:41 PM
oh god ;/
11:41 PM
we plan to use it
Avatar
I think there may be a plugin for pandoc that supports it, but I dont understand how to use it
11:42 PM
also, if you want to check, you can try if mutool supports your books
Avatar
Pandoc filters to treat Japanese-specific markups. Contribute to konn/pandoc-japanese-filters development by creating an account on GitHub.
Avatar
Avatar
Szybet
also, if you want to check, you can try if mutool supports your books
while converting to html
Avatar
Avatar
Szybet
even pandoc?
you may do it before me
Avatar
Avatar
Szybet
even pandoc?
not pandoc... the other... poppler?
11:43 PM
sorry my bad
Avatar
Avatar
Szybet
not pandoc... the other... poppler?
mutool doesnt work
Avatar
at all?
Avatar
It works, just has broken formatting
Avatar
well try poppler then
11:48 PM
we will use those two, and i dont think there is any alternatives
Avatar
its not that bad
Avatar
if you cant read japanese it may not be immediately obvious, but stuff like this is supposed to be above the kanji 懐かしい声 with small text above that says なつ こえ
Avatar
well thats bad
11:50 PM
i dont see any solutions to that
11:50 PM
any tool / library / anythign to help with this?
Avatar
latex can render it with ruby
11:51 PM
I haven't managed to make it super pretty, but it works
Avatar
hm... i was searching a year ago, and i didn't found any latex c++ renderers
11:52 PM
even if, how to implement them?...
Avatar
you could just convert to pdf with the right tool
11:52 PM
probably calibre works
11:52 PM
but still
11:53 PM
you dont get the fancy ereader stuff like font resizing super easily with that
Avatar
calibre is python
Avatar
Pandoc filters to treat Japanese-specific markups. Contribute to konn/pandoc-japanese-filters development by creating an account on GitHub.
Avatar
does even kobo support it? ( nickel ) (edited)
11:53 PM
pandoc is in a slow language too
Avatar
https://github.com/steven-kraft/obsidian-markdown-furigana markdown seems to have a lot of options for furigana
Simple Markdown to Furigana Rendering Plugin for Obsidian - GitHub - steven-kraft/obsidian-markdown-furigana: Simple Markdown to Furigana Rendering Plugin for Obsidian
11:55 PM
probably dont need latex if you have a markdown renderer?
11:56 PM
javascript
11:56 PM
did you know python interpreter launches on kobos for 30 seconds?
Avatar
but I think there should be a latex renderer somewhere at least and maybe a markdown renderer with ruby support that's in C or something
11:56 PM
uuuh
11:56 PM
really?
11:56 PM
that is super weird
Avatar
Avatar
Kuratius
https://github.com/steven-kraft/obsidian-markdown-furigana markdown seems to have a lot of options for furigana
I'm not suggesting to use this project, just saying there seem to be markdown renderers with ruby support
11:58 PM
CommonMark parsing and rendering library and program in C - GitHub - commonmark/cmark: CommonMark parsing and rendering library and program in C
Avatar
also for the time being I'm checking if microtex has ruby support
12:08 AM
It is fairly common for East Asian languages (mostly CJK characters) to have ruby texts annotations; not only do they provide phonetic guides, the actual meaning of text might even differ without labeling. This technique is currently implemented in HTML as a set of tags, as demonstrated. (refer to MDN for details) 躊(ㄔㄡˊ) 躇(ㄔㄨˊ) 両人(ふたり) ...
12:08 AM
apparently ruby tags are part of the html spec
12:14 AM
overset works too
12:15 AM
12:16 AM
this is with microtex
12:16 AM
so probably hacking this in as html or latex is probably not that hard
12:18 AM
this works too
332 bytes
12:18 AM
let me check that one with pandoc
12:21 AM
yep it cant parse html correctly
12:21 AM
rofl
12:22 AM
pandoc -f html -t pdf -o test.pdf test.html --pdf-engine=xelatex -V mainfont="Noto Serif CJK SC" this results in this
12:22 AM
this is how it is supposed to look
12:23 AM
so all the capabilities are there, they just arent implemented
Avatar
Realistically: if you find a qt5 markdown renderer that supports it, i will implement it (edited)
Avatar
Avatar
Szybet
Realistically: if you find a qt5 markdown renderer that supports it, i will implement it (edited)
apparently latex works with markdown (edited)
Avatar
Well i have doubts about those written in qt and cpp
Avatar
$\overset{ほん$
12:36 AM
sec
12:36 AM
$\overset{ほん}{本}$
12:36 AM
probably check if this renders correctly in your markdown parser if you have any
Avatar
I dont have any
12:37 AM
Thats the point
Avatar
https://pandoc.org/filters.html it seems this has code for a ruby->latex parser
12:45 AM
{-# LANGUAGE OverloadedStrings #-} -- handleruby.hs import Text.Pandoc.JSON import System.Environment (getArgs) import qualified Data.Text as T handleRuby :: Maybe Format -> Inline -> Inline handleRuby (Just format) x@(Link attr [Str ruby] (src,_)) = case T.uncons src of Just ('-',kanji) | format == Format "html" -> RawInline format $ "<ruby>" <> kanji <> "<rp>(</rp><rt>" <> ruby <> "</rt><rp>)</rp></ruby>" | format == Format "latex" -> RawInline format $ "\\ruby{" <> kanji <> "}{" <> ruby <> "}" | otherwise -> Str ruby _ -> x handleRuby _ x = x main :: IO () main = toJSONFilter handleRuby
12:47 AM
also I will check the python thing on pmOS
12:47 AM
no way it should take that long to start the interpreter
12:49 AM
yeah takes maybe 1 second
12:49 AM
not 30
12:49 AM
let me see what happens with no lightdm
Avatar
Its not my words
12:50 AM
We use compression on inkbox
Avatar
maybe someone is loading a lot of scripts or something?
Avatar
And it was self compied by nicolas
12:51 AM
Maybe
12:51 AM
Idk
12:51 AM
Still it was so slow i replaced everything with rust
Avatar
like, technically imports can take a long time, and they can run code
12:52 AM
but it's not normally the case
Avatar
Well still, this converter wont achieve much at its own
12:53 AM
and any other python programs will be slow, the end
Avatar
the microlatex package I showed before wouldnt work?
12:54 AM
I can probably frankenstein something that looks like a reader
Avatar
Even if, whats next?
12:54 AM
How dp you render it
Avatar
microlatex package has a renderer
12:54 AM
so probably just write to framebuffer
Avatar
After ypu render it, how do you make it fit the screen?
Avatar
Avatar
Szybet
After ypu render it, how do you make it fit the screen?
probably options in microlatex
12:54 AM
it can run command line
Avatar
And split into pages?...
Avatar
technically fully-featured latex can do that, idk about microlatex, will check
Avatar
Avatar
Kuratius
so probably just write to framebuffer
Bruh... We use qt... At this point just extract an image
Avatar
It can be embedded in applications on various platforms (Android, iOS, Windows, Linux GTK, Qt...).
12:56 AM
Qt
12:57 AM
A dynamic, cross-platform, and embeddable LaTeX rendering library - NanoMichael/MicroTeX
12:58 AM
#include "platform/qt/graphic_qt.h"
12:58 AM
I think so
1:00 AM
Hi - Are there any objections to looking at a possible Qt interface?
1:00 AM
Avatar
Avatar
Szybet
And split into pages?...
this part idk an easy solution for yet, but probably can be figured out
1:07 AM
manual linebreaking works, but it's obviously not ideal
1:08 AM
(and doesnt yet deal with the pagesplit stuff)
1:09 AM
strange now linebreaking works
1:10 AM
must have been some other issue
Avatar
This is probably an awfully hacky way to do this
1:18 AM
but I think it would probably work
1:18 AM
I'll open an issue and ask
1:19 AM
waiiit
1:20 AM
did you mean Qt renderer instead of qt interface support? (edited)
1:20 AM
like, to deal with taps?
1:20 AM
e.g. tapping a word in the rendered text
1:20 AM
I remember you talked about something like that at some point
Avatar
Avatar
Kuratius
did you mean Qt renderer instead of qt interface support? (edited)
something needs to render it, idk if interface is enough ( like they supply pages as images for example )?
7:53 AM
a custom qwidget would be good enough
Avatar
Avatar
Szybet
something needs to render it, idk if interface is enough ( like they supply pages as images for example )?
Please don't
Avatar
markdown is awesome
10:11 AM
you wont stop me if there is software for it already
Avatar
Then make highlight work
Avatar
in markdown? propably not
Avatar
We are talking about new reader?
Avatar
Then why do you need to focus on markdown rendering now
Avatar
i dont, i explore options
Avatar
Well, final reader has to include highlight support for epubs
10:16 AM
has
Avatar
it will
Avatar
Good
10:20 AM
And no fixed size buttons Thanks
Mimimishka joined the server. 8/1/2023 4:21 AM
Avatar
Avatar
Mimimishka
Click to see original message
Avatar
Avatar
Mimimishka
Click to see original message
Sticker
4:39 AM
Hello, what brings you here?
Avatar
Please tell me if it is possible to install the firmware on the Kindle (I do not know the model, firmware 5.12.2).
Avatar
Is it the Kindle Touch original
4:52 AM
Probably not I would guess
4:52 AM
If you find the model or just take a picture I might be able to tell you (edited)
Avatar
I hardly took off the case, it says on the lid: "model No. WP63GW"
Avatar
the search engine gave out: "Kindle 7th Generation"
Avatar
It's too recent sadly
Avatar
if its not locked, you can port it :)
Avatar
does anyone know an easy way of editing stardict dictionaries?
4:54 AM
i want to convert the koreader chinese wiktionary one to simplified characters, should be easy once i get in there
Avatar
Automatically exported from code.google.com/p/stardict-3 - GitHub - huzheng001/stardict-3: Automatically exported from code.google.com/p/stardict-3
Avatar
i got annoyed trying to build them on cygwin, i will stop being lazy and try on linux, ty 😅
Avatar
https://github.com/huzheng001/stardict-3/blob/master/dict/doc/StarDictFileFormat this says the dictionary files contain normal strings, so probably you can replace the font somewhere or outright swap the characters brute force? (edited)
Automatically exported from code.google.com/p/stardict-3 - huzheng001/stardict-3
Cadster joined the server. 8/2/2023 12:22 PM
Avatar
Avatar
Cadster
Click to see original message
Sticker
Avatar
Avatar
Cadster
Click to see original message
Avatar
Avatar
Kuratius
https://github.com/huzheng001/stardict-3/blob/master/dict/doc/StarDictFileFormat this says the dictionary files contain normal strings, so probably you can replace the font somewhere or outright swap the characters brute force? (edited)
oh, thank you very much! i should've read a little closer, thank you for doing so on my behalf 😅
imnnrv joined the server. 8/3/2023 12:49 AM
Avatar
Avatar
Szybet
Realistically: if you find a qt5 markdown renderer that supports it, i will implement it (edited)
does this workaround qualify?
7:19 AM
see #apps
Avatar
no, sadly
7:48 AM
7:48 AM
no webkit
Deleted User joined the server. 8/3/2023 4:38 PM
Avatar
Avatar
Deleted User
Click to see original message
4:38 PM
Hello, what brings you here?
straykneazle joined the server. 8/3/2023 4:41 PM
Avatar
straykneazle 8/3/2023 4:42 PM
There we go, finally got my account handled right. So glad to see all the progress that's been made on this!
😄 2
Avatar
straykneazle 8/3/2023 4:52 PM
Here mostly to watch for PW5 kernel availability, but might grab something else if bluetooth keyboards are working
Avatar
straykneazle 8/3/2023 5:04 PM
Kindle Paperwhite 5
5:04 PM
an ereader that can also have a nicer keyboard paired up to be a dumb terminal for remote ssh is the dream
Avatar
idk if its locked up
5:04 PM
well we have that with usb keyboard already
Avatar
straykneazle 8/3/2023 5:05 PM
Yeah, having bluetoth working is just icing from a portable setup perspective. No cable sticking out of the device to snag or break.
Avatar
well my usb setup doesnt have any cables ;p
Avatar
straykneazle 8/3/2023 5:06 PM
How'd you rig it up?
Avatar
Avatar
straykneazle
Here mostly to watch for PW5 kernel availability, but might grab something else if bluetooth keyboards are working
well the sad reality is that until someone actually does it, not only waits it wont be done
Avatar
straykneazle 8/3/2023 5:08 PM
Yeah
Avatar
Avatar
straykneazle
How'd you rig it up?
well actually it has, but hidden
5:08 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
5:08 PM
the yellow cable is hidden
5:09 PM
and there is an integrated cable that goes to the keyboard
Avatar
straykneazle 8/3/2023 5:09 PM
oh neat, very cyberdeck vibes
Avatar
well yes
Avatar
straykneazle 8/3/2023 5:10 PM
Running a terminal, what kind of size do you find comfortable on the 6" screen? guessng 80x25 isn't comfortable
Avatar
im running a whole note app on it
5:11 PM
well thanks to eink sharpness, i can comfortably type notes on it
Avatar
straykneazle 8/3/2023 5:11 PM
Yeah it looks very sharp (edited)
Avatar
we also have the best terminal app for eink
5:15 PM
only bluetooth is missing
5:15 PM
¯\_(ツ)_/¯
Avatar
straykneazle 8/3/2023 5:15 PM
Yeah, honestly with the right build that wouldn't matter
7:19 PM
demos
Avatar
nachat is better as a matrix app
Avatar
It doesn't run on 2.0
Avatar
it does
7:34 PM
updated it
Avatar
Well ok then
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 10:43 AM
Hello !
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 10:45 AM
I'm starting with ereaders, thinking of buying a Pocketbook Color (named Vivlio Color in France), but wanting to open this ereader as much as possible. I've red the Inkbox wiki and the Pocketbook Color is not supported. Do you think it will happen in the future ?
Avatar
if someone does it, then it will
10:46 AM
if no one does it, it won't
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 10:46 AM
You mean there is no major blockers ?
Avatar
95% it won't because of lack of people willing to port
Avatar
Avatar
[matrix] Manumerique (@Manumeriq
You mean there is no major blockers ?
not sure. for now the blocker are as mentioned lack of people
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 10:47 AM
I was talking of blockers like hard to impossible reverse engineering, like it sometimes happens
10:48 AM
I'm pretty aware that humans are necessary to complete a porting
Avatar
not sure, some models like kobo nia model c can take 2 weekends to port, some like the sony ereader months of work and all of that for nothing because it simply won't work
10:49 AM
it's a lottery. Kobos have higher chance of being ported
10:51 AM
oh and its multi color, we dont support that at all ( someone would need to add it )
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 10:53 AM
Oh ok, important information !
10:53 AM
Thank you
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 11:04 AM
I'm a developer, mostly web, using Linux and tweaking a bit. I could want to contribute in the future (For example Pocketbook support). Is it hard, am I starting from too far ? What should I know/learn to port a device ?
Avatar
cpp, linux ( low level ) a bit of electronical knowledge
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 11:06 AM
Ok, a lot :) (I know cpp, but not low level linux and not a lot in electronical)
Avatar
you can obviously learn along the way. the main developers of this project started from almost 0 knowledge and just learned it
11:07 AM
electronics, just basics like seting up a serial console
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 11:07 AM
Oh ok !
Avatar
linux as in kernel compiling, how an os works etc
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 11:08 AM
I'll have to kernel compile first then :)
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 12:11 PM
I guess I should compile a kernel for an ARM Allwinner B288 (Pocketbook color chip) with these : https://github.com/pocketbook/kernel-b288
Contribute to pocketbook/kernel-b288 development by creating an account on GitHub.
12:12 PM
Seems like an out of tree driver
Avatar
if you are sure thats the one, sure
12:12 PM
also there is risk damaging the ereader while porting, obviously
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 12:13 PM
I know
12:14 PM
What are the other big challenges in porting to an other ereader, admitting you have a working kernel ?
12:19 PM
Btw, the Allwinner documentation says it supports Linux 3.10. Does this mean 3.10 kernel and newer are natively working, or that you can make it work only with 3.10 series ? https://www.allwinnertech.com/uploads/pdf/2016090918361199.pdf
Avatar
making it to boot making eink work making wifi work usb related things too
Avatar
Avatar
[matrix] Manumerique (@Manumeriq
Btw, the Allwinner documentation says it supports Linux 3.10. Does this mean 3.10 kernel and newer are natively working, or that you can make it work only with 3.10 series ? https://www.allwinnertech.com/uploads/pdf/2016090918361199.pdf
hard to tell. propably newer too if the driver is open source
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 12:22 PM
Ok ! Thanks for the roadmap ;)
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 12:31 PM
Is Inkbox based on an other distro ? Like Alpine ?
Avatar
we use alpine rootfs for half of the system
12:31 PM
literally half, its curred in half
12:31 PM
so we have a package manager
Avatar
[matrix] Manumerique (@Manumeriq BOT 8/4/2023 12:38 PM
Nice !
Avatar
would you be interested in porting something like Orca?
Avatar
Avatar
REM
would you be interested in porting something like Orca?
What? Orca? The animal?
Avatar
its just a cli program written in C
12:47 PM
so it could work, why not
12:47 PM
but i dont see the point? explain further why?
Avatar
oh, it can be used over a network
1:06 PM
it can output MIDI/OSC
1:06 PM
so it might be a nice use for an ereader by a musician who'd like a novel midi device (edited)
1:07 PM
when synced up with a master clock the network issues on a local network wouldn't be a problem
Avatar
¯\_(ツ)_/¯
Avatar
might be a good first project for me 🙂
😄 1
oresk joined the server. 8/5/2023 1:48 PM
Avatar
Hello oresk
1:49 PM
new account?
1:49 PM
bot?
Avatar
[matrix] oresk BOT 8/5/2023 1:49 PM
new account, just signed in
Avatar
oh ok cool
Avatar
Avatar
oresk
Click to see original message
Avatar
[matrix] kuratius BOT 8/5/2023 10:33 PM
test
Avatar
test: command not found
Avatar
[matrix] kuratius BOT 8/5/2023 10:34 PM
I wonder how I can see rooms available in a server
10:34 PM
had to join general with element to see the channel in gomuks
Avatar
on what are you
10:35 PM
well yes, you need to use a generic client to explore spaces, join channels - then with those worse clients use them
10:35 PM
why are you using gomuks? go with nachat
Avatar
[matrix] kuratius BOT 8/5/2023 10:36 PM
This project is in early development and is not yet suitable for regular use.
Avatar
it does lack many things
10:37 PM
is it usable for everyday use? yes? better than those cli clients
Avatar
[matrix] kuratius BOT 8/5/2023 10:38 PM
honestly the cli client is good enough for me except for image display
10:38 PM
I just want something that isnt a webapp
Avatar
yeee i support image display
10:38 PM
are you on an ereader at all?
Avatar
[matrix] kuratius BOT 8/5/2023 10:38 PM
and probably joining rooms could be fixed with a command that lists them
10:38 PM
no
10:38 PM
I am not on an ereader
Avatar
well on desktop use neochat
10:38 PM
qt cpp
Avatar
Avatar
Szybet
test: command not found
Command returned exit code 0
Avatar
Avatar
[matrix] kuratius
I just want something that isnt a webapp
matterbridge BOT 8/6/2023 10:24 AM
[matrix] Maximilian Gaedig ⚡️ nheko
Avatar
[matrix] Maximilian Gaedig ⚡ BOT 8/6/2023 10:25 AM
I use it and while it is not the most beautiful thing it works
MoiRouhs joined the server. 8/6/2023 6:23 PM
Avatar
Avatar
MoiRouhs
Click to see original message
Sticker
Avatar
Welcome
Avatar
Avatar
MoiRouhs
Click to see original message
Sticker
Avatar
HI I have a bizare proble, I have a kobo glo n613 but I think the software is for n514 so I can't install inkbox 😦 It's possible?
Avatar
@tux-linux this mess again
Avatar
what
Avatar
someone had this problem already
Avatar
what is your serial number
6:34 PM
6:34 PM
can you see the photos ?
Avatar
It should run fine
6:34 PM
Try it
6:34 PM
the n613 image
Avatar
yes I tried with image n613 but it start normaly
6:37 PM
I create the image with balena and via terminal
6:38 PM
The slot is well because I push ebook via sd
Avatar
it won't work
Avatar
you need to open the device
Avatar
we haven't implemented that
Avatar
well i dont understand
Avatar
soo There is a doc expanation about that ?
6:40 PM
I followed instruction of the site
Avatar
Ha it's a phyficaly change of SD
6:45 PM
excuseme for my stupid question 🫣🫣🫣
Avatar
the last question: It's possible to change the sd by other of 16gb ?
Avatar
thanks you
tittilvero joined the server. 8/7/2023 3:33 PM
Avatar
Hi all! My Kobo Aura freezes constantly, Is this a good server for asking for help? Otherwise can you please suggest the correct discord server?
Avatar
Probably not, but we can help
Avatar
It depends if the kobo aura is running inkbox, it doesnt propably, im not even sure its supported
Avatar
Which Aura is it (edited)
Avatar
Kobo Aura, original
Avatar
Well, emmc
3:35 PM
probably not much luck
Avatar
Avatar
tux-linux
Probably not, but we can help
well you can👏
Avatar
you tried factory reset?
Avatar
Yes
3:35 PM
Tried charging
3:35 PM
Updating
3:35 PM
Dowgrading
Avatar
How does it freeze
Avatar
Installing KOReader
3:35 PM
If you stop using it for 5 mins
3:36 PM
It constantly freezes
Avatar
if you leave it plugged in does it still freeze
Avatar
It's even quite difficult to restart it (edited)
3:36 PM
Yes
3:36 PM
It even freezes when I put in the charger sometimes
Avatar
Well, I don't know sorry Maybe getting serial console or dmesg via ssh could help But even there, knowing the problem, there probably isn't much more to do
Avatar
Of course there is, just not for normal people
3:40 PM
So i wont even go further
3:40 PM
Just making a point
Avatar
What if I install android?
3:51 PM
If it freezes in android then it is an hardware issue I guess?
Avatar
How dp you install android 🥴?
Avatar
Last week I posted a video showing the Kobo Glo hacked to run Android. Now I've got Android running on my Kobo Aura HD too, and it's even better because I used the dual-boot hack that enables the option to boot either the internal stock Kobo operating system or the Android operating system from a
Avatar
Aura hd not aura
Avatar
Thx
9:39 PM
Can anyone suggest a good server for Kobo support?
Avatar
there are none
Avatar
Too bad..
Avatar
our is the most active kobo related
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:38 PM
Hello, I wanted to ask about installation
2:39 PM
I have a kobo glo hd microsd card which when I run lsblk on my system I get these partitions:
2:39 PM
mmcblk0 179:0 0 3,7G 0 disk ├─mmcblk0p1 179:1 0 256M 0 part /run/media/saligari/rootfs ├─mmcblk0p2 179:2 0 256M 0 part /run/media/saligari/recoveryfs └─mmcblk0p3 179:3 0 3,2G 0 part /run/media/saligari/KOBOeReader
2:40 PM
do I run dd of=/dev/mmcblk0 like it says on github or do I choose something like mmcblk0p3?
2:41 PM
hello btw
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:41 PM
Hello, thanks inkbox-bot but I've read this, I am thinking probably overwriting everything
2:42 PM
but I just wanted to make sure
Avatar
[matrix] tux-linux BOT 8/8/2023 2:42 PM
Yes, overwrite everything
Avatar
Avatar
[matrix] saligari (@saligari:mat
Hello, thanks inkbox-bot but I've read this, I am thinking probably overwriting everything
its a discord bridge
Avatar
[matrix] tux-linux BOT 8/8/2023 2:42 PM
Make a backup before
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:43 PM
alright! I actually have two sdcards so it's cool
Avatar
as i can see you have more than average knowledge for linux & computers, then consider this: https://github.com/Szybet/eink-waveforms
2:45 PM
its diffrent for the glo ( addresess ), propably not needed anyway
Avatar
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
2:45 PM
for waveforms
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:51 PM
alright, I'll look into it, although you probably think I know more than I do haha
Avatar
you launched a linux shell
2:52 PM
you are above average, 70% for sure ;p
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:52 PM
hahha sure, thanks a lot for working on this! You've made sanki right?
Avatar
yep, i'm the author
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:53 PM
cool that's why I'll be trying out inkbox 😉
Avatar
cool, @tux-linux look ;)
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:54 PM
from what I understand it doesn't sync over ankiweb, you have to do it locally?
Avatar
sanki runs on nickel too, but as of support for it and features, its better on inkbox
Avatar
Avatar
Szybet
sanki runs on nickel too, but as of support for it and features, its better on inkbox
matterbridge BOT 8/8/2023 2:55 PM
[matrix] saligari (@saligari:matrix.org) yeah I saw you recently added support and I thought to try it out on inkbox to be sure it works as intended
Avatar
Avatar
[matrix] saligari (@saligari:mat
from what I understand it doesn't sync over ankiweb, you have to do it locally?
ankiweb doesnt have an public API, so you need to sync over with your local sanki app, using my program that exports it
2:55 PM
fast and easy on linux so no worries
Avatar
Avatar
matterbridge
[matrix] saligari (@saligari:matrix.org) yeah I saw you recently added support and I thought to try it out on inkbox to be sure it works as intended
as for sanki on inkbox, you can expect from me really fast bug fixes if there were any needed ;)
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:57 PM
thanks ❤️ I'll be sure to ping you if I get any issues
2:58 PM
for the moment I'm mostly using decks without images so I feel I should be fine
Avatar
images are fully supported, the only problem is they must be resized while creating the deck
2:59 PM
otherwise they will overflow the screen and scrollbars will appear
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 2:59 PM
hm that doesn't sound too bad
Avatar
also download the recent release from the main repo, not from inkbox user applications repo https://github.com/Szybet/sanki
Avatar
why don't you updat eit
Avatar
there are other apps btw, like rss reader, matrix client and some others ;)
Avatar
Avatar
tux-linux
why don't you updat eit
i was pushing like 3 bug fixing releases in 3 days so
3:01 PM
i forgot
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:01 PM
yeah I've noticed but I mostly want to be offline
👍 1
Avatar
ok
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:02 PM
I'm hoping anki will help me with exams & learning Spanish 🫰. Had used it during university, made thousands of cards and then never revised
3:02 PM
🤦‍♂️
Avatar
it helps me a lot in school
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:03 PM
oof you're in school? and you've made all this
Avatar
in a year i go to university if i pass
3:03 PM
tux-linux the same
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:03 PM
well good luck! You've already achieved a lot
3:04 PM
what do you want to study?
Avatar
Avatar
Szybet
tux-linux the same
two
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:05 PM
?
Avatar
Avatar
tux-linux
two
and you already study so much? welp...
Avatar
Avatar
[matrix] saligari (@saligari:mat
well good luck! You've already achieved a lot
thanks
Avatar
Avatar
[matrix] saligari (@saligari:mat
what do you want to study?
programming, im already in a school that half prepares me into university, and half into IT ( not like i learn here a lot, html is boring )
3:06 PM
3:06 PM
the bridge cuts off replies so it may be confusing
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:06 PM
ah thanks, I realized it like a couple seconds later
3:07 PM
well you certainly seem to know a lot already
3:07 PM
should have studied programming myself
Avatar
I would say that i don't know much, but i learned a bit already
3:07 PM
its always not to late to learn
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:09 PM
I'm thinking of trying to get into university to study maths but unfortunately the older you get, the more responsibilities you have, less free time because of work etc
Avatar
yea, its sadly like that. I already experience this
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:10 PM
I'm in my mid 20s and when I was in school we had free time
3:10 PM
although I suppose it depends and where one is from etc
3:11 PM
ffs I can't seem to open my kobo (edited)
Avatar
with what tool do you try
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:12 PM
some plastic set I had for opening up my phone
Avatar
try near the edges
3:13 PM
like 1-2 cm from the edges
3:14 PM
insert the tool deep and then try to release the "snaps" of the case
3:16 PM
the first opening is hard - thats why youtube videos showing it can look easy
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:16 PM
will manage it, I see that inkbox is quite large, it takes up most of the space on my 4gb card, is that normal?
3:16 PM
I'd seen somewhere that one can use an 8gb card, don't know if you can use a larger one
Avatar
you mean partitions or files in partitions?
3:16 PM
you can use a larger one no problem
Avatar
Avatar
Szybet
you can use a larger one no problem
matterbridge BOT 8/8/2023 3:17 PM
[matrix] saligari (@saligari:matrix.org) how large can you go?
Avatar
as large the cpu allows... no idea
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:23 PM
IMG_20230808_162324.jpg
3:23 PM
3:23 PM
Success
Avatar
[matrix] saligari (@saligari:mat BOT 8/8/2023 3:43 PM
hm in an .epub I'm testing the last line is half cut-off in the reader
Avatar
Avatar
[matrix] saligari (@saligari:mat
hm in an .epub I'm testing the last line is half cut-off in the reader
matterbridge BOT 8/8/2023 3:57 PM
[matrix] Maximilian Gaedig ⚡️ Yeah szybet is working on that
Avatar
its sadly like that for now. im already working on an alternative, 35% complete already
4:20 PM
for now you can enable scroll bars / calibrate the width height to make it "acceptable"
Avatar
[matrix] saligari BOT 8/8/2023 6:45 PM
do you have any ideas on how to best read a .pdf file on an e-reader? I've tried https://www.willus.com/k2pdfopt/ but haven't managed to get it right
Avatar
its hard, those solutions won't work for all books
6:47 PM
the inkbox pdf reader is not bad as for speed
Wheelz joined the server. 8/9/2023 1:23 AM
Avatar
Avatar
Wheelz
Click to see original message
Avatar
Avatar
Wheelz
Click to see original message
7:03 AM
Welcom
monki joined the server. 8/9/2023 3:40 PM
Avatar
hello! what brings you here
blix joined the server. 8/11/2023 3:17 AM
Avatar
Hello, what brings you here?
Avatar
just got a kobo aura and was looking to try out inkbox
3:19 AM
i saw this discord and was just checking to see if there was any more information before makig my decision
Avatar
Which model number
Avatar
It's supported
Avatar
it says there's an SD card in here. i'm assuming i have to take off the back panel and remove it and i can't just flash it connected to my computer?
Avatar
Yes, basically
Avatar
oof. alright. i'll wait until tomorrow to do that. It seems pretty straightforward. but if i run into any isuses, i'll return!
👍 1
Avatar
Be careful when taking the cover off
3:23 AM
Nice
Linus joined the server. 8/13/2023 8:03 PM
Avatar
Avatar
Linus
Click to see original message
Avatar
New account, welcome
8:08 PM
welcome, linus?
Avatar
Hi hello
Avatar
what brings you here
Avatar
I want to try out Inkbox on the Kindle Touch and saw that I have to request the Image on the discord server
Avatar
so @tux-linux
Avatar
Avatar
Linus
I want to try out Inkbox on the Kindle Touch and saw that I have to request the Image on the discord server
and tldr you need to wait a bit
Avatar
Avatar
Szybet
and tldr you need to wait a bit
Ok no problem
PoorPockets McNewHold joined the server. 8/14/2023 5:21 PM
JaiL joined the server. 8/14/2023 5:21 PM
vdubs joined the server. 8/16/2023 12:48 AM
Avatar
Avatar
vdubs
Click to see original message
Sticker
cloudrider joined the server. 8/16/2023 6:56 PM
Avatar
welcome you
Avatar
Avatar
cloudrider
Click to see original message
Sticker
Avatar
Avatar
cloudrider
Click to see original message
Sticker
Avatar
The kobo nia model A usb cable is reaaaly high quality as of interference protection, in fact its the first cable i saw that has the GND as a copper shielding arround I know this because i cutted it off (edited)
Space Goblin joined the server. 8/18/2023 9:16 PM
Avatar
Hey guys, I just got inkbox up and running on my N905C. Just trying to figure out if theres a way to change the time/timezone on it? I looked through the settings/tried tapping on the actual time in the top right but couldnt find any options, also looked through the wiki a bit but didnt see anything. Am I missing something obvious?
10:06 PM
Just took another look and saw the arrows on the settings page🤦‍♂️
10:07 PM
yea, its there
Avatar
Can anyone here remind me how koreader manages if your highlighted text is on the bottom and a dialog from the bottom appears? is the text hidden then?
Avatar
The dialog adapts to text position
1:41 PM
=nightmare
Avatar
adapts how
Avatar
Sometimes puts itself on top or on the line below the text
Avatar
hey thats easy to do
1:42 PM
i can just move the dialog to the top of the screen
Avatar
Most of the time it’s centrées
Avatar
Centered
Avatar
its not the highlight
1:44 PM
i mean the process of choosing the highlight
Avatar
Then wdym
1:45 PM
If text is in center of page the dialog is still centered
Avatar
it just is over on top of it and no one cares?
1:46 PM
GNU Collaborative International Dictionary of English
1:46 PM
this is trash btw
1:46 PM
and i doubt the one inkbox uses is better
Avatar
It’s 100yo
Avatar
then whats the point of it
Avatar
Open license
Avatar
Public domain
1:47 PM
this doesnt mean its good
Avatar
Also some definitions are still fine probably
Avatar
still, useless for me i would search in a dictionary specific complicated words, not something that doesn't know what even uart is
Avatar
Copy wiktionary?
ewired joined the server. 8/23/2023 8:17 AM
Avatar
welcom
Avatar
hey, I guess I'm a kobo homebrew developer now lol
8:23 AM
I have a clara 2e and added a remote browsing app to plato and it's working great https://github.com/baskerville/plato/pull/316
A Remote Display application for Plato, tested on Clara 2E. A websocket server relays arbitrary JSON commands and converts viewport capture PNGs from a Firefox extension to compressed bitmaps for t...
8:24 AM
have you any demo?
Avatar
not vnc although I did start searching mobileread to see prior remote desktop things and that's how I found inkbox
8:25 AM
it just sends compressed bitmaps (zlib PBM specifically) over wifi (edited)
Avatar
so what is it?
Avatar
netpbm images compressed with zlib (edited)
Avatar
Avatar
ewired
not vnc although I did start searching mobileread to see prior remote desktop things and that's how I found inkbox
we have a kinda working vnc xorg client, there is also a very not working rust vnc client if you want to look into that
Avatar
Avatar
ewired
netpbm images compressed with zlib (edited)
so... it just shows images from another machine?
Avatar
if there is a good rust vnc library it wouldn't be super hard to add vnc to plato
Avatar
Contribute to everydayanchovies/eink-vnc development by creating an account on GitHub.
Avatar
there is a server that takes images from a firefox addon then sends them to the kobo
8:27 AM
and takes commands from the kobo and sends them to firefox
Avatar
there is one already, it uses plato code but is a seperate app because plato doesnt accept pull request...
Avatar
Avatar
ewired
there is a server that takes images from a firefox addon then sends them to the kobo
thats cool
8:28 AM
how does it work? on eink? a demo would be cool
Avatar
I will record a demo real quick
👍 1
Avatar
we would love to see your app ported to Inkbox
8:31 AM
as I mentioned, sadly dont expect it merged to plato - the author doesnt accept pull request - he accepted my fixes for emulator after a year https://github.com/baskerville/plato/pull/281 this nice app wasn't accepted at all there is a fork of plato because of all of that
Avatar
this works great! its so much better than the vnc client that barely works ( even our xorg one )!
Avatar
I like this better than vnc because it's like the browser on-device and not generalized to any desktop mouse input
Avatar
yep, so much better
Avatar
though you can write a program that sends any images you want to the server, it just has to use a websocket
Avatar
yep i understand the concept
Avatar
all plato gestures are encoded with serde and sent as-is, so that might be a problem for alternative implementations
8:42 AM
unless everyone wants to be json type compatible with plato gestures
8:42 AM
or a more generic gesture protocol is designed
Avatar
nah this is fine
8:43 AM
there is no standard for sending gestures across network
8:43 AM
¯\_(ツ)_/¯
Avatar
I'm glad you like it, where is the active fork of plato?
Avatar
well idk and idk if its still active
8:45 AM
i might port your app to InkBox in the far future if you wont
Avatar
currently I just have a clara 2e so I don't want to chance bricking it with another firmware, but yeah, the netpbm format has a lot of libraries, and the gestures have to be plato compatible, and that's all you'd need
8:47 AM
I am going to add a local and remote menu system
8:47 AM
also I originally was going to use a websocket server directly on the device and go straight from firefox to kobo, but I couldn't accept tcp connections with rust, that was a huge pain to figure out lol
8:48 AM
it was like "function not implemented" or something similar
8:48 AM
on the device only
Avatar
Avatar
ewired
currently I just have a clara 2e so I don't want to chance bricking it with another firmware, but yeah, the netpbm format has a lot of libraries, and the gestures have to be plato compatible, and that's all you'd need
well i understand I will just purge plato code and launch this app directly
Avatar
Avatar
ewired
currently I just have a clara 2e so I don't want to chance bricking it with another firmware, but yeah, the netpbm format has a lot of libraries, and the gestures have to be plato compatible, and that's all you'd need
Inkbox install requires swapping sd cards anyway, you can't actually brick your original one
Avatar
but you can damage your device, especially when porting ( 2e is not supported... )
10:11 AM
so i didnt encoureged him to do it
10:11 AM
i understand the fear, I had those thoughts when porting the nia A
10:12 AM
well i ended up with the most modified nia on the planet so... fear goes away when knowledge goes in
Avatar
I don't even know where the SD card is at lol
10:13 AM
all I see is a USB-C port
Avatar
well, inside ;p
Avatar
I guess there is a back plate I could remove yeah
Avatar
well if you want you could do it
Avatar
I would have to use a spudger to get into it I think
Avatar
we already compiled the clara 2e kernel, you know how to code so, the way is straight forward to do it really
Avatar
Avatar
ewired
I would have to use a spudger to get into it I think
yep
Avatar
Avatar
Szybet
we already compiled the clara 2e kernel, you know how to code so, the way is straight forward to do it really
+ support in qt platform plugin exists
10:15 AM
if you are interested, create a thread at #porting and ping me there
10:15 AM
also if you plan to create more apps for kobo, we support user apps for inkbox which makes things easier
Avatar
I may get another kobo with a bigger display, then I will be willing to tinker with the clara 2e
10:18 AM
I'm really happy with how relatively open the kobo platform is
10:19 AM
sadly nickel very often ( even without updated ) removes nickel menu and others so that can be an issue
10:20 AM
so here is inkbox
10:20 AM
¯\_(ツ)_/¯
11:55 AM
it is up now sorry
11:56 AM
though still processing
11:56 AM
thanks
👍 1
Avatar
also as i see maybe it would have been better if you rotated it but anyway
11:57 AM
whatever
Avatar
@ewired where is the browser extension source code?...
Avatar
in contrib/remote-display-webext in my fork
8:53 AM
trying to keep everything in the same repo
Avatar
ok cool
Avatar
the server is contrib/remote-display-server.ts and it runs in deno like deno run -A contrib/remote-display-server.ts and you need to have imagemagick installed for convert
8:54 AM
idk when i will be able to make it a standalone app to port it to inkbox
8:54 AM
maybe you will be interested in doing something like that?
8:55 AM
because it will be never accepted to the main source code sadly
Avatar
can inkbox run plato already? or does it need to be made to use xorg?
Avatar
i ported plato sketch as a standalone app
8:55 AM
so yes, it can natively
Avatar
where do you have that port of plato sketch? I can look at that and copy what you did (edited)
Avatar
Draw sketches on e-paper - fork for inkbox. Contribute to Szybet/sketch-inkbox development by creating an account on GitHub.
8:57 AM
i purged plato's code while remaining the backend, and launched sketch
8:58 AM
you would need few dialogs to input the ip / port of the server propably so its more complicated
Avatar
yeah I need to add that to my current fork of plato first
8:59 AM
if you would do that, creating a user app would take me 5 minutes packaging it, so it would be awesome (edited)
Avatar
yeah I can get it separated to where I launch it independently from plato via nickelmenu
Avatar
yep, you could also do that with the same binary
9:04 AM
consider posting it on mobileread forums after you finish
9:04 AM
statistically 2 more people will know about your project ;p
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:33 PM
Hello. I bought a Kobo Glo because it has InkBox, flashed the image on the SD card, inserted into the device, but still loads in the stock firmware, what am I doing wrong? Used BalenaEtcher
Avatar
you opened the device?
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:33 PM
What do you mean? Right now it's asking for the WiFi password
Avatar
did you opened the device and unplugged the sd card
Avatar
Internal sd requires backcover removal
Avatar
there are 2 sd cards slot?
Avatar
Does the glo have an external slot?
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:35 PM
Yes
Avatar
welp you need to open the device and insert it into the internal one
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:36 PM
Oh, that's a little hard. You have a video?
Avatar
nope, google it
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:38 PM
Okay, thanks for info
Avatar
Do you have a plastic opening tool?
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:39 PM
No
1:40 PM
This guy does it with his nails lol
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:41 PM
Thanks!
Avatar
I used an ifixit opening tool on my nia
1:42 PM
Avatar
Avatar
Kuratius
This guy does it with his nails lol
painfull to watch painfull to do
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:42 PM
I open it
Avatar
also he was only able to do it because he did it before and the plastic is damaged already
Avatar
Avatar
[matrix] Чайник (@cakestwi
I open it
well you are fast
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:42 PM
Ultra lol, sdcard ahahaha
1:47 PM
It's up and running, thanks for your help and also for this great project!
1:48 PM
Any info on the Kindle KT2? Saw what's available under KT, but by request.
Avatar
if someone will port it then it will be available
Avatar
Avatar
[matrix] Чайник (@cakestwi
Ultra lol, sdcard ahahaha
Keep the original sd card for later and make a full disc clone image just in case
Avatar
Avatar
Szybet
if someone will port it then it will be available
matterbridge BOT 8/25/2023 1:49 PM
[matrix] Чайник (@cakestwix:matrix.org) What's the installation process there? Interesting to know
Avatar
Avatar
Kuratius
Keep the original sd card for later and make a full disc clone image just in case
matterbridge BOT 8/25/2023 1:49 PM
[matrix] Чайник (@cakestwix:matrix.org) Thanks, I think I'll backup it.
Avatar
Avatar
matterbridge
[matrix] Чайник (@cakestwix:matrix.org) What's the installation process there? Interesting to know
its porting trying to run the software, writing new, adjusting things
Avatar
Avatar
matterbridge
[matrix] Чайник (@cakestwix:matrix.org) Thanks, I think I'll backup it.
There are hidden partitions, so you need an external reader and use dd or similar software
1:50 PM
Copying files doesn't work
Avatar
Avatar
Szybet
its porting trying to run the software, writing new, adjusting things
matterbridge BOT 8/25/2023 1:50 PM
[matrix] Чайник (@cakestwix:matrix.org) Is there replacing all the software or just running in chroot? For Kindle device
Avatar
replacing all
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 1:51 PM
Cool
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 2:19 PM
What should I do if I can't get out of USB connected mode? The cable's been disconnected
Avatar
wait a bit
2:19 PM
connect and disconnect
2:19 PM
again
2:19 PM
¯\_(ツ)_/¯
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 2:20 PM
I've been waiting for probably over a minute. And the device has become very slow
Avatar
very slow? how can you tell that?
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 2:21 PM
Slow menu loading, responsive to presses
Avatar
you said you are stuck on the usb mode arent you?
2:21 PM
send an image
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 2:22 PM
I also need to pull back the sd card to do a resize(
2:23 PM
Is there any way to transfer books via sftp?
Avatar
matterbridge BOT 8/25/2023 2:24 PM
[matrix] Чайник (@cakestwix:matrix.org) I know, thanks
Avatar
Avatar
[matrix] Чайник (@cakestwi
Is there any way to transfer books via sftp?
you can root the device and use scp
2:28 PM
or update rootfs and use syncthing app
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 3:48 PM
What to do if the text in a large font goes off the screen and the next page does not have that text?
Avatar
you need to calibrate width and height in the settings a new reader which supports images and doesnt have such problems is in works
Avatar
and enable scrollbars (edited)
Avatar
and wait till i finish the new one...
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 4:43 PM
One last thing, I guess. I couldn't resize mkdir inkbox && sudo mount -t ext4 /dev/sdxp4 inkboxusb Here we create an inkbox directory and mount to a different directory, is this an error in the documentation? qemu-img resize ./inkboxusb/onboard 25G Did this command, took the card out and put it in and still 500mb available, what did I do wrong?
Avatar
describe what you did one by one
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 4:53 PM
9535 lsblk 9536 sudo growpart /dev/sdd4 9537 yay growpart 9538 sudo growpart /dev/sdd4 9539 sudo growpart /dev/sdd 4 9540 sudo resize2fs /dev/sdd4 9541 sudo resize2fs /dev/sdd 4 9542 sudo e2fsck -f /dev/sdd4 9543 sudo resize2fs /dev/sdd4 9544 mkdir inkbox && sudo mount -t ext4 /dev/sdd4 inkboxusb 9545 sudo mount -t ext4 /dev/sdd4 inkboxusb/ 9546 sudo mount /dev/sdd4 inkboxusb/ 9547 sudo mount /dev/sdd4 inkboxusb 9548 ls 9549 mkdir inkboxusb 9550 sudo mount /dev/sdd4 inkboxusb 9551 qemu-img resize ./inkboxusb/onboard 25G 9552 sudo qemu-img resize ./inkboxusb/onboard 25G 9553 umount /dev/sdd4 9554 sudo umount /dev/sdd4
Avatar
now check if onboard is 25G?
Avatar
[matrix] Чайник (@cakestwi BOT 8/25/2023 4:59 PM
+
4:59 PM
File is 25gb
Avatar
And its still 500 Mb?
Avatar
Avatar
Szybet
And its still 500 Mb?
matterbridge BOT 8/26/2023 11:06 AM
[matrix] Чайник Yes
Avatar
On this discord is another guide for it
11:08 AM
Search for messages with dd
11:08 AM
You need to root the device
Avatar
Oh ypu are not on discord
12:29 PM
Remind me in a few hours and i will find it
12:30 PM
And add it to the wiki too
Avatar
Avatar
Szybet
Remind me in a few hours and i will find it
matterbridge BOT 8/26/2023 6:04 PM
[matrix] Чайник 🫠
Avatar
dd if=/dev/zero of=/data/storage/onboard bs=1M count=128 mkfs.vfat /data/storage/onboard
6:52 PM
Do it in inkbox shell
6:52 PM
Ypu meed tp root the device
6:52 PM
When the device is booting, spam the power button the select root in diagnostics mode
6:52 PM
Then log in via ssh
6:52 PM
And before those commands launch service inkbox_gui stop
6:53 PM
I hope you understand that this project is being done by 2 students mainly, dont expect too much
Robert van den Breemen joined the server. 8/26/2023 7:28 PM
Avatar
Avatar
Robert van den Breemen
Click to see original message
Kitkat / Szybet ( sometimes ) 8/26/2023 7:28 PM
Sticker
Avatar
Avatar
Robert van den Breemen
Click to see original message
Avatar
Kitkat / Szybet ( sometimes ) 8/26/2023 7:28 PM
We.lcome
Avatar
Robert van den Breemen 8/26/2023 7:28 PM
Hi
Avatar
Avatar
Szybet
I hope you understand that this project is being done by 2 students mainly, dont expect too much
matterbridge BOT 8/26/2023 7:29 PM
[matrix] Чайник A very cool project, if you ask me. Thank you for this!
Avatar
[matrix] Чайник BOT 8/26/2023 7:30 PM
And by the way, limit the height
Avatar
Kitkat / Szybet ( sometimes ) 8/26/2023 7:30 PM
a complete rewrite is being made, no unneceserry calibration, it will be automatic
Avatar
[matrix] Чайник BOT 8/26/2023 7:30 PM
Make an option to be able to hide the title since this part jerks when the time changes
Avatar
Kitkat / Szybet ( sometimes ) 8/26/2023 7:31 PM
where?
Pijun joined the server. 8/26/2023 10:15 PM
Avatar
Avatar
Pijun
Click to see original message
10:16 PM
a piegon
10:16 PM
pigeon
10:16 PM
i love those creatures
Avatar
[matrix] Zenaida macroura (@piju BOT 8/26/2023 10:17 PM
oh theres a bridge
Avatar
thats me
Avatar
[matrix] Zenaida macroura (@piju BOT 8/26/2023 10:22 PM
does the inkbox work on the kobo libra 2?
Avatar
if its not listed on the website / wiki then its propably not ported
b3nj joined the server. 8/27/2023 1:44 AM
Avatar
Avatar
b3nj
Click to see original message
Avatar
Avatar
b3nj
Click to see original message
Avatar
Howdy. ^_^ I have dug up my libra h2o and want to see if I can inkbox it.
9:37 AM
but it does seem to have it's SD card soldered to the board :/
Avatar
you would need to port it
10:09 AM
yes, the soldered eemc is a problem but we could live with it
10:09 AM
as in pinned comment about porting:
10:09 AM
Hard? Maybe, impossible? Maybe, but easy? Maybe too? Time consuming so most people give up? Certainly
10:09 AM
anyway Hi
Avatar
Thx for the info. I was a little confused initially because I thought there was already a port for it
Avatar
idk if there is
10:12 AM
look up #porting thread for it
🤠 1
Avatar
also @b3nj can i ask how you got here? lately for no reason a lot people star our project ( as seen at #bot ) and we are curious
Avatar
Oh, this was posted in lobste.rs: https://rmkit.dev/eink-is-so-retropunk/
I’ve long been struggling to describe why e-ink is so much fun for me, but Ithink I’ve finally realized what it is: e-ink is just so so so retropunk.
10:29 AM
It mentions Inkbox
10:30 AM
that article may have been posted in hn also
Avatar
This explain a lot
10:31 AM
well its a cool article
10:31 AM
thanks for answering
10:32 AM
@tux-linux mystery solved
Avatar
Np. I heard of the project a little while back but there was no support for N873 at the time
Avatar
almost no one is willing to port devices
10:33 AM
i dont think any contributor ported one? only I and the creator of the project, nicolas
Avatar
Yeah the wiki confused me because it's listed as supported but the general installation instructions talk of removing the card
10:35 AM
So I guess I'm out of luck
10:36 AM
very cool project regardless
Avatar
really?
10:36 AM
um
10:36 AM
then its supported
10:36 AM
but hard to install
10:40 AM
easy to brick the device that you propably wouldn't be able to unbrick it (edited)
Avatar
[matrix] vesto BOT 8/27/2023 10:42 AM
hi everyone! quick question that I'm sure has been answered before but I can't seem to find an up-to-date answer anywhere from some searching: is there any support for the clara HD yet? I've seen this[0] repo, but it seems like it's a scarier path towards a working inkbox installation than there is for other devices. [0]: https://github.com/aartoni/n249
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
Avatar
until you know linux better than windows and know electronics to the level of cutting off traces and resoldering them then dont do it, if you brick it you wont be able to unbrick it
Avatar
Avatar
[matrix] vesto
hi everyone! quick question that I'm sure has been answered before but I can't seem to find an up-to-date answer anywhere from some searching: is there any support for the clara HD yet? I've seen this[0] repo, but it seems like it's a scarier path towards a working inkbox installation than there is for other devices. [0]: https://github.com/aartoni/n249
Hi, its work in progress, 80% completed
10:42 AM
you can help if you want
Avatar
[matrix] vesto BOT 8/27/2023 10:42 AM
!!! that's very exciting
10:43 AM
potentially! what kind of help would be useful?
Avatar
c++ / c / kernel dev for the problems we are facing now
Avatar
[matrix] vesto BOT 8/27/2023 10:44 AM
oof, that may be out of my line of expertise unfortunately :(
Avatar
i could send you the porting thread on discord as a html file if you are interested in looking at that
10:44 AM
well ok, sure
10:45 AM
later we will need testers for this device
Avatar
[matrix] vesto BOT 8/27/2023 10:45 AM
I mean, I'm a decent engineer but I've yet to venture into the low-level world of kernel dev
10:45 AM
yeah that I think I could be interested in helping with!
Avatar
Avatar
Szybet
until you know linux better than windows and know electronics to the level of cutting off traces and resoldering them then dont do it, if you brick it you wont be able to unbrick it
Yeah I think I'll leave it for now lel. I can't solder my way out of a paper bag
Avatar
[matrix] vesto BOT 8/27/2023 10:47 AM
also ya'll are awesome for doing this work- I read https://rmkit.dev/eink-is-so-retropunk/ this morning and was immediately so excited about the idea of running linux on my kobo
I’ve long been struggling to describe why e-ink is so much fun for me, but Ithink I’ve finally realized what it is: e-ink is just so so so retropunk.
10:47 AM
very inspiring stuff ❤️
Avatar
well if you are an engineer, then you can propably c++ and stuff? We will have many places in the system need adjustment for the clara I can ask the guys there if you could help with anything if you want
Avatar
[matrix] vesto BOT 8/27/2023 10:49 AM
it does sound like it could be an interesting learning experience in all honesty, I just don't want to commit myself to something and then bail out to the detriment of the project
Avatar
i will ask then, dont expect a fast answer tho
Avatar
[matrix] vesto BOT 8/27/2023 10:51 AM
no worries. I'll stick around in this matrix channel to feel free to ping me if there's something I can be of use for.
👍 1
Avatar
Avatar
Szybet
you would need to port it
it is
12:57 PM
but you need manual install which i probably don't have time to explain
Avatar
after flashing uboot / inkbox kernel the rest i could explain, propably?
Avatar
maybe
12:59 PM
he needs to remake partition table
12:59 PM
aka mess with the kobo (edited)
Avatar
[matrix] vesto BOT 8/27/2023 1:03 PM
Kobo Clara HD and InkBox notes. Contribute to aartoni/n249 development by creating an account on GitHub.
1:03 PM
is this the process to do that?
1:04 PM
it's more complicated and you end up with like 7 partitions
1:04 PM
i don't have time to explain it now
1:04 PM
1:04 PM
but of course you're on matrix so it won't work
Avatar
i can send the html file
1:05 PM
i can export it
1:05 PM
if you want
1:05 PM
thanks
1:05 PM
@vesto thats for now
9:41 AM
@b3nj or other people who have a lobster account, can you tell that guy that:
  • tolinos are almost kobos, inkbox images work for their tolinos counter part very often
  • InkBox has a full blown RSS guard ported to it, as a user app
9:47 AM
lobster has a very interesting system of inviting people
Avatar
[matrix] vesto BOT 8/28/2023 9:47 AM
oh actually writing docs is maybe something I could do
9:47 AM
I'm a p good technical writer
Avatar
if you are interested, you can migrate the wiki to github wiki
9:48 AM
and add there the clara info there
9:49 AM
or just write there only about the clara, your decission So you want the export of the chat?
Avatar
[matrix] vesto BOT 8/28/2023 9:49 AM
is the project on github or gitlab? the official website points to the GL repos
9:50 AM
yeah sure I can take a peek. I'd say I need to try installing it on my clara myself before I can properly write up the docs but I think I can do that.
Avatar
it was on gitlab, but as the project grow from 1 developer to 2, we are migrating to github
Avatar
[matrix] vesto BOT 8/28/2023 9:50 AM
if I just use a different SD card I can put the original back in if I screw it up, right?
Avatar
yep, no problem with that
Avatar
[matrix] vesto BOT 8/28/2023 9:50 AM
oh yeah that's like no risk then
9:50 AM
yeah gimme that export. it's rainy and sad here for the next few days so maybe I can find a time to give it a shot.
Avatar
[matrix] Szybet BOT 8/28/2023 9:54 AM
in a minute i will send it
9:55 AM
for now write at #2 - Inkbox channel until i create a space and porting threads there, i dont have permissions right now
Avatar
Avatar
Szybet
it was on gitlab, but as the project grow from 1 developer to 2, we are migrating to github
*mirroring
Avatar
nope ;p
1:27 PM
well, we still argue about that ;p
Avatar
yes
Avatar
[matrix] vesto BOT 8/28/2023 3:05 PM
hehe I'm always biased against github in favor of OSS but I understand the practicality of github for os projects :)
3:05 PM
would it be helpful for me to submit a PR that starts migrating the mediawiki content over to github wiki?
Klaus joined the server. 8/28/2023 4:15 PM
Avatar
[matrix] 𝕁𝕚𝕚𝕓𝕦 BOT 8/28/2023 4:22 PM
Hello, is it possible to run this on a Libra 2? I'd search, but can't see messages before I joined.
Avatar
Avatar
[matrix] vesto
would it be helpful for me to submit a PR that starts migrating the mediawiki content over to github wiki?
yes, thats exactly what i would want
8:01 PM
it would be helpfull
Avatar
Avatar
[matrix] vesto
hehe I'm always biased against github in favor of OSS but I understand the practicality of github for os projects :)
well OSS is better, but first we need funds for something self hosted and not a crappy slow server, we barely have 2 downloads servers
Avatar
Avatar
[matrix] 𝕁𝕚𝕚𝕓𝕦
Hello, is it possible to run this on a Libra 2? I'd search, but can't see messages before I joined.
hello, nope, not ported
8:01 PM
you could port it
Avatar
[matrix] 𝕁𝕚𝕚𝕓𝕦 BOT 8/29/2023 4:34 AM
A bummer, but I understand! I'd do it if I had any dev inclinations.
jkkj joined the server. 8/29/2023 10:03 PM
Avatar
Avatar
jkkj
Click to see original message
Avatar
[matrix] pong BOT 8/29/2023 11:09 PM
Hi, nice to see there's a Matrix Space. Is this bridged with discord? I came looking for the channel about porting to Clara HD that was mentioned here https://github.com/Kobo-InkBox/inkbox/issues/4
Hi, does Inkbox run on Kobo Clara HD EInk reader?
Avatar
Yes, but currently that channel hasn't been bridged (edited)
Avatar
[matrix] pong BOT 8/29/2023 11:16 PM
Ok good to know, thanks! The I'll have a look with discord some time and see. I just don't use it usually. Anyway, thanks for setting this up, really lowers the barrier for some :)
Avatar
hello, I have a couple of questions. i picked up an n613 just to try out this project. I'm trying to figure out a good way to move books around. My calibre server is on a windows box, and the inkbox USB connection doesn't seem to be recognized. It works just fine on my linux box. So, I guess, first question, should windows be able to recognize the inbox device (for calibre book management)? Second question, I have to turn on wifi and manually connect frequently. I'm sorta under the impression there may be some rooting involved for better hardware control and auto wifi connection, ssh stuff. If I need to do that, can you point me in the right direction? Third question, I see that syncthing is a thing. That may be my best direction for book management. I don't see much on the readme, but this is clearly a newish addon for inkbox. I looked at the create.sh file on github, and I'm seeing some ssh stuff which leads me to believe I need to investigate rooting a bit further. Just reading through history, @Szybet mentions "update rootfs and use sything app" ... Can you point this inkbox-noob in the right direction? I think I need to root this, but I'm not searching for the right thing.
Avatar
hello 1. windows should, if it doesnt and linux does, then we cant do anything about it. We dont support callibre 2. you can automate things for sure, you need to root the device first, to do it: -- turn off the device -- when its booting up, spam the power button many times -- then in diagnostics select reset and root 3. you dont need to create the syncthing app, the script is for me to automate deployment - First root the device, then I will explain updating the rootfs (edited)
Avatar
thank you for the response. 1. I guess it doesn't really matter why i'm having a windows connection issue if calibre support isn't there. I'd prefer syncthing to plugging it in. 2. hmm, okay. I will figure this out and follow up. I don't have the right timing, yet. I've attempted a few times.
Avatar
you need to spam the button very early
7:15 PM
or try the resert button too
7:15 PM
im not sure
Avatar
Hey, I got it. You really really have to spam the crap out of the power "slide". The led cycles between blue and green a bit, and finally flashed between green and off rapidly. So, reset and root, it prompts "onboard storage size (MiB)": with a default of "64". Any reason to change it?
Avatar
yep, change to 512
7:23 PM
the defailt is stupid really
7:24 PM
its still small
7:24 PM
also: it will take long to make, consider connecting it to power and leaving it for half an hour
Avatar
i really appreciate the info, and quick response ... i'll do that. I also have 1024 as an option. I'm not sure if the options are based on sd card size or some other chip on the device. should i spring for 1024? thanks again.
Avatar
[matrix] Szybet BOT 8/30/2023 7:27 PM
how big is your sd card
Avatar
16gb
Avatar
[matrix] Szybet BOT 8/30/2023 7:27 PM
then go with 1024
7:27 PM
you can expend it to 10Gb later manually anyway
Avatar
i understand. cool and thanks.
Avatar
Rooting on the n613 was successful. I searched discord history and saw that I needed to 'enable USBNet flag' to enable ssh ... I was able to ssh into the kobo: root/root . All good! How do I install the syncthing app from the repo and configure it? I've been using syncthing for a while now. I'm a big fan, it's changed the way I use computers.
Avatar
let's make it as easy as possible
7:50 AM
execute the command that is gived to you at login to make the rootfs rw (edited)
7:50 AM
ifsctl rw mnt something something
Avatar
[matrix] Szybet BOT 8/31/2023 7:55 AM
then use nano /etc/init.d/gui_apps and replace the file with the content of this one https://github.com/Kobo-InkBox/rootfs/blob/master/etc/init.d/gui_apps and then run sshfs, download the syncthing zip from user apps repo and extract it to /data/onboard/.apps/ then run sync on both devices then reboot the device if it doesn't appear in apps, inside ssh run echo true > /kobo/tmp/rescan_userapps and then killall inkbox-bin
Avatar
and that's all
7:57 AM
keep in mind that if it doesn't launch from gui, report it and I will supply a small update to make it work + your device has almost no ram, cpu power compared to regular syncthing-used machines, don't use it harsh (edited)
Avatar
all worked. I did not have to run the last rescan and killall command. I'm having a bit of trouble getting to the webUI of syncthing. Should I be able to hit the 8384 port via browser from a different device on the network, or is the intention to load the kobo web browser to hit the webUI to configure. I tried both, the latter has resulted in a white screen of death of sorts (?) paperclip reset ... (edited)
Avatar
I'm not sure what I did differently, but after it went to sleep and woke back up, the webGUI started responding to external devices. Thank you x2 for the awesomeness and the help on getting it setup. (edited)
Avatar
I have an observation. I found that several instances of trying to ssh, ping, or setup syncthing ... the device was connected to wifi, but it seems that once connected, I needed to put it to sleep and then wake it up before the device services would respond. I'm not sure if that's helpful, but most of the roadblocks I hit seemed to be tied to odd wifi connected but no responses from the device. Also, I believe you implied the n613 is very underpowered. which kobo should one get to truly get a good experience for the inkbox system?
Avatar
to get decent system performance, I suggest the glo hd n437 or nia n306 glo hd is better imo, more ram (512 mb vs 256 mb for the nia)
4:23 AM
as for wi-fi, it's odd
Avatar
[matrix] Szybet BOT 9/1/2023 10:35 AM
No idea about wifi issues
Avatar
[matrix] Szybet BOT 9/1/2023 10:47 AM
replacing one ereader with another doesnt make much sense
10:47 AM
maybe only if you have a lot of money to throw arround, otherwise not really ( kobo touch is bad, replacing it would be reasonable, the rest is fine )
Avatar
I agree, and unfortunately that's not my situation. I wasn't sure if the "your device has almost no ram ..." bit was implying that the n613 was subpar or if it was a general sentiment about managing expectations of a low powered e-ink book reader. I'm very surprised that you were able to get some version of syncthing integrated. I bought this device for next to nothing only because I've kept an eye on this project for a while. If I have an opportunity to snag an n437 for cheap, I may based on @tux-linux input. At any rate, thank you both. I'm not sure who is who, but it seems you 2 are the core dev's ... I just sent one of you guys a few beers (maybe ... not sure on CAD). (edited)
Avatar
Well, thanks
Avatar
He is the creator, i joined more than a year ago
12:29 AM
Idk maybe more
Avatar
1 1/2
Avatar
There are a few people that regularly help, even port things but we are pretty much alone
Avatar
yes
Avatar
So we appraciate your support
Avatar
yes
Avatar
Also we are students, nicolas isint even allowed to drink legally beer yet, so those are coffies ;)
Avatar
lol, enjoy the caffine.
Avatar
dont drink coffee either
12:32 AM
probably wont drink beer
12:32 AM
so
Avatar
And we both soon will fight to enter into university, so the project will be paused for the most part, but i dont plan to leave it, i enjoy creating something original - idk what about nicolas, he is pesymistic lately
Avatar
Avatar
tux-linux
so
Welcome to the tea club
Avatar
yay
Avatar
Avatar
Szybet
And we both soon will fight to enter into university, so the project will be paused for the most part, but i dont plan to leave it, i enjoy creating something original - idk what about nicolas, he is pesymistic lately
This was an unspoken question @tux-linux
Avatar
im more into herbal tea
Avatar
Im not into any special tee, o drink almost anything Anyway i watched this video, its a master piece of art and drama
Avatar
Avatar
Szybet
This was an unspoken question @tux-linux
i don't know even CEGEP here is 150+ pages of assignments each week and that's not counting reading and studying
Avatar
Avatar
Szybet
Im not into any special tee, o drink almost anything Anyway i watched this video, its a master piece of art and drama
yes, i agree
12:36 AM
A CEGEP ( say-ZHEP or SEE-jep; French pronunciation: ​[seʒɛp]), also written cégep, CÉGEP and cegep, is a publicly funded college providing technical, academic, vocational or a mix of programs; they are exclusive to the province of Quebec's education system. A loanword from French, it originates from the French acronym for Collège d'enseignemen...
12:36 AM
it's like pre-university
Avatar
Avatar
tux-linux
i don't know even CEGEP here is 150+ pages of assignments each week and that's not counting reading and studying
Dont all students in canada have depression Its pretty bad in poland, what you describe is at least 3 times worse
Avatar
well, we get used to it i guess
12:37 AM
or not (edited)
12:37 AM
depends
Avatar
Stockholm syndrome
12:37 AM
🥴
Avatar
yea
Avatar
For what it's worth, IMO, having this project under your hat, speaks volumes. It seems like you both have great potential for fulfilling futures ... university or not ...
👍 1
😄 1
Avatar
thank you for sharing that. fantastically funny, and I think I'll try tea now.
👍 1
Avatar
nice
roxmox joined the server. 9/2/2023 12:13 PM
Avatar
Avatar
roxmox
Click to see original message
12:48 PM
Hello
Avatar
hello
Avatar
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
nebajoth joined the server. 9/3/2023 3:12 AM
nebajoth joined the server. 9/3/2023 3:50 AM
Avatar
Hello
Avatar
[matrix] Szybet BOT 9/3/2023 1:25 PM
Hello
Dmiyyy joined the server. 9/4/2023 4:02 PM
Avatar
Avatar
Dmiyyy
Click to see original message
Sticker
Avatar
Avatar
Dmiyyy
Click to see original message
8:51 PM
Welcome
ita joined the server. 9/6/2023 1:28 AM
Avatar
hi
Axe joined the server. 9/7/2023 3:17 PM
Avatar
Avatar
Axe
Click to see original message
Avatar
Avatar
tux-linux
Click to see original message
Avatar
[matrix] Szybet BOT 9/7/2023 3:36 PM
yo welcomo
5:12 PM
hmm?
Flurry joined the server. 9/8/2023 1:02 PM
Avatar
Avatar
Flurry
Click to see original message
Avatar
Avatar
Flurry
Click to see original message
Sticker
Avatar
Avatar
Flurry
Click to see original message
gwilherm joined the server. 9/9/2023 3:01 PM
Avatar
Bonjour
Avatar
Avatar
gwilherm
Click to see original message
ĥloi joined the server. 9/10/2023 11:49 PM
dandelion joined the server. 9/11/2023 12:34 AM
Avatar
Avatar
ĥloi
Click to see original message
Avatar
Avatar
dandelion
Click to see original message
Avatar
Avatar
ĥloi
Click to see original message
Avatar
Complements to the project. I've been looking for something like this for a long time. I'm grateful and impressed.
Avatar
Thanks for your support!
2:08 AM
Support is only there for original 2011 Kindle touch
Avatar
Understandable. Do you know of anywhere to buy an Inkbox OS device? Due to low-vision issues, I'm likely to destroy a lot of plastic cases before I figure it out by touch if I try to get to the sd card. It would be a lot easier to buy one.
2:15 AM
$5 a chance, I could afford, but $30-$70 a chance, not so much.
Avatar
Avatar
dandelion
Understandable. Do you know of anywhere to buy an Inkbox OS device? Due to low-vision issues, I'm likely to destroy a lot of plastic cases before I figure it out by touch if I try to get to the sd card. It would be a lot easier to buy one.
the closest thing to that would be hoping pine64 gets off their asses and gets their pineNote back in production so someone can make an inkbox image for it (can reflash OS without opening)
2:17 AM
@tux-linux kindle touch doesnt have an sd card right?
2:17 AM
maybe that is also an option if he can do it without opening it
Avatar
it wouldn't have to be a kindle. It's just the really old kindles seemed to be the least expensive
Avatar
your criteria are not opening the device right?
Avatar
i was thinking, next best thing over getting the skills myself, support others through circular economy
Avatar
I'd still say just ask a friend to do it for you
2:18 AM
it's faster and less hassle
2:18 AM
buy a well supported cheap kobo
Avatar
yeah, that's a good idea
2:18 AM
thanks
Avatar
good news, i think i found the right friend to help
10:54 AM
all of the kobos require opening the case, right?
Avatar
[matrix] Szybet BOT 9/16/2023 10:54 AM
yes
Avatar
out of the list on the downloads page, does one of them work the best?
Avatar
[matrix] Szybet BOT 9/16/2023 11:03 AM
nia, glo
🎂 1
Avatar
*glo hd
🎂 1
monkeydmj joined the server. 9/16/2023 6:11 PM
Avatar
Avatar
monkeydmj
Click to see original message
Sticker
Avatar
Hi. Amazing project. Is it possible for newer devices? Especially kindle
Avatar
No Those have secure boot
6:16 PM
The most recent device supported is either libra h2o or clara hd (very experimental)
Avatar
[matrix] Szybet BOT 9/16/2023 6:17 PM
secure boot = locked down because fuck you
Avatar
Avatar
tux-linux
The most recent device supported is either libra h2o or clara hd (very experimental)
and nia
Avatar
Unfortunately. I only have a kindle device. Anyways, I really like this project.
Avatar
thanks
Avatar
Avatar
[matrix] Szybet
secure boot = locked down because fuck you
Is it possible to make a bootloader? Or something that can turn off secureboot like in pc
Avatar
if you want to lose your mind, probably
Avatar
Avatar
monkeydmj
Is it possible to make a bootloader? Or something that can turn off secureboot like in pc
do you have geohot's phone number?
Avatar
Uhhh
Avatar
everything is possible, the time is the problem
Avatar
hey quick question, is now inkbox out for the kindle touch?
Avatar
not yet, brain got eaten by college work and exams
Avatar
Yeah ok thats understandable xD
👍 1
Avatar
I just bought a used kobo nia from ebay. it made sense to go with one of the two most supported models,. between those, the decision was made by the fact the nia has an Esperanto name. "nia" means "our" in Esperanto for anyone who didn't know
12:55 AM
should be here in about a week
12:56 AM
any advice on opening the case? what would you tell a sorta blind kindergartner who asked how to open a kobo nia case?
Avatar
@Szybet will tell you that, he has one
✅ 1
Alec joined the server. 9/17/2023 4:38 AM
Avatar
Avatar
Alec
Click to see original message
Avatar
in my desperate search to make pbchess work on my libra 2 I landed here
4:49 AM
lol
Avatar
[matrix] Zenaida macroura BOT 9/17/2023 5:59 AM
Do kobos factory reset when they run out of battery?
Avatar
[matrix] Zenaida macroura BOT 9/17/2023 6:13 AM
Do they if you're logged out and have a passcode? (i'm on stock os btw)
Avatar
stock os resets randomly
Avatar
Avatar
tux-linux
@Szybet will tell you that, he has one
soon
Avatar
Avatar
[matrix] Zenaida macroura
Do they if you're logged out and have a passcode? (i'm on stock os btw)
It would be surprising but nothing is impossible
Avatar
Avatar
tux-linux
@Szybet will tell you that, he has one
matterbridge BOT 9/17/2023 11:39 AM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
🎂 1
👍 1
Avatar
first read questions as they popped into my head: what's a flex cable? i know what a button and a usb port are avoid them, so make sure i don't stick picks/nails/things in there, and don't touch them, right? i did watch some kobo disassembly videos, and someone had gloves. is that necessary, if i do a lot of things by touch? i can see they're prying. it looked like a lot started at the corner. i think someone said start by the power button, but that's wrong, right? which part is the battery connector? maybe skip that step for me thank you, Szybet
Avatar
i guessed a wave form is the type of electric current that changes the ink, and i just looked it up. it seems like it's a physical device that controls the electric current that changes the ink, right?
Avatar
[matrix] Szybet BOT 9/17/2023 12:02 PM
I answered your question in the wiki in the FAQ section
💯 1
Avatar
tonight i learned the kobo nia doesn't have warm front lights, just cool. i can't use those. inkbox will let me turn off the front light completely, right?
Avatar
[matrix] Szybet BOT 9/17/2023 12:21 PM
yep
Avatar
has the 2e been considered?
Avatar
[matrix] Szybet BOT 9/17/2023 8:11 PM
we are waiting for suggestions soo
8:12 PM
also, well it has usb c and is the newest one? well, maybe it? :D we will see... we dont have time now to port anythign anyway
Avatar
still waiting for my kobo so i can try inkbox. there's lots of kobo models supported already, and tehy're easy to find on used stuff sites like ebay. my hope for what you decide to do with your donation, is expand the functionality of the existing models. I'd like to be able to use Session, Signal (molly), and Telegram from my Inkbox, and that would make it much more useful to me.
Avatar
Avatar
dandelion
still waiting for my kobo so i can try inkbox. there's lots of kobo models supported already, and tehy're easy to find on used stuff sites like ebay. my hope for what you decide to do with your donation, is expand the functionality of the existing models. I'd like to be able to use Session, Signal (molly), and Telegram from my Inkbox, and that would make it much more useful to me.
matterbridge BOT 9/17/2023 10:31 PM
[matrix] Szybet Telegram has a Qt client, so it's maybe possible as for Signal ( Session? ) idk, the problem with them they have only one client written in typescript for electron, so it's impossible. A work arround for it is to use matrix ( we have already 2 clients for it ) and bridge the services
Avatar
Session is impossible or anything else w/ electron probably
10:36 PM
Too much bloat
10:36 PM
Telegram ran on Libra once
Avatar
[matrix] andi1 BOT 9/17/2023 10:37 PM
I had Telegram running on the clara using a purple plugin
10:37 PM
via pidgin
Avatar
okay, sometime in the next few months, i'll probably buy a libra...or a clara
10:37 PM
does pidgin work without giving a phone number?
10:38 PM
as an esperanto speaker, i have a lot of community in the 3rd world, and something with as few barriers to participation as possible is desireable
Avatar
[matrix] andi1 BOT 9/17/2023 10:38 PM
well, telegram needs phone number
Avatar
i know. i have one. session doesn't, but requires electron, which i guess makes it impossible
Avatar
2021 excerpt
Avatar
telegram is one of the main platforms for the esperanto community, despite that a phone number is required, so the fact that works is great. very useful https://telegramo.org/
Telegram estas simpla tujmesaĝilo por komputiloj kaj poŝtelefonoj. Ekzistas multaj grupoj, per kiuj multaj esperantistoj parolas pri diversaj temoj.
Avatar
[matrix] Szybet BOT 9/17/2023 10:44 PM
if you are technical enough, you could bridge matrix to telegram
Avatar
i'm not
10:44 PM
i don't think
10:47 PM
when talking to tech people, i feel like a kindergartner with adult language skills my level is so basic next to yours. "explain it like you're talking to a slow preschooler, please" how many times have i typed that in forums?
Avatar
would briar work on inkbox?
11:37 PM
that's another one with no phone required, right?
Avatar
[matrix] Szybet BOT 9/17/2023 11:39 PM
briar clients use kotlin or python + gtk so nope
11:39 PM
why dont use matrix?...
Avatar
i need to learn how
11:39 PM
maybe it's time to do that if it works on inkbox
11:39 PM
first result in google
Avatar
thanks
11:43 PM
is element that bridging thing you were talking about?
Avatar
[matrix] Szybet BOT 9/17/2023 11:44 PM
nope, its just a client
Avatar
i'm learning
Avatar
its also bloated uses electron it's good but only on computer and phone
Avatar
[matrix] Szybet BOT 9/17/2023 11:50 PM
there are a lot of clients for the matrix network, one of them is element
Avatar
which client do you use on inkbox?
Avatar
[matrix] Szybet BOT 9/18/2023 12:08 AM
custom modified nachat and gomuks
Avatar
Avatar
tux-linux
its also bloated uses electron it's good but only on computer and phone
Experience the future of Element! Element X isn’t just the fastest Matrix client ever - it’s up to 6000x faster than any other Matrix client.
Avatar
i'm trying to make a bridge between element and discord using matrix. anything important to know about the *name field under "create an application"? is that like a username, or should i name it element or matrix so i know it connects that way?
Avatar
I think application is more like a catchall term for the server name
12:25 AM
call it inkbox bridge maybe
12:25 AM
or whatever server it is for
Avatar
okay, so making a bridge that way will take me to inkbox, and if i want a bridge for the esperanto discord i'm a part of, make that a separate bridge and name it "esperanto usa bridge" and if i have another, do that too? that one bridge won't connect to the 4 discords i'm a part of?
Avatar
Avatar
dandelion
okay, so making a bridge that way will take me to inkbox, and if i want a bridge for the esperanto discord i'm a part of, make that a separate bridge and name it "esperanto usa bridge" and if i have another, do that too? that one bridge won't connect to the 4 discords i'm a part of?
matterbridge BOT 9/18/2023 12:45 AM
[matrix] Szybet i have no experience with such things. i only know its an option
Avatar
matterbridge BOT 9/18/2023 12:45 AM
[matrix] Szybet rust.
Avatar
...yea but reading this, it seems it's solely designed for iphone or android
Avatar
i ordered plastic opening tools and an some anti-static stuff. This will be an adventure for me. For the sd card, the instructions say a minimum of 4 gb. If I flash and put in a 32gb card, would that just give me more space to store data? Is there a maximum number? (edited)
Avatar
[matrix] Szybet BOT 9/18/2023 8:03 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
👍 2
Avatar
You can use a filesystem resizing tool to expand it to fill the size of the whole SD card storage
👍 1
8:42 PM
Which gives you that usable space
8:43 PM
I've used Linux command line tools and the graphical gparted in the past with great success
Avatar
[matrix] Szybet BOT 9/18/2023 8:50 PM
its more complicated than that in inkbox
Avatar
Oh, because of the overlayfs?
Avatar
[matrix] Szybet BOT 9/18/2023 9:21 PM
Because books re stored in a filesystem in file "onboard" file
Avatar
if you are porting inkbox to clara 2e and live in USA (maybe canada?), I can sell you one and its sleepcover for $75 paypal + USPS (maybe UPS?) shipping, it has a 1.5cm screen scratch but it's functionally like new, haven't had it for more than a year (edited)
7:27 AM
I suspect that it may not be waterproof anymore and the scratch kinda bothers me, I want to get a new clara 2e or maybe a libra 2, but I don't want this clara 2e to be e-wasted (edited)
Avatar
[matrix] joe (@joe:joeth.uk) BOT 9/19/2023 9:38 AM
Really cool project. Before I install, I'd like to know if you can change the layout of the ebook reader to something more similar to the stock one on kobo (i.e. swipe/tap a side to change the page, tap at the top for settings) as I would prefer to use the whole screen for the text rather than having a back/forward/settings bar at the bottom.
Avatar
[matrix] Szybet BOT 9/19/2023 10:30 AM
Nooe, its planned for the future
10:30 AM
Nope
Avatar
[matrix] joe BOT 9/19/2023 10:51 AM
Ah cool, thanks for the answer good to hear it's planned
martí joined the server. 9/19/2023 8:24 PM
Avatar
Hi! Is it possible to install inkbox on Kindle 8th Gen?
Avatar
[matrix] Szybet BOT 9/19/2023 8:30 PM
no
Avatar
Okay thank you!
Avatar
Does InkBox support Esperanto characters and other non-English characters?
8:14 AM
In .txt files?
Avatar
Maybe
ryanzxxje joined the server. 9/20/2023 7:21 PM
Avatar
how can i install inkbox into my kindle paperwhite 5?
Avatar
you can't not supported, sorry
🙀 1
Avatar
Avatar
dandelion
Does InkBox support Esperanto characters and other non-English characters?
it should, but not tested
Avatar
@Szybet I saw your rmanki issue, lol
Avatar
¯\_(ツ)_/¯
Avatar
@tux-linux https://github.com/Jayy001/RmAnki/blob/main/ankiRemarkable.py those apps are written with fixed sizes... my god...
12:27 AM
it can all be translated and used on other devices but... 😂
Avatar
your approach didn't make sense to me, people write duplicate apps all the time, people write stuff for fun
12:34 AM
if you want people to collaborate, they need to be motivated or see a positive reason, especially with hobby code
12:35 AM
you can get your stuff working on rM, there's an eink plugin for it called qsgepaper or something similar
Avatar
Avatar
rsjn
your approach didn't make sense to me, people write duplicate apps all the time, people write stuff for fun
Yes i do know that but 1000x linux distros dont make sense so this doesnt too
Avatar
I'm not even sure how you found rmAnki
Avatar
Avatar
rsjn
if you want people to collaborate, they need to be motivated or see a positive reason, especially with hobby code
Yes i write open source stuff because of that, i also contribute for the same reason and?...
Avatar
Avatar
rsjn
you can get your stuff working on rM, there's an eink plugin for it called qsgepaper or something similar
I know, thats the point, i dont have a remarkable tablet tho
Avatar
Avatar
Szybet
Yes i write open source stuff because of that, i also contribute for the same reason and?...
and my point is that you started the conversation in a way that was not friendly / polite
Avatar
Avatar
rsjn
I'm not even sure how you found rmAnki
Mobile reads and then some poking arround. I was suprised it exists, its younger than my project and why would anyone choose to write from scratch if the original is not bad?
Avatar
" hey, cool app! I also work on an anki app - would love to see if there's collaboration opportunity. if not on this project, then maybe another project in the future"
Avatar
Avatar
rsjn
and my point is that you started the conversation in a way that was not friendly / polite
Ugh not again English is not my first language, so im sometimes not as polite as i would like to Also the first message was supposed to be a joke 🥴
12:44 AM
I didnt even expected a reply at all, as it is often on github
Avatar
Avatar
Szybet
Ugh not again English is not my first language, so im sometimes not as polite as i would like to Also the first message was supposed to be a joke 🥴
that explains it, Americans expect much more politeness and friendliness
12:44 AM
hard to make jokes through text
Avatar
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
it should, but not tested
It will be tested once I get the Nia open. While waiting for the spudger tools to arrive, I decided to try with what I had, and i broke a few ukulele picks and damaged a few fingernails without much to show for it.
12:46 AM
scratched the case with a butterknife
12:46 AM
and again with a nail file
Avatar
Avatar
dandelion
It will be tested once I get the Nia open. While waiting for the spudger tools to arrive, I decided to try with what I had, and i broke a few ukulele picks and damaged a few fingernails without much to show for it.
Its hard in the first try
💯 1
Avatar
Avatar
dandelion
scratched the case with a butterknife
Its the back, you wont see it anyway. A protective case will do ;p
Avatar
i don't care what it looks like if the screen is nice and it works
12:48 AM
it's hard to push the other side away in a way that doesn't make the screen flex
Avatar
??? You insert the thin tool in the middle where the 2 plastic pieces meet and then you pull it to the "outside" until it comes off a bit, or until a click Its obviously more complicated than that, you need to try to push it a bit more, use not too much force otherwise it will be bad etc.
12:51 AM
I dont see when the screen would bend in this process
Avatar
Avatar
dandelion
It will be tested once I get the Nia open. While waiting for the spudger tools to arrive, I decided to try with what I had, and i broke a few ukulele picks and damaged a few fingernails without much to show for it.
There are small latches you need to unlatch
Avatar
it's hard to overstate how bad i am at opening plastic things.
Avatar
If you have an expired credit card or similar plastic that you can afford to break, try that
Avatar
a fish looks like an idiot if you judge it on its ability to climb a tree...
Avatar
Avatar
dandelion
a fish looks like an idiot if you judge it on its ability to climb a tree...
I'll show you a video
Avatar
Avatar
Kuratius
There are small latches you need to unlatch
🫡 Your english explaining destroys mine
Avatar
Avatar
dandelion
it's hard to overstate how bad i am at opening plastic things.
Practice makes masters or smtg
Avatar
i saw someone in another video open it with their fingernails while holding it with the other had. I tried that, and more the front started flexing that the back came off. After that, I decided, I'd better keep this on a flat surface because "bad things"
Avatar
Basically you just move along the side
Avatar
Always keep it on a flat surface in place, if you are not experienced it will fly to the ground soon
Avatar
Dont go too deeply or you might hit ribbon cables
12:55 AM
You dont need to pull it apart until you have unlatched all the latches (edited)
12:56 AM
Does this help?
Avatar
Avatar
Kuratius
You dont need to pull it apart until you have unlatched all the latches (edited)
for all my trying, I think maybe i got one latch with the ukulele pick, which quickly relatched
Avatar
Watch how he uses the tool
12:57 AM
You can hear the latches unlocking as the tool hits them
12:58 AM
If you dont have anything appropriate you can buy them on amazon
12:58 AM
I used a similar one
Avatar
Avatar
Kuratius
Does this help?
he must have hands of iron. it does help see how to use the tool
Avatar
Avatar
Kuratius
If you dont have anything appropriate you can buy them on amazon
they should be here friday
Avatar
Avatar
dandelion
he must have hands of iron. it does help see how to use the tool
You're probably just using a bad tool
Avatar
Screen Opening Set Pry Tool - 13 in 1 Mobile Phone Display Replace Kit Electronics Open Tools Pry Bar Opener for iPhone, Ipad Repair
1:01 AM
i don't think the ukulele pick was strong enough.
Avatar
Bottom middle looks like they will work
Avatar
i still need to flash an sd card, too. i have a 32 gb one. that's my only spare
Avatar
can also buy one
1:09 AM
many stores sell sd cards for like $10/10€
Avatar
i use an older computer for flashing operating systems, so it doesn't matter if I accidentally target the wrong drive
1:10 AM
easy dd on puppy linux should work like etcher for this, too?
Avatar
dd works, dont know what easy dd is
1:11 AM
may have to extract image if it's compressed
1:11 AM
dd cant extract
Avatar
got a "file not downloaded. potential security risk" when trying to download the nia image for both the main and mirror
Avatar
Avatar
Kuratius
may have to extract image if it's compressed
Barry Kauler, the creator of puppy linux and easy os, made a gui based dd and named it easy dd
Avatar
Avatar
Kuratius
dd cant extract
kk, gonna see if the applmage will work on puppy linux, and if not, what other operating system i can use on this computer
Avatar
@Szybet: thanks for the tip about mobile read, didn't realize rmkit landed on there
Avatar
Rmkit on kobo is not new, he just posted a guide
Avatar
Avatar
Szybet
Rmkit on kobo is not new, he just posted a guide
i meant "didn't realize rmkit has been noticed by mobile read"
Avatar
i think i'm going to need to reinstall my install computer before i can install inkbox on the sd. is there a fairly light distro that will help me understand more about inkbox?
1:24 AM
kde or gnome because of accessibility issue
Avatar
Avatar
Szybet
Rmkit on kobo is not new, he just posted a guide
it looks like rmkit was ported to kobo a year ago or two ago by someone named "raisjn"
Avatar
Avatar
dandelion
i think i'm going to need to reinstall my install computer before i can install inkbox on the sd. is there a fairly light distro that will help me understand more about inkbox?
i guess alpine linux, since that's what it is based on, maybe (edited)
Avatar
Avatar
rsjn
it looks like rmkit was ported to kobo a year ago or two ago by someone named "raisjn"
matterbridge BOT 9/24/2023 11:16 AM
[matrix] Szybet your nick looks similar ;)
Avatar
[matrix] Szybet BOT 9/24/2023 11:24 AM
ohhh you are the author of rmkit
11:24 AM
😆
11:25 AM
well if the author of rmAnki rejects porting sanki to remarkable, maybe you would be interested?
Jayy joined the server. 9/24/2023 2:02 PM
Avatar
@Szybet Author of RmAnki here, just want to clarify some things up
  • When I first had the idea of creating RmAnki, it was because there was no other app specifically for the remarkable device for it - I wanted to create a dedicated one, using my own library I had created as a fun project. (I do all of this from my spare time, as a hobby with no intention of ever monetizing it). I hadn't even found your project so don't think I was trying to copy your "original" idea.
  • I found the way you opened the issue a bit rude, certainly a lack of manners - if you want to collaborate with someone that's not the way to do it. I understand English may not be your first language but in that case you should be more careful of the way you present yourself.
  • (see attachment) Why insult someones work and then expect them to collaborate with you? I also don't see a problem with fixed sizes - its specifically for the rm device of fixed dimensions.
  • Where is the motivation for me to stop working on something I've dedicated a lot of time to, and move to your project instead? I'm also not going to learn another whole language just because you're unhappy there is another similar app to yours. If you have the mindset of there should only be one app for everything, then I've got some bad news for you....
(edited)
2:25 PM
Anyway, my decision is final and I'd appreciate it if you didn't reopen the issue. Your app does look really nice, and I'm sure with a bit of work would be able to easily get ported over the RM (and I'd love to see that, it'd give more options for people to use & hopefully inspire them to create their own ❤️) (edited)
Avatar
  • Ye i understand
  • As i mentioned before, that was supposed to be a joke, like how could i be serious with "developing the wheel once again"🤨?
  • I don't insult you but "Those apps" so the rmkit gui framework ( it's that one, isin't it? ). It's obviously fine for what it is, but in the future, for diffrent screen sizes it will be a problem so i dont like it, but i'm aware of the ease of use for such libraries
  • I just asked if you were interested in making something bigger and for more people. I do understand there are many the same apps. I just think people should work together, even when they dissagree a bit with something. ( All those linux distros forks are a good example of what to avoid ) Im not "unhappy", im happy that there is even more open source software out there
2:50 PM
I was really misunderstood / i said it in an umpolite way and it wasn't clear enough explained, so sorry for that
2:52 PM
I obviously won't pressure you to change your mind, it was just a question
Avatar
we can figure it a way to work together, maybe it's not on anki (yet)
Avatar
I can try looking into qt, but I don't use it. there's other people who would be better - would be great to pull all your apps into Toltec, though
3:16 PM
I also want that Manga reader on rm
Avatar
Avatar
Szybet
I was really misunderstood / i said it in an umpolite way and it wasn't clear enough explained, so sorry for that
no problem, I'm glad we've cleared it all up
Avatar
I sense a beautiful friendship in the making :p they often start this way
🥴 1
Avatar
i think ill keep to the rm and not move into kobo territory xD
4:07 PM
its just a misunderstanding
Avatar
that wasn't a dig at you
🫡 1
Avatar
fwiw, I use the kobo much more than rm. I read a ton, don't write much notes
Avatar
I prefer the rm for reading personally
Guillaurent joined the server. 9/26/2023 1:26 PM
Avatar
Avatar
Guillaurent
Click to see original message
Sticker
passthewiskey joined the server. 9/28/2023 3:31 PM
Avatar
Avatar
passthewiskey
Click to see original message
Sticker
Avatar
What a very happy day. I got the case open without breaking anything, inserted the flashed card without any drama, and InkBox is currently doing its first boot.
Avatar
So grateful you made InkBox. I love it.
Avatar
I'm using pretty large font, about 18 pt, on an epub. There's a scrollbar down the side. Is there a way to turn that into more page turns instead of a scrollbar?
Avatar
text files in Esperanto are now tested and work
Avatar
Avatar
dandelion
I'm using pretty large font, about 18 pt, on an epub. There's a scrollbar down the side. Is there a way to turn that into more page turns instead of a scrollbar?
matterbridge BOT 9/30/2023 9:53 AM
[matrix] Szybet In settings adjust width height or character count
✅ 1
Avatar
This is a great reading experience for Saĝeco de Siraĥ. size 14 on Inkbox OS looks like 18 out of my printer. The epub size is set to 235x235. I'm surprised how much I like dark mode.
Avatar
[matrix] Szybet BOT 9/30/2023 10:59 AM
the sizes & scrollbars etc are messy but usable - will be fixed for next release
💯 1
Avatar
Is there a way to make text bigger in the menus without creating a situation where things go off the screen and become unclickable?
11:02 AM
Like in the settings
Avatar
[matrix] Szybet BOT 9/30/2023 11:03 AM
what do you mean exactly
11:03 AM
in settings
Avatar
I mean the text under settings in the settings is too small for me without auxiliary things to read it I think it's Inkbox settings, kobox settings, and power settings
11:06 AM
what does applications scale do
11:06 AM
the text in the book i'm reading seems more adjustable than the text in the menus
11:07 AM
"Is there a way to make text bigger in the menus without creating a situation where things go off the screen and become unclickable?"
11:07 AM
When I use gnome on 200% scaling, a lot of times the boxes for programs are bigger than the monitor.
11:08 AM
On a lot of dialog boxes, "Cancel" and "Okay" are on off the bottom of the screen
11:09 AM
I use that trick where you hold the super key and use the mouse to move a different part of the window off the screen
11:09 AM
so I can get to "Cancel" or "Okay"
Avatar
Avatar
dandelion
what does applications scale do
matterbridge BOT 9/30/2023 11:12 AM
[matrix] Szybet it shouldn't exist, its broken now
Avatar
Avatar
dandelion
"Is there a way to make text bigger in the menus without creating a situation where things go off the screen and become unclickable?"
matterbridge BOT 9/30/2023 11:12 AM
[matrix] Szybet well maybe, not in a easy way
Avatar
[matrix] Szybet BOT 9/30/2023 11:13 AM
just memorise everything and it should be okay, there is not much to read
✅ 1
Skidoosh joined the server. 9/30/2023 12:23 PM
Avatar
Avatar
Skidoosh
Click to see original message
Avatar
Avatar
Skidoosh
Click to see original message
spb joined the server. 10/1/2023 7:12 PM
Avatar
Avatar
spb
Click to see original message
Avatar
Avatar
spb
Click to see original message
Janos joined the server. 10/2/2023 4:59 PM
capybara joined the server. 10/2/2023 5:07 PM
Avatar
Avatar
capybara
Click to see original message
tommy_kronzo joined the server. 10/2/2023 5:22 PM
CryingEaglez joined the server. 10/5/2023 12:42 AM
Bot 3 joined the server. 10/7/2023 10:53 PM
Avatar
Avatar
Bot 3
Click to see original message
Avatar
Avatar
CryingEaglez
Click to see original message
Avatar
Avatar
tommy_kronzo
Click to see original message
malga khalil joined the server. 10/8/2023 8:08 AM
Avatar
malga khalil 10/8/2023 8:09 AM
hello there
8:09 AM
im new here
8:09 AM
so i have some qestion
Avatar
[matrix] Szybet BOT 10/8/2023 8:09 AM
feel free to ask
Avatar
malga khalil 10/8/2023 8:10 AM
tnxx
8:10 AM
soo i have clara 2e
8:10 AM
but in the flash package there is no support of it
8:10 AM
i will wait or i can go with othere kobos flash image
8:11 AM
and if i get this os i will lose koreader ?
8:11 AM
and how to know if the os support arabic font !
Avatar
[matrix] Szybet BOT 10/8/2023 8:11 AM
someone needs to port it first, trying other images is dangerous we have koreader too, if you want that i dont think at all - koreader supports it, propably
Avatar
malga khalil 10/8/2023 8:13 AM
yes koreader support it i test it in nickle
8:14 AM
the main reason why i want to install is the writing app
8:14 AM
i realy want to write in it with keyborad it awsome app
8:14 AM
and there is no app like it in nickle
8:14 AM
but the problem is font and the keyboard
Avatar
[matrix] Szybet BOT 10/8/2023 8:15 AM
not only an app - there is no software support on it at all
8:15 AM
well for now you need to wait for someone to port the device
Avatar
malga khalil 10/8/2023 8:16 AM
yes that the first thing , after that can i add a new font to the app and add new keyboard qmap? (edited)
Avatar
[matrix] Szybet BOT 10/8/2023 8:19 AM
well yes, qt supports arabic fonts so it should be possible to add
Avatar
malga khalil 10/8/2023 8:22 AM
thnx for help so i will wait for someone to port the device like you sad
Avatar
malga khalil 10/8/2023 8:54 AM
@Szybet a qestion come in mind 😅 😅 can i install FeatherNotes on nickle bcz i only need this app
Avatar
[matrix] Szybet BOT 10/8/2023 11:44 AM
Maybe? Hot plugging wont work for sure , many other issues will appear too
Avatar
malga khalil 10/8/2023 3:50 PM
so its bad solu eather
Avatar
has anyone put openvpn on a kobo device?
Avatar
[matrix] tux-linux BOT 10/9/2023 12:39 AM
No afaik
Avatar
[matrix] Szybet BOT 10/9/2023 12:42 AM
"Everything is possible" or smth idk
Avatar
Better to use tailscale imo
Santhosh joined the server. 10/9/2023 11:19 AM
Avatar
Avatar
Santhosh
Click to see original message
11:33 AM
can i download kindle touch original
Avatar
[matrix] Szybet BOT 10/9/2023 11:43 AM
Its not available
Avatar
it says it is available on request: https://inkbox.ddns.net/downloads.html
Avatar
[matrix] Szybet BOT 10/9/2023 11:44 AM
Its a lie
Avatar
how do you know
Avatar
[matrix] Szybet BOT 10/9/2023 11:45 AM
Im the second developer of this project
11:45 AM
And i know that the main one didnt have time to make it
11:46 AM
this video showing the installed demo of it
Avatar
[matrix] Szybet BOT 10/9/2023 11:48 AM
A experienced developer is able to install it, but making an image for a regular user was harder than expected and we didnt had time to do it and school started soo nope
Avatar
I am an experienced developer and can install if files are made avialble
11:49 AM
thanks a lot
Avatar
[matrix] Szybet BOT 10/9/2023 11:49 AM
Experienced in what
11:50 AM
Well everything is on github
Avatar
[matrix] Szybet BOT 10/9/2023 11:54 AM
Look up kernel repo i think
11:54 AM
Its thw mosst important one
Avatar
thanks I am in! Do you have any plans for make "kindle touch" available for general user?
12:19 PM
I have a Kindle Scribe (for writing notes)
Avatar
Avatar
Santhosh
thanks I am in! Do you have any plans for make "kindle touch" available for general user?
matterbridge BOT 10/9/2023 12:42 PM
[matrix] Szybet we dont have time because of school, we are students in the future, ye
Avatar
Avatar
Santhosh
I have a Kindle Scribe (for writing notes)
matterbridge BOT 10/9/2023 12:42 PM
[matrix] Szybet idk if its locked down
Avatar
Thanks for your great work !
kronarq joined the server. 10/9/2023 8:29 PM
Avatar
Avatar
kronarq
Click to see original message
Avatar
are kobo devices capable of using BLE?
12:06 AM
soon I will have a meshtastic node, it uses BLE for end-user devices to reach a LoRa mesh network, if the kobo supports BLE I will want to make something with that
Avatar
[matrix] Szybet BOT 10/11/2023 12:09 AM
If any devices have BLE built in, they propably can use headphones, thats what they were designed for and i doubt any custom software ( nickel stock one ) will allow you more than that well with inkbox if you figure out the drivers and figure out bluetooth managing in an old kernel then it's a native linux experience
Avatar
Avatar
ewired
are kobo devices capable of using BLE?
kobo devices are just linux machines in custom hardware. Everything is possible with them, it's RPI on hard mode but hey that's more fun
Avatar
true, I thought of hooking up a LoRa radio directly by USB-OTG maybe
Avatar
my libra 2 has a RTL8723DS wifi adapter module and the realtek site says it supports BLE (edited)
Avatar
I had to look up what LoRa was. License free radio bands that you can use for communication?!
9:52 AM
How do I contribute to having something that works through LoRa on InkBox and on Postmarket's Kobo Image on the Air Desktop?
9:56 AM
I explained what I've been learning about e-ink devices and the various software projects to someone who is interested in funding development of a very low vision and blind friendly user interface, and LoRa communication capabilities would be a very desirable feature.
Avatar
Avatar
dandelion
I explained what I've been learning about e-ink devices and the various software projects to someone who is interested in funding development of a very low vision and blind friendly user interface, and LoRa communication capabilities would be a very desirable feature.
what are you talking about?
Avatar
Being blind and using a screen as a user interface are typically contradictory
Avatar
some devices have audio and physical buttons, right?
Avatar
"some"...
Avatar
also I think they dont actually have audio, just bluetooth
Avatar
Avatar
Kuratius
also I think they dont actually have audio, just bluetooth
heh it depends
10:06 AM
;p
Avatar
I heard the hisense a5 and a5 pro are rootable, but not the hisense a7cc or a9
10:08 AM
Do you know if that's true?
Avatar
its true, but those are still shitty chinese phones
Avatar
I think the little hole to the side of the charging hole on my hisense a5 is a 3.5 mm audio jack
Avatar
at that point it has nothing to do with eink
10:08 AM
just develop for a phone
Avatar
i love my hisense a5
10:09 AM
yeah, i'm trying to figure out who to connect with who to make that happen
Avatar
yeah but we're talking in the context of making an app for blind people
Avatar
more like an interface
Avatar
Avatar
dandelion
i love my hisense a5
dont you have problem with english translation, wireless connections?
Avatar
my hisense a7cc doesn't connect to mobile data at all, that's true
10:10 AM
the hisense a5 did, but mine started to get a swollen battery after being dropped for the nth time
10:11 AM
it's study btw, survived many falls from at least waist height without a case
Avatar
sturdy
Avatar
it has a voice assitant, but it's in chinese
10:11 AM
i don't speak chinese
Avatar
are we talking someone who has to spend x amount of money on an accessibility project whose primary concern isnt how useful the project is actually going to be?
Avatar
i think so. someone i know talked about making it a priority to find making an eink device that does communication stuff and linux stuff functional
Avatar
define both of these things
Avatar
i think the project here and the postmarket air desktop might be the furthest along towards something like that from what i can tell
Avatar
ideally, if a phone, it could make and receive phone calls and text messages and utilize mobile data can support at least one commonly used messaging program that works over wifi if on a port to an x86-64 architecture, have control of red, green, and blue diodes, so the monitor can have a 100% contrast them, and have toggle over the warm and the cool lighting if it's an e-ink monitor that has front lighting, and the ability to turn on say, just the red light diode and use the monitor with monocolor light if LED. An interface similar to the one on the imitation light phone menu, not sure if it's still available on f-droid or not. It's a text based launcher that just lists all the programs. It functions well even with text set to huge Possibly, if on a device with audio or a jack, a voice robot that announces which program is selected by a physical button as one scrolls? Some flexiblity in the goals based on what's possible and doable
Avatar
what if its an ereader? like a kobo?
Avatar
drop the voice goal for that device and focus on low vision
Avatar
so what with low vision?
Avatar
have you ever used the light launcher available through fdroid on android?
Avatar
nope, explain it
Avatar
maybe just make a software app for 2in1 laptops for blind people
Avatar
If I install it on my hisense a5 when I unlock my phone the screen defaults to my favoites that I've pinned to the top It was a list "Phone Contacts QKSMS Vortaro"
Avatar
there you can at least easily connect a braille reader
Avatar
Then if I scroll past those
Avatar
Avatar
Kuratius
there you can at least easily connect a braille reader
what the fuck
Avatar
Avatar
Szybet
what the fuck
what
Avatar
every program on my phone is in alphabetical order
Avatar
oh you mean a hardware solution?
Avatar
with a search bar at the top
10:31 AM
no, an interface
10:31 AM
i used a bigger font program
10:31 AM
and the words on the phone were maybe 24 font
10:31 AM
it was really nice
Avatar
Avatar
Szybet
oh you mean a hardware solution?
it's a device where you have dozens of little pins forming braille characters depending on where on the screen your cursor is
Avatar
Avatar
Kuratius
it's a device where you have dozens of little pins forming braille characters depending on where on the screen your cursor is
ye i see. for a second i thought you mean software reader xD
Avatar
A refreshable braille display or braille terminal is an electro-mechanical device for displaying braille characters, usually by means of round-tipped pins raised through holes in a flat surface. Visually impaired computer users who cannot use a standard computer monitor can use it to read text output. Deafblind computer users may also use refres...
Avatar
well this launcher could be add to inkbox. Then what? those apps are not blind friendly anyway?
Avatar
figure out a way to make a 3d printable cheap design
10:33 AM
and write a linux driver for it
10:33 AM
commercial solutions are very expensive iirc
10:33 AM
so this will actually help people
Avatar
well thats achievable
10:33 AM
someone would need to pay me a lot
10:34 AM
but using electro magnets to move psychically those letters, yea achievable
10:34 AM
or just motors
10:35 AM
a resin printer would be needed
10:35 AM
idk, if there would be demand for something like this open sourced then someone would do it already?>
Avatar
This project seeks to develop a low-cost, open-source braille display. It is estimated that its cost is reduced to more than 90% compared to the cost of the cheapest screens that exist in the marke...
Avatar
exactly lol
Avatar
what does a lot mean to you? i'll go back to that person with a number How much for the low-vision friendly interface/home screen/launcher? how much for an open source hardware braille reader?
Avatar
apparently commercial braille displays are between 1000-6000 $ (edited)
10:38 AM
rofl
Avatar
First, i dont have time currently for anything, i will have time in june next year second, Idk? you would need to offer and first describe what exactly you want. I would love to make something open sourced and get paid for it
Avatar
I'm still trying to figure out the github system
10:43 AM
@Kuratius so you think a text based menu and a braile display would be a good step towards accessibility for totally blind people?
10:45 AM
@Szybet do you have an opinion on whether it's a port to x86-64 or for one of the small e-ink devices? Kobo? Hisense A5?
10:46 AM
As I work to clarify the project, which way would you suggest, prefer?
10:49 AM
Hisense A5 Pro? Better hardware, so if it works on US networks, it might be relevant longer? X86-64 with an e-ink monitor and/or braille display?
Avatar
Avatar
Szybet
well this launcher could be add to inkbox. Then what? those apps are not blind friendly anyway?
Maybe do an image that's especially for low-vision/blind, that's designed to be a truly frictionless experience, nothing on it except what works and works very well in those parameters, unless the user chooses to install it
10:54 AM
Up to 8% of men and .5 % of women are colorblind
10:55 AM
A text based, simple list launcher/home screen would be easier to use for color blind people, too
Avatar
Avatar
dandelion
@Szybet do you have an opinion on whether it's a port to x86-64 or for one of the small e-ink devices? Kobo? Hisense A5?
matterbridge BOT 10/11/2023 11:08 AM
[matrix] Szybet You mean the launcher menu?
Avatar
Avatar
dandelion
Maybe do an image that's especially for low-vision/blind, that's designed to be a truly frictionless experience, nothing on it except what works and works very well in those parameters, unless the user chooses to install it
matterbridge BOT 10/11/2023 11:08 AM
[matrix] Szybet Image? What do you mean?
Avatar
Sorry I don't speak computer very well
Avatar
Avatar
dandelion
Hisense A5 Pro? Better hardware, so if it works on US networks, it might be relevant longer? X86-64 with an e-ink monitor and/or braille display?
matterbridge BOT 10/11/2023 11:09 AM
[matrix] Szybet Hisense is chinese nonsense and eink monitors are too expensive Kobo ereaders are the middle ground of that
Avatar
Avatar
matterbridge
[matrix] Szybet Image? What do you mean?
well, the layout of the home screen of the current inkbox can't easily be changed by a low-ability user, right?
11:12 AM
so if the home screen was also the launcher, wouldn't it make sense to pick one or two devices to make that the default?
Avatar
[matrix] Szybet BOT 10/11/2023 11:12 AM
Nope, but making it low ability is possible
Avatar
Avatar
dandelion
so if the home screen was also the launcher, wouldn't it make sense to pick one or two devices to make that the default?
We could just ship diffrent install images
Avatar
Lets say we make this launcher for inkbox, then what? The apps are not so eye friendly anyway?
Avatar
focus on the ones that can be made to work
11:39 AM
can the reader be made with text menu settings that can be scrolled through and read easily by a braille reader?
Avatar
Avatar
dandelion
focus on the ones that can be made to work
Which ones then. Sanki could for sure
Avatar
Some kind of message app? nabox?
11:41 AM
So then the text launcher home screen install image could at least have: reader sanki nachat (messages) text only browser? Option to install other less tested/perfected apps? (edited)
Avatar
Avatar
dandelion
can the reader be made with text menu settings that can be scrolled through and read easily by a braille reader?
Maybe, yea propably
Avatar
And do at least those things very, very well
Avatar
Nabox? Isint that a blockchain wallet?
Avatar
nachat, i mixed my words
Avatar
Nachat could do for sure
Avatar
your matrix program, right?
Avatar
Avatar
dandelion
So then the text launcher home screen install image could at least have: reader sanki nachat (messages) text only browser? Option to install other less tested/perfected apps? (edited)
All of this with a braile reader?
Avatar
or a device with audio and microphone or if it's not feasible, just focus on it being extremely low-vision friendly for various types of low vision
11:46 AM
i opened an issue on the open braille reader github to ask them for a number so i could tell the potential funder
Avatar
Well interesting ideas
11:48 AM
I will see in june what i will do
🎂 1
💯 1
Avatar
@dandelion See if you can find a community of blind people to ask also (edited)
12:28 PM
Typo, find not fund
Avatar
I know where to ask
12:29 PM
Local blind and low vision organization
Avatar
hi there
10:00 AM
i found this
10:00 AM
and i want to install it
10:01 AM
but does this image only for libra or it can work with others (clara 2e)
10:01 AM
and how to know if this kobox support arabic font and layout
10:07 AM
+ i found 2 tuto with one best to folow
10:07 AM
Avatar
This is a nivhe subject
2:59 PM
And niche questions are unanswered. You neef to check it yourself
Avatar
i already made some searcth and found that you should install it manualy
3:00 PM
and
3:00 PM
witch tuto should i folow from this tow
3:01 PM
3:01 PM
betwen this tow
Avatar
@Szybet
douguites joined the server. 10/13/2023 4:56 PM
Avatar
Avatar
douguites
Click to see original message
Avatar
Welcome you
6:33 PM
anyway, Here is another e-ink project I will be doing: https://github.com/Szybet/E-Watch-FOSS (edited)
👍 1
PlantPalFynn joined the server. 10/13/2023 7:08 PM
Avatar
Avatar
PlantPalFynn
Click to see original message
Avatar
This is a complete reimagining of the Open Book Project, but the original mission remains: As a society, we need an open source device for reading. Books are among the most important documents of our culture, yet the most popular and widespread devices we have for reading are closed objects, operating as small moving parts in a set of giant clo...
Z@c joined the server. 10/14/2023 2:18 PM
2:27 PM
but still no single package (edited)
Avatar
Avatar
Z@c
Click to see original message
Avatar
@Z@c He has seen you. RUN! (edited)
Avatar
just joking
2:36 PM
Was thinking of an SCP-like gag
Avatar
The other day I was at ikea (edited)
2:41 PM
there was no exit
2:42 PM
literally (edited)
Avatar
are you still at the ikea
Avatar
No I ignored the sign that said "no exit" and exited through the entrance
2:42 PM
lots of old people seemed to be trapped in the cantina though
2:43 PM
I think they were closed and doing renovations or something
2:44 PM
I meant to eat something, but found out they only serve full meals after 11.00, so it was breakfast only
Avatar
Avatar
Kuratius
The other day I was at ikea (edited)
matterbridge BOT 10/14/2023 4:10 PM
[matrix] tux-linux Oh I like that scp
Avatar
is hackaday an alternative to github for where projects are hosted?
Avatar
Hackaday is a hardware hacking website. It was founded in 2004 as a web magazine
11:34 PM
Since 2014, Hackaday also hosts a community database of open-source hardware designs
11:34 PM
¯\_(ツ)_/¯
Avatar
I'm just trying to figure out if the open book is moving its project base to hackaday, and I need to make a new accout to be a part of that there, or if they're still mostly on github and the one account I have there is enough
Avatar
I'm testing some hacky Qt render options, as I know which one I used and the diffrence is not too great ( + I'm affected by placebo ), I want you to decide which one is better. Video 1:
7:45 PM
7:45 PM
Video 2:
7:45 PM
👍 3
7:47 PM
Please vote Let's ping a few people I feel like i can ping ;p @Kuratius @tux-linux @Kitkat / Szybet ( sometimes ) @Aramir Others are welcome too
7:50 PM
i will post on mobile forums too
7:51 PM
if the diffrence is a lot for a lot of people, I will implement it and document this change
Avatar
[matrix] tux-linux BOT 10/15/2023 7:54 PM
the second one obviously seems better but it will probably only work on nia
Avatar
the change is in native qt, nothing to do with platform plugin / fbink
Avatar
[matrix] tux-linux BOT 10/15/2023 7:54 PM
it will also make clara freak out for sure
Avatar
Avatar
[matrix] tux-linux
it will also make clara freak out for sure
matterbridge BOT 10/15/2023 7:54 PM
[matrix] tux-linux still
Avatar
[matrix] tux-linux BOT 10/15/2023 7:54 PM
probably
7:55 PM
where do you change it
Avatar
If i tell what is the change then everyone will tell its the second one
7:55 PM
so wait till i decide its worth it
Avatar
not sure if I'm supposed to judge something precisely. But 2nd feel more responsive
🫡 1
8:02 PM
(also, in the first video upon pressing "good" at 0:06, the bottom bar grows up by a few pixels for a couple of milliseconds for some reasons) (edited)
Avatar
Avatar
Aramir
(also, in the first video upon pressing "good" at 0:06, the bottom bar grows up by a few pixels for a couple of milliseconds for some reasons) (edited)
only first time... you have an eye for this. Idk ;p
8:03 PM
this part is fixed size so thats funny
Avatar
I have an eye for spotting details nobody cares about but drive me nuts when trying to fix them.
8:05 PM
I'll go back to my cave for a couple of months until I or rain fix the qt compiler scripts. See ya :p (edited)
😂 1
lollipop877 joined the server. 10/16/2023 4:27 PM
Avatar
Avatar
lollipop877
Click to see original message
WilliamO7 joined the server. 10/16/2023 9:24 PM
Avatar
Avatar
WilliamO7
Click to see original message
CRAZYLUKE joined the server. 10/17/2023 1:16 AM
Avatar
Avatar
WilliamO7
Click to see original message
Avatar
Avatar
CRAZYLUKE
Click to see original message
carlos joined the server. 10/17/2023 7:56 PM
Avatar
no one said hi
Japko joined the server. 10/17/2023 10:11 PM
Avatar
Avatar
Szybet
no one said hi
hi
Avatar
[matrix] dandelionc BOT 10/17/2023 11:29 PM
hi/saluton/hola
Avatar
Hello
slikkemand joined the server. 10/18/2023 9:33 PM
Avatar
Avatar
slikkemand
Click to see original message
NoWing joined the server. 10/21/2023 11:58 AM
nisirfalas joined the server. 10/22/2023 11:31 AM
Avatar
Avatar
nisirfalas
Click to see original message
joost joined the server. 10/24/2023 8:31 PM
davidhouse joined the server. 10/25/2023 6:33 AM
Avatar
Avatar
davidhouse
Click to see original message
Avatar
Avatar
davidhouse
Click to see original message
Avatar
Avatar
joost
Click to see original message
spageti joined the server. 10/26/2023 1:57 AM
CatRovacer57 joined the server. 10/27/2023 1:11 PM
Avatar
Avatar
CatRovacer57
Click to see original message
Zoli joined the server. 10/27/2023 3:13 PM
Avatar
Hey! I have a Kindle 10th (2020) with 5.15.1 firmware. Hopefully it will be jailbroken soon. I'm interested in porting InkBox to my device.
Avatar
[matrix] Szybet BOT 10/27/2023 4:35 PM
Welcome, propably not possiblr because of bootloader drm
Avatar
If you can figure out how to make the bootloader on it boot a different kernel it's probably doable
6:04 PM
Or replace it entirely
6:05 PM
But you have to get serial access first
6:05 PM
I saw a screenshot showing that the serial port is on the hidden side of the motherboard on a voyage
6:06 PM
So it may be the case that to check that you would have to remove the motherboard from the screen
6:06 PM
Or at least remove it from the case entirely
6:06 PM
(talking to Zoli)
6:07 PM
I don't think it's worth it unless the kindle is broken or you don't have any other use for it
6:07 PM
And the flashing process is probably going to be a hassle for other people unless you figure out if there is some sort of usb serial mode
6:08 PM
Also kindles don't have removable storage so if you brick something you may not recover easily
6:09 PM
The kobos have the advantage that you can just put in a different SD card if you mess up
Avatar
Yeah, you are probably right
6:21 PM
I'm thinking about getting a Kobo device now
🥳 1
Avatar
[matrix] andi1 BOT 10/27/2023 10:31 PM
but check for the individual kobo,
10:31 PM
most have a micro sd
10:31 PM
but not every kobo
7:55 AM
@Zoli
aptgetyolo joined the server. 10/28/2023 9:34 PM
Avatar
Avatar
aptgetyolo
Click to see original message
ccadi joined the server. 10/29/2023 9:26 PM
Avatar
Avatar
ccadi
Click to see original message
drop2 joined the server. 10/30/2023 1:39 PM
Médusor joined the server. 10/30/2023 5:57 PM
Avatar
exactly what i said, electromagnets
11:04 PM
:D
Avatar
Meet Modos. The World’s First E-ink Laptop Made For Reading, Writing and Thinking— Designed for a healthier relationship with technology.
💟 1
Avatar
[matrix] tux-linux BOT 10/31/2023 4:32 PM
It will never be ready
Avatar
they created a open source eink module ( driver )
Avatar
[matrix] tux-linux BOT 10/31/2023 4:33 PM
^^
4:34 PM
That is my guess
Avatar
hello, I would like to make a request to install the os on a kobo N873.
Avatar
Not available sorry
12:14 PM
@tux-linux im getting insane please update the website and readme
testr joined the server. 11/3/2023 4:11 PM
Avatar
Avatar
testr
Click to see original message
Sticker
Avatar
Avatar
testr
Click to see original message
Sticker
Avatar
Avatar
Szybet
@tux-linux im getting insane please update the website and readme
matterbridge BOT 11/5/2023 5:28 PM
[matrix] tux-linux done
Avatar
readme
Avatar
[matrix] tux-linux BOT 11/5/2023 5:28 PM
which one
Avatar
inkbox
5:28 PM
with the message
Avatar
[matrix] tux-linux BOT 11/5/2023 5:29 PM
where does it talk about kt or n873
Avatar
i mean the one i sended you
5:29 PM
not about devices
Avatar
[matrix] tux-linux BOT 11/5/2023 5:32 PM
hmm
Avatar
[matrix] foxo (@foxo:foxo.me) BOT 11/6/2023 8:23 PM
Hello! I've installed InkBox on my Kobo Mini and i would like to use it as a small dashboard for my home assistant instance. Looking at the wiki i can see i could just kill the ibkbox gui and use fbi to draw on the framebuffer. However, I'm not 100% sure how to connect reliably to the ebook - since it looks like with inkbox the wifi connection drops frequently
8:24 PM
Also, is there a way to enable boot flags without disassembling the device?
Avatar
[matrix] Szybet BOT 11/6/2023 8:36 PM
wifi on kobo mini is not reliable
8:37 PM
and we dont have this device now so someone else needs to fix that
8:38 PM
as for other questions you can, better to use fbink for that, or just qt like a normal human being ;) yes, you need to root the device and via shell for example
Avatar
which wifi chip does it have?
Avatar
its propably a inkbox issue
Avatar
Avatar
[matrix] Szybet
as for other questions you can, better to use fbink for that, or just qt like a normal human being ;) yes, you need to root the device and via shell for example
matterbridge BOT 11/6/2023 9:17 PM
[matrix] foxo Oh damn fbink looks really nice
Avatar
[matrix] Szybet BOT 11/6/2023 9:43 PM
gui app can only exit itself, there is no kill switch, you need to implement it
9:43 PM
so its just like killing inkbox gui
9:44 PM
the only diffrence is that on reboot inkbox launches and you have access to the wifi manager
9:44 PM
if thats not what you want, you need to replace inkbox.sh with your script that will connect to wifi via cli
9:51 PM
gui apps can also eassly be shared with other users and updated, reproduced
Avatar
Avatar
[matrix] Szybet
gui app can only exit itself, there is no kill switch, you need to implement it
matterbridge BOT 11/6/2023 9:53 PM
[matrix] tux-linux They can be killed
Avatar
[matrix] Szybet BOT 11/6/2023 9:55 PM
they can but nothing does it
9:56 PM
+ if the app crashes inkbox launches, so a fail safe (edited)
Avatar
oh ok
9:58 PM
why would someone need to do it
Voodoo joined the server. 11/7/2023 2:49 PM
Avatar
Avatar
Voodoo
Click to see original message
hajimen joined the server. 11/9/2023 7:04 AM
Avatar
Avatar
hajimen
Click to see original message
Sticker
Ihave452tuna's joined the server. 11/9/2023 8:27 PM
Avatar
give me 1 tuna then
Avatar
Avatar
Ihave452tuna's
Click to see original message
Avatar
that is so cool
Avatar
this is the coolest thing ever. thank you so for showing me the coolest thing ever.
Avatar
another cool thing: https://www.nemeio.com/
Nemeio is a new generation keyboard. You are now totally free to choose how you use your keyboard with Nemeio’s customizable keys that is adapted to your specific needs.
Michael Adams joined the server. 11/10/2023 8:51 AM
Avatar
Avatar
dandelion
another cool thing: https://www.nemeio.com/
Well thats a bad idea
Avatar
Avatar
dandelion
this is the coolest thing ever. thank you so for showing me the coolest thing ever.
Um have you seen my nia turned into a modular writing device? I think ita cooler
Avatar
Ihave452tuna's 11/10/2023 5:39 PM
hi guys!
5:41 PM
i came from the mobilereads forum, Szybet told me about inkbox. turns out i have a model 4C1 kobo and it was a slight hassle to find that out. just for future use maybe post the N306C img on the /bundles/inkbox/native/n306
5:41 PM
:)
5:41 PM
otherwise thanks for saving my dead nia! love the os
❤️ 1
Avatar
Avatar
Ihave452tuna's
i came from the mobilereads forum, Szybet told me about inkbox. turns out i have a model 4C1 kobo and it was a slight hassle to find that out. just for future use maybe post the N306C img on the /bundles/inkbox/native/n306
matterbridge BOT 11/10/2023 6:01 PM
[matrix] Szybet Hi C is not the default, it was not the first model ported so it always will be the "second one" as in codebase and releases, so it stays like that. a user needs to read the wiki / github issue and choose anyway. Well maybe a better wiki page could be handy...
Avatar
Ihave452tuna's 11/10/2023 6:11 PM
personally id just have a dislaimer and a dl file like N306-4C1
Avatar
[matrix] Szybet BOT 11/10/2023 6:12 PM
well first there is no 4C1, its just C and the n306 will be n306A as its the first one and its codename is a
Avatar
Ihave452tuna's 11/10/2023 6:20 PM
that system makes sense
6:20 PM
is there a way to tell if its an A or C from the outside though?
Avatar
nope - maybe from the serial number from the box
6:21 PM
in code from the main os it would be possible
Avatar
Ihave452tuna's 11/10/2023 6:21 PM
huh
6:21 PM
and besides the code on the pcb
6:21 PM
37NB-E60U20+4C1 in my case
6:21 PM
above the battery
Avatar
well chips and some components are diffrent
6:24 PM
so this is the main way to find out
6:24 PM
described int the post
Avatar
Ihave452tuna's 11/10/2023 6:25 PM
fair
Avatar
Hello, I got a tolino shine 2 that I flashed the N613 (the kobo glo one which is the equivalent) inkbox image on but it doesn't find any of the epubs that I've transferred onto it and it doesn't show any books downloaded from the online library. I've tried restarting and resetting it several times is there anything besides reflashing the sd or using a different sd card that I can try?
Avatar
send me an image of where you try to look for your books
Avatar
in the local library, it just shows the there are no books on your ereader
10:38 AM
Avatar
oh, you also broke your case when opening... i did too ;D
Avatar
yeah they are hard to open without with all the glue
10:40 AM
also it was partially broken before hand anyway XD
Avatar
connect it to PC, upload your books, wait a few minutes, then unmount
10:40 AM
if that doesnt work, try this:
10:40 AM
Is there an equivalent command on windows for the UNIX/Linux sync command? I need to verify all writes caches have been flushed to disk system wide on an as needed basis. I don't want to disable ...
Avatar
Avatar
Szybet
connect it to PC, upload your books, wait a few minutes, then unmount
additionall delays between things are welcome
10:40 AM
unmount it in software on your host OS
Avatar
I did the whole connect upload and disconnect several times
10:41 AM
it did show them once for a really short time and then they dissapeared again like the 2. time I connected it but I haven't been able to get them to show up since
10:42 AM
ill try the sync in a bit
Avatar
Avatar
Szybet
unmount it in software on your host OS
.
Avatar
How important is it to safely eject your external storage devices? It is not always easy to tell whether your computer is still accessing or writing files to the external storage devices we use. Pulling a memory card out of its reader or removing an external drive out of the USB port could cause corrupted files, unreadable media or both. Ejectin...
Avatar
Avatar
Szybet
connect it to PC, upload your books, wait a few minutes, then unmount
nope still doesn't show them, neither does the sync help
Avatar
upload via ssh with a rooten kernel then
Avatar
is it normal for a kobo to make noise while powered on
12:27 PM
it's not correlated with the front light, I still hear it when the front light is completely off
12:28 PM
though the front light is starting to flicker a bit in one corner
Avatar
[matrix] tux-linux BOT 11/13/2023 2:08 PM
Mines sometimes make noise
Avatar
normal, no
5:52 PM
possible, yes
Avatar
the front light in a certain corner is flickering a bit at like 10-60% brightness, the same corner where there is a gradient that loses the warm color tone, the gradient was always there but maybe not the flicker, I can't tell if I'm just tripping and it has always been that way
Avatar
dead led
Avatar
10% brightness is low enough for it to be gone or at least not notice it, this is what I get for buying "open box"
Avatar
[matrix] Szybet BOT 11/13/2023 7:40 PM
hmm what can i say, eink has most sense without any backlight but with an external light... the sun is my favorite
Avatar
I will continue buying a new kobo every 6 months until they stop getting destroyed by me or coming pre-destroyed, when I get a new device I will sacrifice this libra 2 to trying to get inkbox working on it
Avatar
well, cool
7:43 PM
how do they get destroyed by you?
Avatar
my clara 2e had a 1.5cm scratch from dropping it on a hard metal corner when I was the drunkest I've ever been
7:44 PM
the scratch bothered me so I got a libra 2
7:44 PM
this time with a matte screen protector
7:44 PM
but now this frontlight stuff is happening
Avatar
well the clara 2e still could be ported to inkbox without issues
Avatar
I gave the clara 2e away to someone who will infrequently use it for textbooks
Avatar
cool, better than maing ewaste
7:46 PM
devices with a completly broken screen still could be used to port inkbox to it, at least in 90%: https://github.com/Szybet/kobo-screen-mirror
Mirror your kobo screen to PC, on InkBox OS. Contribute to Szybet/kobo-screen-mirror development by creating an account on GitHub.
Avatar
I wonder if these replacements come with the frontlight
Avatar
its an integrated package, yes
Avatar
dang, a replacement screen for libra h2o costs almost as much as just buying another libra 2
Avatar
the cost of eink is 80% of the cost of the device
Avatar
is it just because of a monopoly from patents or does eink really cost a lot to produce?
Avatar
thats why android eink ereaders suck if they are as cheap as the linux ones - to make the price the same, the hardware is then underpowered for android
Avatar
Avatar
ewired
is it just because of a monopoly from patents or does eink really cost a lot to produce?
nothing costs much if its manufactured on a large scale: semiconductors for example. so yes, eink is a monopoly and it sucks there are really cheap small eink screens used in supermarkets for labeling. they cost almost nothing because there is mass production of this model.
7:55 PM
I bought each of them around 1.5$ from e-bay
7:56 PM
and that with nfc electronics...
7:56 PM
they arent stolen either, most of them are sold on ebay in numbers of hundrets... noone steals that much for nothing? the items on the shelves cost more...
Avatar
that is sad, I hope the patent expires and we get a ton of new eink products
8:08 PM
my open box kobo is still under warranty and they gave me an exemption for physical damage with the screen
Avatar
I also told them about the CPU whine noise and that is also physical damage
8:21 PM
maybe everything wrong with the device is my fault but they're being nice to me this one time by giving me a replacement
Avatar
Avatar
ewired
I also told them about the CPU whine noise and that is also physical damage
its not cpu its a coil being driven wrong, or wrong frequency on it, or tolerances of components went wrong and frequency problem. very weird for a low power device. maybe its related to the brightness flickering, like a voltage line is not stable
Avatar
it sounds like my laptop when I plug it into a certain third-party power adapter
Avatar
i know this sound, in electronics only coils do that "normally" without burning the device
Avatar
now I'm worried about what I'm charging the battery with, though it seems like it's the battery's problem if the noise is happening still while not plugged in
8:27 PM
the noise is there no matter what charger I plug it into
Avatar
dont worry, devices for the most part have protection on both sides, and the charging circuit and the battery. Kobo has both you can find on #dev where i explored a dead kobo, the PMIC died ( the charging, power circuit ) so the battery applied many times short circuit protection - the battery is still fine
8:28 PM
you can try to flood all coils on your kobo with epoxy, it should minimase the noise a bit
Avatar
yeah the coil whine would be fine if it weren't for the frontlight flicker
Avatar
the only time i found a battery without double protection was on earphones... ouch
Avatar
I can't even hear it from 4 inches away, only when it's right in my ear
Avatar
Avatar
Szybet
the only time i found a battery without double protection was on earphones... ouch
oh no, reminds me of messing with pulseaudio on linux lol
Avatar
¯\_(ツ)_/¯
Avatar
For those who read often, e-readers are a great niche device that can help prevent eye fatigue with their e-ink displays especially when compared to a backlit display like a tablet or smartphone, a…
1:35 PM
He mentioned a OS that died in 2018 instead of inkbox
1:35 PM
🥴
Avatar
I saw that and tried looking for a pocketbook 624, never heard of hope xii when researching third-party ereader software
9:48 AM
inkbox could still get a hackaday mention I think, just has to be known by an active forum member or commenter or something
Avatar
We tried make inkbox more popular once when 2.0 was released. Never again🥴
Avatar
[matrix] tux-linux BOT 11/15/2023 12:46 PM
We pretty much lost our time
MrPink joined the server. 11/18/2023 12:18 PM
Mista Pinku joined the server. 11/18/2023 12:25 PM
Avatar
hello people
12:26 PM
what is happening
Avatar
Hello
12:30 PM
Just found about this project, seems exciting
12:30 PM
Have some experience building android kernels and roms, would like to try this on my clara hd
12:31 PM
Any images, or would i have to build it myself?
Avatar
its the most cursed device
12:31 PM
look up #deleted-channel
Avatar
hehe
12:31 PM
always with the cursed ones
Avatar
no. but really
12:32 PM
the nia took 2 people to port it
12:32 PM
the clara has already 20
12:32 PM
who tried and gived up
12:32 PM
not that its hard, they just give up ;p
Seqularise joined the server. 11/23/2023 9:04 AM
Avatar
Avatar
Seqularise
Click to see original message
Avatar
Eink is breathing
2:39 AM
Avatar
scary
2:45 AM
what are you doing
Avatar
refreshing the screen every cpu cycle hehe
Avatar
Ihave452tuna's 11/30/2023 2:24 AM
hey guys, by any chance can you provide a kobo nia n306 stock rom? one that works with the custom diagnostic boot img.
Avatar
[matrix] Szybet BOT 11/30/2023 5:56 AM
What
Avatar
Avatar
Ihave452tuna's
hey guys, by any chance can you provide a kobo nia n306 stock rom? one that works with the custom diagnostic boot img.
are you asking for an image of nickel, or an inkbox image?
10:51 AM
the diagnostic toolkit thingy is inkbox, it's not a stock/nickel thing (edited)
10:51 AM
I think
10:53 AM
if you see the custom diagnostic after attempting to install inkbox you probably did something wrong, maybe chose the wrong image
10:53 AM
idk if the nia-c version is on the website yet
Avatar
Ihave452tuna's 11/30/2023 12:02 PM
if nickel is the name of the stock os, then yes nickel
12:02 PM
i have the nia-c version
12:02 PM
but ive been using it from the github post
12:02 PM
but its just been too unreliable to sue for me
12:02 PM
so i wnat to come back later to it
Avatar
[matrix] Szybet BOT 11/30/2023 12:15 PM
I dont understand the first question
12:15 PM
And unreliable in what way
Avatar
Avatar
Ihave452tuna's
so i wnat to come back later to it
did you not make a backup of your sd card?
adamseadub joined the server. 11/30/2023 9:43 PM
Avatar
Avatar
adamseadub
Click to see original message
jinnoman joined the server. 12/4/2023 6:56 PM
spren joined the server. 12/5/2023 1:14 AM
jinnoman joined the server. 12/6/2023 10:33 AM
matejdro joined the server. 12/6/2023 12:04 PM
Avatar
Hello?
Avatar
Hello
Bax joined the server. 12/9/2023 2:47 PM
Avatar
Avatar
Bax
Click to see original message
CaptainPuff joined the server. 12/9/2023 9:19 PM
Avatar
Avatar
CaptainPuff
Click to see original message
Sticker
Baxendal joined the server. 12/9/2023 11:12 PM
Avatar
Avatar
Kuratius
did you not make a backup of your sd card?
Ihave452tuna's 12/10/2023 6:26 PM
yes, but for some reason my backup failed to boot now ive lost it
6:26 PM
i had made a forum post on it
Avatar
[matrix] Szybet BOT 12/10/2023 6:28 PM
I do not remember your issue, can you say it once again?
Avatar
Ihave452tuna's 12/10/2023 6:30 PM
it began when I was trying to upgrade my Kobo's storage from 8 GB -> 32 GB by swapping the SD card as a friend of mine had done. removed the SD card and copied the partitions onto a 32 GB card, and removed all the unallocated space. then when i reinstalled everything on the 32 GB card. It would not boot, so I extended the unallocated space from the factory card and reinstalled it. This created the same result and bricked the Kobo
Avatar
[matrix] Szybet BOT 12/10/2023 6:31 PM
which os was used where
Avatar
Ihave452tuna's 12/10/2023 6:31 PM
then i installed a nickel os from the forum but it was the version with the wrong pmic
Avatar
Avatar
[matrix] Szybet
which os was used where
Ihave452tuna's 12/10/2023 6:31 PM
this is all nickel
6:33 PM
so what id need is the factory kobo nia model c image
Avatar
[matrix] Szybet BOT 12/10/2023 6:35 PM
so you dont like inkbox
Avatar
Ihave452tuna's 12/10/2023 6:36 PM
i do like it, however im having massive reliablity and performance issues
Avatar
[matrix] Szybet BOT 12/10/2023 6:36 PM
have you turned off xorg
Avatar
Ihave452tuna's 12/10/2023 6:37 PM
no i havent
Avatar
[matrix] Szybet BOT 12/10/2023 6:37 PM
then do it
Avatar
Ihave452tuna's 12/10/2023 6:37 PM
i used it as is out of box, and didnt run dark mode
6:37 PM
how do i go about i ?
6:37 PM
it*
Avatar
[matrix] Szybet BOT 12/10/2023 6:38 PM
settings
6:38 PM
xorg
Avatar
Ihave452tuna's 12/10/2023 6:38 PM
2 sec
Avatar
[matrix] Szybet BOT 12/10/2023 6:43 PM
i have a problematic access to a kobo nia model c and i could retrieve the image but the reality is i dont have time
Avatar
Ihave452tuna's 12/10/2023 6:44 PM
fair enough, i understand. you foss devs are doing angels work
6:44 PM
finding my kobo now lol
Avatar
Ihave452tuna's 12/10/2023 6:54 PM
there is no xorg setting, howeve ri have disabled xorg and its pretty normal id say now in performance
👍 1
Avatar
Avatar
Ihave452tuna's
it began when I was trying to upgrade my Kobo's storage from 8 GB -> 32 GB by swapping the SD card as a friend of mine had done. removed the SD card and copied the partitions onto a 32 GB card, and removed all the unallocated space. then when i reinstalled everything on the 32 GB card. It would not boot, so I extended the unallocated space from the factory card and reinstalled it. This created the same result and bricked the Kobo
if you did exactly what you said here (remove all unallocated space) (edited)
8:13 PM
then you probably removed the boot partition (edited)
8:13 PM
with waveform information and uboot etc (edited)
8:14 PM
you can only use the unallocated space towards the end of the sd card
8:14 PM
if you extend it towards the beginning you delete the information it needs to boot
8:16 PM
basically, there's two unallocated sections
8:17 PM
the smaller one is actually important
defqt joined the server. 12/11/2023 3:09 AM
Avatar
ladies and gentlemen, we have got native kde plasma running on m2 Mac thanks to asahi linux and u-boot
Bobtime605 joined the server. 12/11/2023 10:30 AM
Avatar
Avatar
Bobtime605
Click to see original message
10:34 AM
Hello bob
Avatar
Avatar
Bobtime605
Click to see original message
ryantteyatsu joined the server. 12/11/2023 6:37 PM
Avatar
Avatar
ryantteyatsu
Click to see original message
Avatar
Avatar
ryantteyatsu
Click to see original message
Mystic joined the server. 12/13/2023 3:21 AM
Avatar
Avatar
Mystic
Click to see original message
CaptainSolidus joined the server. 12/14/2023 8:53 AM
Avatar
Avatar
CaptainSolidus
Click to see original message
CaptainSolidus 12/14/2023 8:54 AM
Sticker
Avatar
Avatar
CaptainSolidus
Click to see original message
Avatar
Avatar
CaptainSolidus
Click to see original message
myinnerpeace. joined the server. 12/14/2023 6:35 PM
Avatar
Avatar
myinnerpeace.
Click to see original message
Avatar
hello
mark! it's mark! joined the server. 12/16/2023 9:41 PM
fate joined the server. 12/17/2023 7:10 AM
trololol joined the server. 12/17/2023 3:06 PM
jack83 joined the server. 12/20/2023 9:50 AM
TheLinuxPirate joined the server. 12/20/2023 6:39 PM
Avatar
Avatar
TheLinuxPirate
Click to see original message
Avatar
Avatar
jack83
Click to see original message
Avatar
Avatar
trololol
Click to see original message
Avatar
Avatar
fate
Click to see original message
Avatar
Avatar
mark! it's mark!
Click to see original message
Avatar
TheLinuxPirate 12/21/2023 1:53 AM
Is this project able/willing to accept github sponsors?
Avatar
[matrix] tux-linux BOT 12/21/2023 1:59 AM
i just applied for that
❤️ 1
1:59 AM
maybe in coming hours the sponsor button will show up
Paddez joined the server. 12/21/2023 12:25 PM
Avatar
Avatar
Paddez
Click to see original message
improvshark joined the server. 12/21/2023 6:24 PM
Avatar
Avatar
TheLinuxPirate
Is this project able/willing to accept github sponsors?
it is done
Avatar
Avatar
tux-linux
it is done
TheLinuxPirate 12/21/2023 8:47 PM
It's a start.
Avatar
[matrix] tux-linux BOT 12/21/2023 8:49 PM
Well, thanks a lot!!
Avatar
TheLinuxPirate 12/21/2023 8:49 PM
No, thank you! I look forward to contributing where I can.
Avatar
[matrix] tux-linux BOT 12/21/2023 8:52 PM
You're welcome. I am still in my exams but if possible I will try to catch up during holidays
Avatar
[matrix] Szybet BOT 12/21/2023 9:26 PM
Awesome
Avatar
As in writing a new firmware for the watchy https://watchy.sqfmi.com/ I wonder what cool integration features could I add to inkbox with the watch, apart from changing pages from the watch, as i plan it already
Avatar
[matrix] Szybet BOT 12/22/2023 12:15 PM
We could brand that firmware with inkbox or smth, like integrate it more into this project
Avatar
Avatar
Szybet
As in writing a new firmware for the watchy https://watchy.sqfmi.com/ I wonder what cool integration features could I add to inkbox with the watch, apart from changing pages from the watch, as i plan it already
control audio playback
8:16 PM
assuming you have wireless headphones
8:16 PM
like, your ereader could be in your backback
8:17 PM
and you could be using bluetooth headphones/earplugs
8:17 PM
though that's still strictly inferior to just using a smartwatch
Avatar
then i would use my phone for that
8:43 PM
my ereader has wireless headphones, so no point in that
Avatar
then there isnt a good integration for this with your ereader
Avatar
i mean when i listen to music on my ereader i use the ereader
Avatar
I mean more like you being able to use the watch to change tracks
8:45 PM
not the watch playing the song itself
8:45 PM
it'd still be played from the ereader
Avatar
Avatar
Szybet
i mean when i listen to music on my ereader i use the ereader
.
8:45 PM
i use my phone for listening to music most of the time soo
Avatar
then you dont really have a use for it
8:45 PM
like I said
Avatar
for the ereader or the watch?
Avatar
you want your watch to either control some function or to display some kind of information
8:46 PM
what information is there that it cant already display on its own?
Avatar
Avatar
Szybet
for the ereader or the watch?
for integrating the watch with your ereader
8:46 PM
that was your question
Avatar
changing 2 menus is not the problem
8:47 PM
but changing pages with the watchy would allow me to read while the ereader is far away from me, in bed for example
8:47 PM
like on the bed table
Avatar
same for wireless headphones
8:48 PM
like if you have it in your backpack playing music via bluetooth
Avatar
then its for my phone
Avatar
I dislike touch controls on earphones for the most part, so physical buttons on the watch would be better
8:48 PM
you can use the watch to control your phone instead
8:48 PM
if you really wanted
8:48 PM
but it's not that useful
8:48 PM
because the phone is not as big as the ereader
Avatar
i will add it, but i im asking for the ereader for now
Avatar
so just taking the phone out may be more convenient
Avatar
not really but yes, i get your point
Avatar
could do anki on the watch?
8:49 PM
idk depends on card size
8:50 PM
text size I mean
8:50 PM
although storage could also be a concern
Avatar
Avatar
Kuratius
could do anki on the watch?
not that usefull
Avatar
Avatar
Kuratius
although storage could also be a concern
nah, flash size is big
Avatar
I'm kind of grasping at straws here
Avatar
i will read books on the watchy
8:51 PM
thats my main point
Avatar
smartwatches dont really do anything your phone doesnt already do
8:51 PM
so idk what use they are, really
Avatar
this one is special, it has eink and can do anything you want
8:52 PM
i will display weather data that i gather via a free api, that is better than any weather app and will save it for offline use, for free
8:52 PM
and read books on the bus by just moving my arm, holding your phone in a standing position in front of you is tiring
Avatar
https://github.com/pimoroni/badger2040 this has a tiny ebook reader you can copy
Examples and firmware for Badger 2040 and Badger 2040 W - GitHub - pimoroni/badger2040: Examples and firmware for Badger 2040 and Badger 2040 W
8:53 PM
maybe change the font size
8:53 PM
and font type
Avatar
fucking python
8:53 PM
what even is this
Avatar
idk ask them
8:54 PM
but it's probably easier to port python to C than to write from scratch
Avatar
200 lines only, its easy to do something like that
Avatar
Avatar
Kuratius
but it's probably easier to port python to C than to write from scratch
idk if you code anything but its often easier to write from scratch ;p
Avatar
really depends on the code you write (edited)
Avatar
Avatar
Kuratius
idk ask them
its running on rpi so its not even arduino framework
8:56 PM
depends on the code that already exists
Avatar
doesnt arduino have micropython?
8:57 PM
a guy made a keyboard using micropython with simple if statement via reading gpio
8:57 PM
it was fucking too slow to type on this keyboard
8:57 PM
fuck python, micropython is heresy
9:03 PM
is your watch smaller than this?
Avatar
this such a bad font
Avatar
its a 296x128 so its 37888 pixels mine is 200x200 = 40000
9:06 PM
🤗
Avatar
Avatar
Kuratius
is your watch smaller than this?
and, yes
Ⲥⲓⲗⲓⲥ joined the server. 12/24/2023 11:00 AM
Avatar
Avatar
Ⲥⲓⲗⲓⲥ
Click to see original message
Sticker
Avatar
Avatar
Ⲥⲓⲗⲓⲥ
Click to see original message
thejevans joined the server. 12/25/2023 5:52 AM
Avatar
Avatar
thejevans
Click to see original message
Bamboo joined the server. 12/25/2023 8:28 PM
Avatar
Avatar
Bamboo
Click to see original message
Avatar
Hello. I came to check on the porting process for the Clara 2e. If at some point there’s development happening on that, I may be willing to help test or contribute if I can.
Avatar
[matrix] Szybet BOT 12/25/2023 9:21 PM
nope, no one touched it
9:21 PM
you need to port it yourself
9:21 PM
we can help bla bla bla
Avatar
Avatar
tux-linux
well 1. do you know linux well? 2. do you have a LOT of time to spare? 3. do you like nightmares?
.
Avatar
I figured as much. 1. Yes 2. At a very irregular schedule. 3. We’ll find out 4. Yes, I have an Arduino.
Avatar
[matrix] Szybet BOT 12/25/2023 9:28 PM
arduino uno pin voltage is 5, which too big for the clara cpu 5V UART adapters worked for all other devices, but no one tryied for the 2E so its 5% chance it will burn (edited)
Avatar
I am willing to work on porting, but as I said, I’ll only have time on a very intermittent schedule.
9:29 PM
I have an RPI as well if that’d work better.
Avatar
[matrix] Szybet BOT 12/25/2023 9:43 PM
ye will do
Avatar
normally for kobo you dont need the 5v or 3v3 input
9:47 PM
battery makes up for that
9:48 PM
so just tx+rx+gnd should be fine
9:48 PM
should
9:48 PM
should
9:48 PM
rpi is reliable tho
Avatar
Great. I will return in something like a month to begin. The device is new, so I’ll get some use out of it first before I begin to hack on it.
Avatar
Original message was deleted or could not be loaded.
1:24 AM
hi
1:24 AM
welcome
1:24 AM
achievement completed: reply to a welcome message
1:27 AM
wdym
1:27 AM
we are for the most part english readers
1:27 AM
so, sadly, we don't work with japanese
1:28 AM
or chinese
1:28 AM
exporting to pdf should work
Avatar
pretty good
1:36 AM
its usable
1:36 AM
but you will probably encounter issues
1:40 AM
idk
1:40 AM
probably bad
1:40 AM
we aren't very much into battery optimization
1:40 AM
first trying to get the system to work and behave would be good
1:43 AM
not really its complicated
1:44 AM
there are guides
1:44 AM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
1:44 AM
this could help
1:46 AM
probably
1:46 AM
there is an emulator no one likes
1:48 AM
maybe you should get an older one that's already supported?
1:48 AM
glo hd or nia are probably the best picks
1:48 AM
glo hd
1:51 AM
well, as you like
1:51 AM
@TheLinuxPirate also wanted to do some clara hd work
1:51 AM
although you could help with testing new clara hd model
1:51 AM
because there seems to be variations
1:51 AM
there is the Clara HD A and the Clara HD B
1:51 AM
i think there's a different pmic in it or something
1:53 AM
well, its probably more difficult
1:54 AM
it's as you want
Avatar
TheLinuxPirate 12/26/2023 4:53 PM
I got lucky and got the older model Clara HD blind-buying on Amazon. I thought I read the other model will fry itself if you attempt to boot the mainline kernel on it, but that may have been postmarketos. (edited)
4:54 PM
and its a maybe
Pieterv24 joined the server. 12/26/2023 8:36 PM
Avatar
Avatar
Pieterv24
Click to see original message
Sticker
Avatar
Original message was deleted or could not be loaded.
What's worse is that Furigana doesnt work either 😦 Only project I know of that supports Furigana is koreader. Iirc there is a koreader build for inkbox so you can just use that I think. I think vertical text is only implemented in the stock nickel reader.
Avatar
let's play a game of "how many japanese readers are out there complaining it's not supported instead of implementing it" for now it's 2 ;) (edited)
12:08 AM
😄 1
Avatar
Avatar
Kuratius
if you cant read japanese it may not be immediately obvious, but stuff like this is supposed to be above the kanji 懐かしい声 with small text above that says なつ こえ
Most of the books I read have furigana in them, check the message to see the bugs it causes
12:10 AM
12:11 AM
plato has the same bug 😢
12:11 AM
basically ruby tags arent implemented
12:12 AM
so the parser ignores them and vomits it where it shouldnt be
12:13 AM
\overset would work for this purpose in latex and there are compact latex renderers that support overset + text
12:13 AM
so that could be a workaround, but you'd need implement linebreaking and whatnot first
12:14 AM
since the latex projects I saw that are standalone dont have that many features
12:16 AM
I played aroud with microtex here
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
here
12:16 AM
A dynamic, cross-platform, and embeddable LaTeX rendering library - GitHub - NanoMichael/MicroTeX: A dynamic, cross-platform, and embeddable LaTeX rendering library
rndll joined the server. 12/27/2023 1:42 AM
Avatar
Avatar
rndll
Click to see original message
👋 1
1:49 AM
maybe inkbox could get latex support
1:49 AM
idk for what use case tho
jack joined the server. 12/27/2023 3:33 PM
Avatar
Avatar
jack
Click to see original message
Avatar
@tux-linux i have found a job for your talent
12:56 AM
12:57 AM
what is the font for the hour and minute timer, the biggest one
12:58 AM
https://github.com/Prokuon/watchy-starfield/blob/main/Watchy_7_SEG.cpp Saying that it's stupid to make static gui's once got me already into trouble but fajkdsnfjksandmjk what the fuck this amazing clock is mostly if else bitmap
Avatar
hm i am not good in bitmap fonts
4:03 AM
sorry
4:03 AM
but maybe if you go on dafont.com you will eventually find it
4:03 AM
this website hasn't changed in 10 years
4:04 AM
Archive of freely downloadable fonts. Browse by alphabetical listing, by style, by author or by popularity.
4:04 AM
maybe it's in one of the 54 pages
4:42 AM
it apparently wants to load this font DSEG7_Classic_Bold_53 but it's either proprietary or not there because can't find it anywhere
4:42 AM
on dafont you will probably find something that suits your needs though or even in fbink preinstalled bitmap fonts (edited)
🦤 dodo joined the server. 12/28/2023 9:06 AM
Avatar
The code doesnt match the image
11:00 AM
Its a ttf font
11:02 AM
Monospaced one
Avatar
Yea I know it's like it's not the same font
1:14 PM
this looks good
1:14 PM
this watch is awesome
1:14 PM
i can do anything i want
1:14 PM
my firmware is in the style of ipd but no mutexes because everything is thread safe and proper task management from freertos, better than what we have
👍 1
Kili joined the server. 12/28/2023 1:29 PM
Avatar
Avatar
Kili
Click to see original message
Sticker
Avatar
Avatar
Kili
Click to see original message
Avatar
Hi, I am struggling a bit. I placed my epubs in a subfolder on the SD-Card. But they don't show up in InkBox.
2:16 PM
Do they have to be in a specific location?
2:18 PM
...the best thing is, when you describe the problem and come up with the solution. Solved, my fault. (Thanks for being my rubber duck 😄 )
Avatar
Just installed KoReader. Is it correct, that I have to copy my books to the app-data folder to access it? Furthermore, right now I have the problem that KoReader is not saving the current settings (like changing language). After exiting KoReader, it is set to english again. Any chance to keep the settings?
Avatar
yes - if you dont want in app-data, then you need to update the rootfs Oh It's a bug with my port of koreader - you need to figure out how to tell koreader where to save the settings ( I thought It worked ) then I can create a new app package I dont have time to do this soo
2:59 PM
the sources are on my github
Avatar
okay, thanks
Cole joined the server. 12/28/2023 8:32 PM
Avatar
Avatar
Cole
Click to see original message
zowlverein joined the server. 12/29/2023 6:15 AM
Avatar
Avatar
zowlverein
Click to see original message
Sticker
Avatar
luismaylon1234q 12/29/2023 8:57 PM
there is a web browser for inbox operating system?
Avatar
[matrix] Szybet BOT 12/29/2023 8:59 PM
yes and no a shitty xorg one which is lagging and one that doesnt have a on screen keyboard and supports barely html
Avatar
Avatar
[matrix] Szybet
yes and no a shitty xorg one which is lagging and one that doesnt have a on screen keyboard and supports barely html
luismaylon1234q 12/29/2023 11:10 PM
So with inbox what will you be able to do???
Avatar
[matrix] tux-linux BOT 12/29/2023 11:11 PM
Read books I guess?
Avatar
read rss news learn with sanki play some games bend the device to your own will with free and open source software
Diantox joined the server. 12/30/2023 7:24 AM
Avatar
Avatar
Diantox
Click to see original message
Avatar
Avatar
Diantox
Click to see original message
Avatar
Avatar
Diantox
Click to see original message
Avatar
Hey ya'll, I had a couple of questions on InkBox...
  • Is there a porting guide? I'm an embedded/Linux engineer in my day job (working mostly with NVIDIA Tegras, Rockchips, and some Amlogic chips) and am looking to port InkBox to my Clara 2E
  • Is there a way to run "user apps" on InkBox? ie. if I want to write a WireGuard UI so I may use a VPN, or a UI to sync with my homelab
Avatar
1. It's complicated 2. Yes, idk if that specific thing will work though
12:30 AM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
12:30 AM
Might help Otherwise we can guide you
Avatar
Thanks, I'll give it a look!
👍 1
Avatar
Finally a developer
12:50 AM
Welcome
12:51 AM
The 2E should be easy to port, its the same kernel as kobo nia c
ChrisGilmore joined the server. 12/31/2023 10:33 AM
Avatar
Avatar
ChrisGilmore
Click to see original message
😄 1
DerpyBoi joined the server. 1/4/2024 5:38 AM
Avatar
Avatar
DerpyBoi
Click to see original message
Avatar
hello
Avatar
hi
5:45 AM
achievement completed: not behave like a ghost
Avatar
yep
5:46 AM
guess this server is dead/semi-dead
5:46 AM
atleast i wont have tons of pings
Avatar
not really just run by two students desperately in need of a proper development team
Avatar
welp, if i knew how to dev, i would
5:48 AM
my development skills are limited to making minecraft modpacks and maybe some arch commands but thats it.
5:48 AM
so uh
5:48 AM
non existant
5:49 AM
i mean i know a TINY bit of python
Avatar
i understand
5:51 AM
its okay
ed joined the server. 1/4/2024 10:35 PM
Avatar
Avatar
ed
Click to see original message
Lanzallamasruso joined the server. 1/5/2024 8:40 PM
Avatar
Avatar
Lanzallamasruso
Click to see original message
Marzagheddon joined the server. 1/6/2024 1:56 PM
Avatar
Marzagheddon 1/6/2024 1:57 PM
Hi everybody, just installed inkbox on a kobo touch n905c and wanted to give a feedback. Probabbly will donate if everything looks fine
1:59 PM
cool
Avatar
Marzagheddon 1/6/2024 2:00 PM
What is the point of UI scaling factor if then i can increase the font? I'm sorry I am noon
2:00 PM
Noob
Avatar
its broken and should be removed
2:01 PM
dont use it
Avatar
Marzagheddon 1/6/2024 2:02 PM
I must select one during the setup, so i choose which one?
2:02 PM
choose the default one
Avatar
Marzagheddon 1/6/2024 2:06 PM
Yea, the scaling factor should be to minimum otherwise some buttons like the exit button in 2048 goes off the screen
2:06 PM
Should i open a bug report or something?
Avatar
nope, we know that
Avatar
I will remove it today I think
Avatar
Marzagheddon 1/6/2024 3:41 PM
I have had a fatal bug
3:43 PM
Was browsing the kobox browser, went to the settings page of the browser, it gave an alert that said vnc connection lost (even if i didn't use vnc at all) ad it crashed
3:43 PM
Now the screen is completely black and idk how to reset it
Avatar
xorg is completly experimental and such things can happen especially on such a old device
3:43 PM
reset the ereader, turn it off and on via the power button
Avatar
Marzagheddon 1/6/2024 3:46 PM
Alright, i didn't know i could restart the device. Thx. I'll disable the xorg things
Avatar
To make netsurf not crash, you can try not to open the menus
Avatar
[matrix] haitam-kenwai BOT 1/6/2024 10:18 PM
Hi everyone, sorry for bothering with question but does anyone have a Kobo Nia in order to compare my experience? I'll explain myself better: I installed and (after a bit of trouble resizing the SD) everything was working but... It's "laggy"... I mean, I don't care about the fact that it's slow (I only have to read on it, so speed is not necessary), what I mean is that quite often menus don't load well (elements from previous rendered page are overlapping with the new page) and for example KoReader don't boot straight up. I'm aware of this issue: https://github.com/Kobo-InkBox/inkbox/issues/47 but I have a +4A2 serial number. I'm asking this just to know if something is wrong with my device or simply the Nia isn't powerful enough and I will have to change device to get a better experience.
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
Avatar
[matrix] Szybet BOT 1/6/2024 10:19 PM
disable xorg
Avatar
[matrix] haitam-kenwai BOT 1/6/2024 10:20 PM
Trying rn
Avatar
[matrix] Szybet BOT 1/6/2024 10:20 PM
if the sd card is slow, the device can be slow too
Avatar
[matrix] haitam-kenwai BOT 1/6/2024 10:23 PM
So, just to know, Xorg isn't the main display server? I guess then than it's used for custom apps like Qt ones?
10:25 PM
And also, by disabling Xorg you mean KoBox right?
Avatar
[matrix] Szybet BOT 1/6/2024 10:25 PM
its the opposite qt has its own faster and better way of displaying things and xorg is weird slow buggy and hell with him yes, kobox
Avatar
[matrix] haitam-kenwai BOT 1/6/2024 10:27 PM
So is Qt the DS rn?
Avatar
[matrix] Szybet BOT 1/6/2024 10:28 PM
there is no ds server in a linux way
10:28 PM
qt has platform plugins, and those are attached to apps as "libraries" and they display to xorg, or wayland, or directly to the screen in our example
Avatar
Avatar
[matrix] Szybet
qt has platform plugins, and those are attached to apps as "libraries" and they display to xorg, or wayland, or directly to the screen in our example
matterbridge BOT 1/6/2024 10:29 PM
[matrix] haitam-kenwai Didn't know that
Avatar
[matrix] haitam-kenwai BOT 1/6/2024 10:29 PM
Cool
10:29 PM
Thanks for the explanation
10:29 PM
I rarely use Qt apps (and never developed in it)
10:33 PM
Ok, now everything seems better
10:34 PM
Does disabling KoBox prevent me from doing something?
10:34 PM
using kobox apps
Avatar
Avatar
[matrix] Szybet
using kobox apps
matterbridge BOT 1/6/2024 10:36 PM
[matrix] haitam-kenwai Make sense
Avatar
Marzagheddon 1/6/2024 11:04 PM
I'm trying to open a .epub and it freezes the device... And my microsd is pretty good
Avatar
[matrix] Szybet BOT 1/6/2024 11:04 PM
koreader?
Avatar
Avatar
Marzagheddon
I'm trying to open a .epub and it freezes the device... And my microsd is pretty good
known issue with koreader
11:05 PM
I had my nia freeze for 20 min trying to prerender a Japanese book
11:07 PM
it renders the entire book on first open, with no way to abort the process
11:07 PM
instead of, say, the first page
11:07 PM
in exchange subsequent openings are relatively fast (edited)
Avatar
Marzagheddon 1/6/2024 11:07 PM
Also, now it opened but if i have a big font all the pages are cut. And i can't scroll them
Avatar
Avatar
Marzagheddon
Also, now it opened but if i have a big font all the pages are cut. And i can't scroll them
what reader?
Avatar
Avatar
Kuratius
it renders the entire book on first open, with no way to abort the process
hehe we do that too
Avatar
Marzagheddon 1/6/2024 11:09 PM
Kobo n905
Avatar
and did you use koreader or the built in reader?
Avatar
Avatar
tux-linux
hehe we do that too
soon not
Avatar
Marzagheddon 1/6/2024 11:11 PM
Built in i guess. I clicked reader and then the book
Avatar
prerendering isnt too bad, if there is an abort button and a way to tell progress
Avatar
use koreader, this one is shitty
Avatar
Avatar
Szybet
soon not
why
11:12 PM
didnt you change it
Avatar
mine doesnt do that
11:13 PM
but i dont have time to finish it
11:13 PM
so soon is 6 months
Avatar
so it unzips the book every time?
11:13 PM
no more instant page loading?
Avatar
directly uses the zip via mupdf
Avatar
Avatar
tux-linux
no more instant page loading?
are you ******* serious, i showed you a few demos already and its faster already
Avatar
ok, that too was 6mo ago
11:15 PM
and iirc you said it still wasn't great because it couldn't split pages perfectly
Avatar
"couldn't perfectly" is better than what is now, now its chaos
Avatar
Marzagheddon 1/6/2024 11:17 PM
How to open with koreader?
Avatar
install it
Avatar
does koreader work with 2.0 release or does it need git updates
Avatar
Marzagheddon 1/6/2024 11:18 PM
Damn this is hard lol
Avatar
User applications repository. Contribute to Kobo-InkBox/user-applications development by creating an account on GitHub.
Avatar
Avatar
tux-linux
does koreader work with 2.0 release or does it need git updates
you need to put books inside app data, apart from that sometimes time and brightness can die inside of koreader, apart from that its fine
Avatar
Avatar
tux-linux
this one's not
11:21 PM
oh but yea
11:21 PM
can't download
11:21 PM
should work
Avatar
Marzagheddon 1/6/2024 11:21 PM
Damn, i'll try tomorrow, after some good sleep
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:17 PM
Just discovered inkbox, so excited! Trying to determine which kobo reader has the most ram and is supported, am I correct that it's the Kobo Libra H2O aka N873?
Avatar
i think you should choose the glo hd instead it's less complicated to install inkbox on it
11:18 PM
it has 512mb ram too
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:19 PM
Thank you, I do like the higher ppi on the libra, although not that important, and unless I read wrong the microsd is removable on the Libra but you have to replace the waterproofing, I like that there is some waterproofing, but again not show stopper. Is it really that much easier?
Avatar
[matrix] Szybet BOT 1/7/2024 11:20 PM
nice nick
11:20 PM
as you named yourself so, do you know the watchy?
11:21 PM
the epaper watch
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:22 PM
I've read about it, I had the pebble watch which is transflective lcd and now I have a garmin with similiar b/w screen. my watch battery needs to last at least a week!
11:22 PM
I have a hisense eink phone which is killer, but tons of chinese bloatware and I still dont trust it even though it is rooted and firewalled
Avatar
[matrix] Szybet BOT 1/7/2024 11:22 PM
cool
Avatar
Avatar
tux-linux
i think you should choose the glo hd instead it's less complicated to install inkbox on it
matterbridge BOT 1/7/2024 11:25 PM
[matrix] epaperboi (@epaperboi:matrix.org) is it just removing the sd card that is more difficult?
11:25 PM
there is no sd card in libra
11:25 PM
so you have to install manually over serial
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:26 PM
ahh okay that is very good to know. I don't want a headache so this is very good advice
Avatar
[matrix] Szybet BOT 1/7/2024 11:26 PM
+ there is a risk of bricking it to the state only a skilled developer / electrician could fix it (edited)
11:26 PM
so glo
11:26 PM
or the nia if you want to go cheaper
11:27 PM
also, inkbox os is not perfect, its usable
11:27 PM
just for you to be aware
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:27 PM
nia I was concerned since there are different versions that may not work, don't want to order wrong one. and less ram
Avatar
[matrix] Szybet BOT 1/7/2024 11:28 PM
both work
11:28 PM
on one its less supported but it works
Avatar
Avatar
[matrix] Szybet
so glo
glo hd otherwise you will get 212ppi and 256mb ram
Avatar
[matrix] Szybet BOT 1/7/2024 11:29 PM
https://github.com/Kobo-InkBox/inkbox/issues/47 well here its said it is ported already
Hi 👋🏻 I've flashed the storage of my Kobo Nia, everything worked smoothly. When turning the device on for the first time and since then, I always end up in inkbox Diagnostics and Recovery - it ...
11:29 PM
nicolas please close this issue
Avatar
done
Avatar
Avatar
tux-linux
glo hd otherwise you will get 212ppi and 256mb ram
matterbridge BOT 1/7/2024 11:31 PM
[matrix] epaperboi (@epaperboi:matrix.org) ahh the glo hd I couldn't find the ram, so it is 512?
Avatar
glo hd : 300 ppi and 512 mb ram glo : 212 ppi and 256 mb ram
Avatar
[matrix] Szybet BOT 1/7/2024 11:32 PM
glo hd can be only bought used
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:33 PM
yes I used a mini for a long time because it was the smallest ereader I could find, had to stop when it started getting difficult to find used ones
11:33 PM
ok thank you guys so much I am so glad I came to ask, the glo hd sounds perfect
11:33 PM
I know some discussion is elsewhere but how many hours of reading do people get ballpark, is it much less than stock software? and does it use much energy when off/in sleep?
11:34 PM
I also just discovered KOBOX, which allows a browser, but this is for stock software right?
11:34 PM
I am really hoping I can get some note taking app to take nots while I read, I couldn't find if copy and paste was availabile
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
yes I used a mini for a long time because it was the smallest ereader I could find, had to stop when it started getting difficult to find used ones
did you know inkbox supports mini
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
I know some discussion is elsewhere but how many hours of reading do people get ballpark, is it much less than stock software? and does it use much energy when off/in sleep?
we dont care about battery optimization to sum it up
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:36 PM
yes I did, which is nice since kobo no longer supports the mini I believe
Avatar
first we would like the system to be actually usable
Avatar
Avatar
tux-linux
we dont care about battery optimization to sum it up
matterbridge BOT 1/7/2024 11:36 PM
[matrix] Szybet at least in sleep we do, when its sleeping the battery life doesnt drop much at all
Avatar
especially the reader part, which for the moment is not so great
Avatar
Avatar
tux-linux
especially the reader part, which for the moment is not so great
matterbridge BOT 1/7/2024 11:37 PM
[matrix] Szybet we have koreader as a replacement for that
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:37 PM
koreader can run on inkbox? forgive the stupid questions I know I can find answer, I really appreciate your expertise
Avatar
[matrix] Szybet BOT 1/7/2024 11:37 PM
it can, we have many native apps
Avatar
yes
Avatar
[matrix] Szybet BOT 1/7/2024 11:38 PM
and xorg apps are experimental and slow soo keep that in mind
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:38 PM
nevermind I saw the app list
Avatar
glo hd is one of the best models for kobox
11:38 PM
well, apart from some strange fbdepth bug that happens sometimes
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:38 PM
yes I want the 512ram so I can experiment with xorg apps
Avatar
don't count too much on xorg tho
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:39 PM
no, primarily I want to read books without having every page turn sent to some conglomerate
Avatar
[matrix] Szybet BOT 1/7/2024 11:39 PM
koreader can do that ;p
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:40 PM
I wonder if koreader app on stock softare is enough to minimize the trracking, but I imagine its technically possible for kobo to see what books I have installed if they wanted to with their software
Avatar
[matrix] Szybet BOT 1/7/2024 11:41 PM
on stock firmware it can reset itself often and randomly on updates or randomly if using other apps, which deletes all your data
11:42 PM
and they show you adds obviously
11:42 PM
of books they sell
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:42 PM
yes this is not an option for me
11:42 PM
so inkbox is my only option
11:42 PM
I also have considered the remarkable tablet, but it is expensive
11:42 PM
do you know if the glo hd supports otg keyboard?
Avatar
not tested
11:43 PM
probably some hassle
11:43 PM
idk
Avatar
[matrix] Szybet BOT 1/7/2024 11:43 PM
it should?, and inkbox supports usb keyboard, even a mouse in some places, with hot plugging! ( at least on the nia model A ) https://github.com/Szybet/niAudio/tree/main/keyboard
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
11:43 PM
on other devices, idk
Avatar
well, on nia sure
11:44 PM
on glo hd idk
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:44 PM
what makes the nia special, the port or the hardware?
Avatar
[matrix] Szybet BOT 1/7/2024 11:44 PM
the insane guy that did that
11:44 PM
(me)
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:44 PM
(or the kernel i guess?)
11:44 PM
haha good work
Avatar
[matrix] Szybet BOT 1/7/2024 11:44 PM
nothing really, just everything really
11:45 PM
it was 1 year of free time work to achieve that flawlessly
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:49 PM
youre a star
Avatar
[matrix] Szybet BOT 1/7/2024 11:49 PM
thank you
11:49 PM
its the most advanced eink-usb keyboard open source setup available
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:50 PM
now I am torn, but I think I will enjoy the ram more than the keyboard, hard to say
Avatar
[matrix] Szybet BOT 1/7/2024 11:50 PM
you can tinker yourself to make it work
11:50 PM
also you would need the nia model A to make it work oob
11:51 PM
and a special cable
Avatar
it would be good to have otg support on another device too
Avatar
[matrix] Szybet BOT 1/7/2024 11:51 PM
and some modified software in addition to inkbox because it would be dangerous to add it to the stock
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:52 PM
I may not be the best candidate, I am a researcher so reading is a higher priority than tinkering unfortunately
Avatar
[matrix] Szybet BOT 1/7/2024 11:52 PM
just saying
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:52 PM
is there a max sd card size? I have a 256gb endurance sd card
11:52 PM
for max read/writes
Avatar
[matrix] Szybet BOT 1/7/2024 11:53 PM
no one checked such a big one
11:53 PM
32Gb worked for sure
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:53 PM
such a great project
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:53 PM
alpine one of my favs for the security assumptions
Avatar
[matrix] Szybet BOT 1/7/2024 11:54 PM
/markdown we use outdated alpine (edited)
Avatar
we use alpine from 2019 so can't really vouch on it
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:54 PM
lol
Avatar
Avatar
[matrix] Szybet
/markdown we use outdated alpine (edited)
matterbridge BOT 1/7/2024 11:54 PM
[matrix] Szybet welp matrix has broken formatting
Avatar
we do update software with self compiled versions sometimes
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:54 PM
better than the outdated chinese android 8 on my current reader !
11:55 PM
encrypted storage is crucial at least
Avatar
[matrix] Szybet BOT 1/7/2024 11:56 PM
hehe...
11:56 PM
nicolas, i didnt followed encrypted storage, does it work?
Avatar
probably
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:57 PM
haha
Avatar
[matrix] Szybet BOT 1/7/2024 11:57 PM
propably is 30% here
Avatar
it was nuclear-proofed before 2.0 release
11:57 PM
so yes
11:57 PM
but it causes some issues with local library so you have to open your books by searching them
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:57 PM
glo hd comes in 2gb and 4gb apparently? but it doesnt matter since I am replacing sd card anyway?
Avatar
what does the listing look like
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/7/2024 11:59 PM
nevermind, I can figure out on my own dont need to bother you
12:05 AM
ok so even though its not priority no ballpark for how long battery lasts reading?
Avatar
3d not more I think
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 12:07 AM
thats killer
12:07 AM
and h2o has the biggest screen but difficult to flash
Avatar
Though better batt
12:08 AM
I am probably biased because I leave my Kobo's plugged in all the time
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 12:10 AM
last I could find no copy pasting in koreader, is there any way to copy paste selections from a book into a notes app (like feather notes, thank you szybet!)
Avatar
[matrix] Szybet BOT 1/8/2024 12:11 AM
feather notes needs usb keyboard we dont support multi apps because of hardware limitations
12:11 AM
so you sadly wont be able to use them at the same time
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 12:11 AM
okay makes sense.. looking up now how koreader handles highlights and if I can export
12:13 AM
looking forward to using the rss app and then syncthing so I can push my newsletters over
12:13 AM
will probably come crawling back when I am trying to figure out what formats rss takes for importing my current rss feeds
12:14 AM
very grateful and impressed you both are on here and so helpful
Avatar
I suggest you try it on your mini first Then decide if you want to buy Glo hd
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 12:14 AM
the mini is long gone unfortunately
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 12:14 AM
and I really have no other alternatives for privacy conscious ereader
Avatar
Ensure you buy n437 model, not n613
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 7:20 PM
hello hackers, I saw this requested elsewhere and I know it is annoying but truly a bit scary to download firmware from a site over http! I am going to send some money over paypal right now to show how much I care! https is love.
7:23 PM
very cool apps are signed though, thank you again for all your efforts
Avatar
We have sha256sums on gh
7:26 PM
Biggest release of InkBox OS ever. Yes, the time gap between 1.9 and 2.0 is huge, but we hope you will find that it was worth it. Thanks to @Szybet for greatly contributing to the project, now for ...
7:26 PM
End of release announcement
7:26 PM
Thanks a lot for your support! (edited)
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 7:26 PM
ahhh I am a bit stupid for not checking this forst
7:27 PM
https doesnt matter then so much
7:27 PM
sorry to bother youy
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 8:59 PM
another question I will be able to answer on my own soon enough, apologies: inkbox supports the warm frontlight? and does it allow the lighting to go below stock minimum? havent used a kobo recently but minimum always too bright
Avatar
yes
8:59 PM
no
Avatar
[matrix] Szybet BOT 1/8/2024 9:00 PM
hardware limited
Avatar
i find the libra's frontlight pretty fine (edited)
9:00 PM
yes
Avatar
[matrix] Szybet BOT 1/8/2024 9:00 PM
you can use dark mode to make it darker
Avatar
in the future
Avatar
[matrix] Szybet BOT 1/8/2024 9:01 PM
it works in koreader
9:01 PM
and in sanki
Avatar
well, yes, there
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:02 PM
thank you
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:03 PM
and sending web pages or articles to read on the device what do you guys use? export on pc and syncthing?
Avatar
i dont read web pages on my ereader but maybe you can export them to pdf ask szybet, i think he uses syncthing (edited)
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
and sending web pages or articles to read on the device what do you guys use? export on pc and syncthing?
matterbridge BOT 1/8/2024 10:06 PM
[matrix] Szybet exactly
Avatar
[matrix] Szybet BOT 1/8/2024 10:06 PM
web pages to epub
10:06 PM
many ways to do that
10:06 PM
cool as hell
10:06 PM
syncthing syncs it in a few seconds
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:06 PM
yes i love epub, love when open standards win
10:06 PM
thank you this is what I will do
Avatar
[matrix] Szybet BOT 1/8/2024 10:07 PM
i think you will need to update rootfs for that
10:07 PM
to be able for syncthing to use the main storage instead of only app storage
10:08 PM
nicolas, can you please prepare rootfs for him? update gui apps and ipd, this is the most important part
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:08 PM
cant you move from app storage manually on the device afterwards?
Avatar
[matrix] Szybet BOT 1/8/2024 10:09 PM
only with ssh
10:09 PM
so, no
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:10 PM
hm ok thank you
Avatar
you can move it from usbms
10:10 PM
no? @Szybet
Avatar
[matrix] Szybet BOT 1/8/2024 10:10 PM
nicolas should find time to provide you with this small partial update
Avatar
will you buy a libra
10:11 PM
if so we can install the last development version right from the trunk
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:11 PM
i will buy glo hd
Avatar
[matrix] Szybet BOT 1/8/2024 10:11 PM
what? i dont understand
10:11 PM
oh
Avatar
why did you ask for warm light then
10:11 PM
glo hd hasn't any
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:12 PM
damn!
Avatar
yes youre looking at libra 2, not libra
10:13 PM
libra has an easier to replace sd card
10:13 PM
i think it isnt coated
10:14 PM
at least i don't remember it being coated on mine
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:14 PM
the kobo wikipedia page I should update since it is missing some battery and ram information
Avatar
sure if you want
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:15 PM
I also read another thread where person replaced the white LED with warm led....
Avatar
[matrix] Szybet BOT 1/8/2024 10:15 PM
what
Avatar
yes thats probably a lot of complicated tinkering
Avatar
[matrix] Szybet BOT 1/8/2024 10:15 PM
show me
10:15 PM
how
10:15 PM
what
Avatar
when someone has time
Avatar
[matrix] Szybet BOT 1/8/2024 10:16 PM
link please😶
Avatar
Avatar
tux-linux
when someone has time
matterbridge BOT 1/8/2024 10:16 PM
[matrix] Szybet ☹
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:16 PM
Is the light of your Kobo Glo backlight too bright? No worries! You can replace the LEDs of the backlight. Be warned though: It's not easy.
Avatar
Avatar
matterbridge
[matrix] Szybet ☹
no, i mean people who do that really have time to do it
10:16 PM
not us
10:16 PM
probably
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:16 PM
this person just put filter over the leds apparently
Avatar
oh, i think i remember another one who replaced them entirely idk anymore
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:17 PM
yes I misspoke these two mods actually replace the LED
Avatar
[matrix] Szybet BOT 1/8/2024 10:17 PM
what a madmap manually soldering those
10:17 PM
well yea i dont have time for that
Avatar
maybe you can put an orange filter on the screen itself
10:17 PM
just an idea
10:18 PM
probably will work like crap
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:18 PM
me neither
Avatar
[matrix] Szybet BOT 1/8/2024 10:18 PM
but the link to those leds... i looked for something like that for the watchy
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:18 PM
not a bad idea
10:18 PM
so I either have 512mb ram and no warm light, or 256 and warm light or the libra h2O with both but cant remove the sd card
Avatar
what model has 256mb and warm light
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:20 PM
I thought only two had 512 and was assuming
Avatar
clara hd has 512mb and warm light
10:21 PM
probably not your best option right now
Avatar
[matrix] Szybet BOT 1/8/2024 10:21 PM
inkbox doesnt work on it
Avatar
false
10:21 PM
it works
10:22 PM
but slower than on some 256m devices
Avatar
[matrix] Szybet BOT 1/8/2024 10:22 PM
true
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:22 PM
whats issue
Avatar
fb rendering
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:22 PM
ahh
Avatar
[matrix] Szybet BOT 1/8/2024 10:22 PM
faaaalse
Avatar
[matrix] Szybet BOT 1/8/2024 10:22 PM
the display is too slow because kernel issues
10:22 PM
compared to all other devices
Avatar
well, yea, fb rendering is a kernel issue
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:22 PM
this sounds not fun to use
Avatar
its borderline usable
10:23 PM
enough to get a beta image out
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:23 PM
is there a 256 device that is the fastest??
Avatar
and hope someone finds a fix
10:23 PM
i wouldnt vouch on 256mb devices
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:23 PM
i expect to do pdf reflow in koreader and that needs ram
Avatar
i suggest libra h2o also, with that device you can hard brick it and recover easily even there
10:24 PM
@andi knows a bit about it
10:24 PM
he had a broken screen one, he just wiped everything on the emmc and was still able to load a bootloader afterwards
10:24 PM
via usb
Avatar
[matrix] Szybet BOT 1/8/2024 10:24 PM
thats not so easy
10:24 PM
stop
Avatar
well, if you have enough will
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:25 PM
if its possible over usb thats not so bad
10:25 PM
what are the odds I break it???
Avatar
and brick is probably not something that will happen in the first place
10:25 PM
if you follow instructions, probably very slim
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
if its possible over usb thats not so bad
matterbridge BOT 1/8/2024 10:25 PM
[matrix] Szybet nicolas doesnt know the full picture and is wrong
Avatar
what
10:26 PM
i do boot my libra over usb
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:26 PM
and flashing inkbox possible over usb?
Avatar
i did recover from a broken kernel over usb
10:26 PM
i know the full picture
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:26 PM
on the h2O i mean
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
and flashing inkbox possible over usb?
yes but manually
Avatar
Avatar
tux-linux
what
matterbridge BOT 1/8/2024 10:26 PM
[matrix] Szybet i dont have time to explain but polease dont recommend eemc devices to people that are not ready to cut traces and reconnect them when the device is on. thanks
Avatar
well, he seems ready to do whatever hacking is needed
Avatar
[matrix] Szybet BOT 1/8/2024 10:27 PM
kernel haha easy
10:27 PM
what about broken bootloader?
Avatar
you just throw it a new u-boot via uuu
Avatar
Avatar
tux-linux
well, he seems ready to do whatever hacking is needed
matterbridge BOT 1/8/2024 10:27 PM
[matrix] Szybet even you arent ready for that, stop
Avatar
over usb
Avatar
[matrix] Szybet BOT 1/8/2024 10:27 PM
epaperboi: dont buy eemc devices for real
Avatar
Avatar
matterbridge
[matrix] Szybet even you arent ready for that, stop
what
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:28 PM
ok I dont want to get stuck fixing it so I wont
10:28 PM
so glo hd still my best bet for 512
Avatar
probably then
Avatar
it is no problem to erase the bootloader and then recover on the kobos, but if you write a bad bootloader, things can become hard
10:28 PM
and having a bigger sd is also nice
Avatar
Avatar
tux-linux
you just throw it a new u-boot via uuu
matterbridge BOT 1/8/2024 10:28 PM
[matrix] Szybet if the bootloader is broken but the cpu doesnt detect that, you cant do anything
Avatar
yes
10:29 PM
true
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:29 PM
I think covering the LEDs in orange plastic is easier haha
Avatar
[matrix] Szybet BOT 1/8/2024 10:29 PM
you have awaken andi you see? stop spreading misinformation ;p
Avatar
but isnt there a way to short the mmc and force it to boot a working bootloader via usb?
10:29 PM
probably hard from technical standpoint
Avatar
[matrix] Szybet BOT 1/8/2024 10:29 PM
cutting traces
10:29 PM
and not shorting
Avatar
if there are test points...
Avatar
Avatar
tux-linux
probably hard from technical standpoint
matterbridge BOT 1/8/2024 10:30 PM
[matrix] Szybet find the trace, diagnose the trace, cut it and connect it when the device is on and dont short anything else yea, lol
Avatar
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:30 PM
lots of discussion of this project it might be useful to have a "recommended hardware" section on the wiki
Avatar
I managed to to something like that on the BT200
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
lots of discussion of this project it might be useful to have a "recommended hardware" section on the wiki
well, libra h2o literally isnt recommended anywhere
Avatar
but it is really hard, and I had to do the analysis from a working system
👍 1
Avatar
it's for people who want to tinker but understandably not everyone wants such a thing
Avatar
where I could control the whole system and lines
Avatar
nice (edited)
Avatar
matterbridge BOT 1/8/2024 10:31 PM
[matrix] Szybet do you know how thing are those traces? you need a microscope for that
Avatar
[matrix] Szybet BOT 1/8/2024 10:31 PM
do you know how thin are those traces? you need a microscope for that
Avatar
well, not traces
10:32 PM
test points
Avatar
sure i was just saying someone succeeded in doing something like that before i know its hard
10:33 PM
though i remember some kindles had a way to bypass the boot instruction and listen over usb even with a broken bootloader
10:33 PM
kindle touch (edited)
10:33 PM
depends how well the bootloader is broken
Avatar
well, i couldnt access a prompt
10:35 PM
this one used imx_usb_downloader
Avatar
probably same as uuu
10:35 PM
conceptually
Avatar
and you could boot u-boots even if one was not working Before the actual u-boot would start
Avatar
Avatar
andi
conceptually
probably just a bit older
10:36 PM
you had to long press the power button before even anything would start
10:36 PM
and it would export itself over usb
10:36 PM
SE BLANK MEGREZ or smth like that
Avatar
if the boot order is usb, then emmc or something
10:36 PM
the same might appears on empty emmc
👍 1
10:37 PM
if things are wired accordingly, you can do some button magic of course
👍 1
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 10:37 PM
maybe I should wait for the clara HD and have it all.... lol
Avatar
but coming back to the libra, i think i never had to write a new u-boot to it
10:38 PM
when andi sent test 2020.10 u-boots, i loaded them over usb (edited)
10:38 PM
i think mine is still running the original
10:38 PM
the only thing I changed were the boot commands but if you brick it there it's probably very easy to fix it up
10:40 PM
at best, a reflash from userspace of the env vars at worse, some commands in u-boot command line via serial port
10:40 PM
so it's yours to choose but there is no harm done to the bootloader in inkbox install process, as far as I recall
10:43 PM
if you want a reasonably simple device, then the glo hd is the way to go even though its 9yo
10:43 PM
ereader specs dont really change over time
10:43 PM
the glo hd's screen is better than the clara's, to give you an idea at least better than my clara
Avatar
what might be interesting is the clara2e
10:44 PM
because of bluetooth
Avatar
i think it has an sdcard
10:44 PM
i bought the libra 2 yesterday (edited)
10:44 PM
also has bluetooth
Avatar
I have the clara2e and did not manage to remove the sd card yet
Avatar
probably that a cross-device bluetooth handler can be written (edited)
10:45 PM
is it coated
Avatar
yes, it is tricky but should not be without chance
10:46 PM
there is some 5.10 kernel for the 2e
Avatar
did you look at the guy who removed it in his libra 2
10:46 PM
he has some advice
10:46 PM
you can probably get away with ums via u-boot on the clara 2e i presume though? (edited)
Avatar
well, need more storage
10:47 PM
then yea, removing it is better
Avatar
for testing, yes
10:48 PM
so I would first try to do any porting steps
👍 1
Avatar
we also once thought of making inkbox boot from a nfs rootfs over usbnet probably a bit far fetched
Avatar
and upstream stuff to the kernel
Avatar
porting inkbox or porting the kernel?
Avatar
porting the kernel
Avatar
and then doing risky stuff
10:49 PM
like removing the card
Avatar
yea
10:49 PM
maybe you could use an otg usb adapter and somehow make it work with an external drive or smth
10:49 PM
or sd card
Avatar
so if I have done any kernel work and upstreamed, at least there was a use in having the device
👍 1
10:51 PM
I have already contacted the main Rohm kernel developer about the pmic build in there
10:51 PM
and kernel status
Avatar
nice
Avatar
e.g. map of sweden in png is 13 GB
Avatar
how can it be that big
Avatar
some gigs of map files for navit for actual routing
Avatar
27300 tiles of 1000x1000 pixels I have for sweden
Avatar
thats massive
Avatar
so there are ways to fill up the space...
👍 1
10:57 PM
or think about wikipedia dumps
10:57 PM
or wikivoyage
Avatar
yea
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 11:17 PM
what about kiwix files? is there another format for wikipedia dumps?
Avatar
I think I have used them
11:17 PM
in the past
11:18 PM
Kobo Clara original firmware reacts allergic to zim files
11:18 PM
it caused the reader to reboot
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 11:18 PM
maybe too big for filesystem?
Avatar
well no, I tried even smaller ones
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/8/2024 11:19 PM
sorry I am ignorant and just hanging out should probably keep to myself
Avatar
no, its fine
Avatar
something general about emmc boot and broken bootloaders: if there is a hw mechanism to change boot order (like the pin needed it wired to some key), then you have an easy game, some devices have that, others not
👍 1
Avatar
[matrix] epaperboi (@epaperboi:m BOT 1/9/2024 4:57 AM
Szybet: how do you use syncthing with the inability to move files?
FullThrottle joined the server. 1/9/2024 6:51 AM
Avatar
Avatar
FullThrottle
Click to see original message
Avatar
Avatar
[matrix] epaperboi (@epaperboi:m
Szybet: how do you use syncthing with the inability to move files?
What do you mean? My syncthing has access to the main storage arrea for books
Avatar
Avatar
tux-linux
@OfficerAction OK, so as a side-project more or less related to KoBox: Since I had success running Alpine Linux entirely on the Kobo, I'd like to develop myself an embedded system for my Kobo using a coughs recent Qt framework and Qt Web Engine. It would probably include an open-source reader framework or in-house developed one. I.e. an open source Nickel. Since your Manga reader was in Qt, I think you're the one who knows most about it in this server. So, I have some questions for you (and to anyone who knows about an answer); 1. On what system should it be run? I think Alpine is fine, but I don't know if musl-libc is ideal for it... but also, I've seen Yocto and BuildRoot, those seem pretty interesting... 2. What's the learning curve? I know some Python and C. Qt is mostly C++, right? Don't worry, if you say "very hard" I'll give it a try anyways I think haha 3. any other recommendations/warning/emergencies like "doooon't do thiiss" or the like? thanks! (edited)
if you want to see some prehistorical chat even before inkbox
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
also, first preserved inkbox screenshot
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:39 PM
Hi. What should I do if my device (Kobo Glo) lags a lot?
Avatar
disable xorg
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:41 PM
KoboX? Already, same
7:42 PM
KoBox*
Avatar
Well, what do you mean by lags a lot
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:43 PM
Have to wait a long time for a response after pressing
Avatar
[matrix] Szybet BOT 1/9/2024 7:44 PM
which presses
7:44 PM
are you from ukraine? your nick is?
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:44 PM
+
Avatar
[matrix] Szybet BOT 1/9/2024 7:44 PM
what do you press
Avatar
Avatar
[matrix] Szybet
which presses
matterbridge BOT 1/9/2024 7:44 PM
[matrix] Кіт ЧайникTwix On the interface
Avatar
[matrix] Szybet BOT 1/9/2024 7:44 PM
describe
7:44 PM
which buttons...
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:48 PM
Did you get the video?
Avatar
[matrix] Szybet BOT 1/9/2024 7:51 PM
The OK button can take longer, apart from that others look fine - you need to press a bit harder if they dont register apart from that its just eink + loading times it works as intended
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:51 PM
Sad( Any plans to add support for KOReader Sync?
Avatar
[matrix] Szybet BOT 1/9/2024 7:51 PM
koreader is supported
7:52 PM
as for koreader sync, idk if it will work
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:52 PM
Stop, how install koreader in inkbox?
7:52 PM
Unofficial build?
Avatar
[matrix] Szybet BOT 1/9/2024 7:52 PM
unnoficiall app
7:52 PM
User applications repository. Contribute to Kobo-InkBox/user-applications development by creating an account on GitHub.
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 7:53 PM
Man, cool! Thanks you
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 8:05 PM
Started KOReader, but no reaction to clicks at all
Avatar
[matrix] Szybet BOT 1/9/2024 8:05 PM
which device?
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 8:05 PM
Kobo Glo
Avatar
[matrix] Szybet BOT 1/9/2024 8:05 PM
tux-linux: can you check it?
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 8:06 PM
n613
Avatar
[matrix] Szybet BOT 1/9/2024 8:13 PM
yea idk
8:13 PM
you are the first one to launch it on that device
8:13 PM
you can debug it yourself or smth, idk
Avatar
[matrix] Кіт ЧайникTwix BOT 1/9/2024 8:23 PM
I ran it a second time. Same situation
Avatar
Avatar
[matrix] Szybet
tux-linux: can you check it?
i didnt try koreader on any of my devices
Avatar
[matrix] epaperboi BOT 1/9/2024 9:21 PM
Szybet: which devices did you test koreader on?
9:21 PM
I am interested to see if any of the built in sync features work in koreader
9:21 PM
or dictionary import
Avatar
[matrix] Szybet BOT 1/9/2024 9:21 PM
nia only
Avatar
[matrix] epaperboi BOT 1/9/2024 9:22 PM
well my glo hd is in the mail should have it soon
9:24 PM
and if nothing works I will always buy the same device as the dev from now on haha
Avatar
[matrix] Szybet BOT 1/9/2024 9:24 PM
dont worry
9:24 PM
nicolas will fix it
Avatar
[matrix] epaperboi BOT 1/9/2024 9:25 PM
lolol "you can debug it yourself or smth, idk"
9:26 PM
is this a trick to replace my reading with hacking
Avatar
[matrix] Szybet BOT 1/9/2024 9:26 PM
you donated to the project so i think as nicolas had time recently, he will fix this issue for you (edited)
Avatar
[matrix] epaperboi BOT 1/9/2024 9:27 PM
no I hope not how he treats the donation, he can do whatever he pleases. the donation is for the work already done
9:28 PM
and I want the next version to be named "ePaperBoi 3.0"
9:28 PM
that is all
Avatar
also this bug is not necessarily present on the glo hd
9:28 PM
we were talking about the glo
9:28 PM
careful with device names
9:28 PM
i will try it this week with my glo hd
9:28 PM
and report back
Avatar
[matrix] epaperboi BOT 1/9/2024 9:29 PM
I know
9:29 PM
I was looking at koreader features last night and so now amjust excited to see how many are broken on inkbox lol
Avatar
[matrix] Szybet BOT 1/9/2024 9:30 PM
nicolas, do you have access to the glo and what device do i have
9:30 PM
the tolino one
Avatar
n613
9:31 PM
glo
9:31 PM
not glo hd
9:31 PM
you would know it, glo hd has 300ppi screen
Avatar
¯\_(ツ)_/¯
Avatar
Avatar
[matrix] epaperboi
I was looking at koreader features last night and so now amjust excited to see how many are broken on inkbox lol
koreader on glo hd works
4:32 AM
at least the touchscreen does
4:33 AM
it's so strange seeing koreader run on inkbox, hadn't installed it before it's awesome but also sad
4:37 AM
well, after all, maybe the reader isn't necessarily the most important piece of software we are providing an entire open-source os, tons of features and everything else so I guess using koreader would just be as if you installed it on nickel, to replace a technically-usable-but-not-so-great reader (edited)
Avatar
you can even download wikipedia articles
4:46 AM
open them in koreader
4:48 AM
...or in inkbox
Avatar
Avatar
tux-linux
well, after all, maybe the reader isn't necessarily the most important piece of software we are providing an entire open-source os, tons of features and everything else so I guess using koreader would just be as if you installed it on nickel, to replace a technically-usable-but-not-so-great reader (edited)
OS+ UI are the greatest parts of inkbox imo
Avatar
thanks
5:13 AM
you can really achieve a nice gui with qt
Avatar
reader itself is secondary
👍 1
Avatar
you just have to use it wisely
Avatar
Avatar
[matrix] Кіт ЧайникTwix
Started KOReader, but no reaction to clicks at all
i can reproduce the issue
5:26 AM
i will see if i can fix it
5:30 AM
5:30 AM
though making it crash intentionally reveals something interesting but it may be unrelated (edited)
5:30 AM
@Szybet it should be reproducible on your tolino as well
Avatar
[matrix] Szybet BOT 1/10/2024 9:22 AM
oh also update ipd to repair maybe koreader
9:23 AM
or reboot the device and dont go to sleep before launching koreader
Avatar
Avatar
Szybet
How
just install koreader on it
5:11 PM
in inkbox with n613 image? (edited)
Avatar
Avatar
[matrix] Szybet
oh also update ipd to repair maybe koreader
what
Avatar
maybe ipd is killing koreaders squashfs
5:19 PM
for some reason
5:20 PM
in the older version
Avatar
also is it normal your koreader package doesn't have a terminal emulator
Avatar
Avatar
Szybet
maybe ipd is killing koreaders squashfs
when going to sleep? (edited)
5:21 PM
i have no problems with sleep+koreader on the libra
5:21 PM
with latest ipd and everything
Avatar
latest, yea i fixed it
👍 1
Avatar
Avatar
tux-linux
also is it normal your koreader package doesn't have a terminal emulator
why would it have it
Avatar
it has one
5:31 PM
a real one
Avatar
never tested i dont care
5:34 PM
you can repair it
Avatar
This month there's been a fairly big change on PocketBook. The rendering is now handled directly with inkview (#8727) This may result in some visual differences, but in principle it should work...
Avatar
it propably cant launch /bin/sh or smth
Avatar
maybe but it didnt even show up in the menus
Avatar
Avatar
Szybet
latest, yea i fixed it
good what changes did you do in general for it to actually work on inkbox? i would want to update it
5:38 PM
"done, but could be better" is a bit elusive
Avatar
Note for future me: Just compare the koreader folder with the version described in app.json to know what changes were made... I could have just split it in commits ;p
5:40 PM
good luck
Avatar
do you remember roughly
5:41 PM
breaking changes
5:41 PM
idk
5:42 PM
its strange that touch input doesnt work on the glo because its using the right device name afaik (daylight)
Avatar
its propably ipd
peter42 joined the server. 1/10/2024 10:11 PM
Avatar
Avatar
peter42
Click to see original message
Avatar
[matrix] epaperboi BOT 1/10/2024 11:38 PM
I am looking forward to testing the other koreader features on inkbox soon
11:38 PM
very interested if it will sync page turns with calibre server
11:38 PM
or sync wallabag articles
11:38 PM
there is also this I found https://gitlab.com/anarcat/wallabako
Wallabag client for Kobo readers. Downloads unread articles as individual EPUB files.
11:38 PM
in case you are bored Szybet lol
11:39 PM
if they work I am looking forward to hosting my own wallabag and calibre servers and solving two meaningful problems at once
11:40 PM
but I don't know how networkign works on inkbox and why the built in koreader syncing would work without serious effort, but I am excited to experiment anyway
Avatar
Avatar
tux-linux
you can even download wikipedia articles
matterbridge BOT 1/10/2024 11:40 PM
[matrix] epaperboi this is impressive, this is from within koreader? it is able to load wikipedia from web on its own?
Avatar
Yes, no
Avatar
[matrix] epaperboi BOT 1/10/2024 11:50 PM
how did you view this wikipedia entry in order to save offline?
Avatar
It is only loading the page's data
11:51 PM
I don't know how
11:51 PM
But can't browse the web
Avatar
[matrix] epaperboi BOT 1/10/2024 11:52 PM
but it is accessing live wikipedia?
Avatar
[matrix] epaperboi BOT 1/10/2024 11:52 PM
do libraries load when you select a word?
Avatar
Avatar
tux-linux
Yes
matterbridge BOT 1/10/2024 11:52 PM
[matrix] epaperboi this is very good news
Avatar
I think
soce joined the server. 1/13/2024 2:41 PM
MrBurgerCZ joined the server. 1/13/2024 8:49 PM
Avatar
wow, a guy from czechia
Avatar
Avatar
MrBurgerCZ
Click to see original message
Sticker
Avatar
Avatar
soce
Click to see original message
Avatar
Avatar
Szybet
wow, a guy from czechia
so problem?
Avatar
he's just impressed
Avatar
Avatar
MrBurgerCZ
so problem?
lol no
Avatar
wanted to say some, not so
9:23 PM
it looks wierd
Avatar
FullThrottle 1/14/2024 4:49 AM
Pardon the intrusion, but it would be wise to make a dd iso backup of the included SD card and then flash inkbox onto the 64gb card, yeah? I see that the Kobo nia (N306) has 2 inkbox images (306a and 306c), how do I know which one applies to mine?
Avatar
Avatar
FullThrottle
Pardon the intrusion, but it would be wise to make a dd iso backup of the included SD card and then flash inkbox onto the 64gb card, yeah? I see that the Kobo nia (N306) has 2 inkbox images (306a and 306c), how do I know which one applies to mine?
Yes. Check serial number it's written somewhere on the board XXXC or XXXA
4:52 AM
Your image is too bad to read the serial
4:53 AM
The second image is a serial port, yes you can listen to boot messages and diagnose problems, but unless you are porting to a new device or debugging uboot it's not useful to you
4:54 AM
You can set up terminal access via SSH way easier
4:55 AM
Most new nias are C lately
4:57 AM
4:57 AM
Yours looks like a C
Avatar
Avatar
Kuratius
Yes. Check serial number it's written somewhere on the board XXXC or XXXA
FullThrottle 1/14/2024 4:58 AM
Number on the left is all numbers, no A or C Outer plastic just names it as "N306" Battery states "2022-11-03", I'm guessing it's a newer one
Avatar
Check the image I sent
4:59 AM
Call it board revision idk
5:00 AM
Mine is A and it has A there in the place of C
5:00 AM
The image I sent is cropped from szybets collection of Nia c photos
5:02 AM
Surprisingly mine was only made a month before yours lol
Avatar
FullThrottle 1/14/2024 5:06 AM
I guess that settles it, mine is likely a C model Were I to use an A image, doing a board swap with this first would make it feasible, right? https://handeltheke.de/original-kobo-nia-n306-mainboard-motherboard-37nb-e60u20-4a2
Original Kobo Nia N306 Mainboard Motherboard 37NB-E60U20+4A2
Avatar
yes if the screen is compatible
Avatar
Hi i am finally trying to install koreader on my kobo
11:50 AM
I have a zip file. I must unzip it in the apps directory, am i right?
11:51 AM
Also I have a feedback to give. If the inkbox reader will never be as good as koreader, why isn't koreader the default one. It would be waaaay more user friendly i guess?
Avatar
Avatar
Marzagheddon
I have a zip file. I must unzip it in the apps directory, am i right?
in a correct way, yes
Avatar
Avatar
Marzagheddon
Also I have a feedback to give. If the inkbox reader will never be as good as koreader, why isn't koreader the default one. It would be waaaay more user friendly i guess?
we I have written a new one that is ready in 60%, koreader is just a replacement until we finish it (edited)
Avatar
Nice to hear that. Now i'll install and eventually donate if i'm satisfied
Avatar
for any problems you need to update ipd and user apps service in rootfs bla bla bla koreader is supported in the latest dev version of inkbox bla bla bla
Avatar
And the books must be in the .database directory even if i open them with koreader or is it another directory?
Avatar
if you dont update they need to be in .apps-data/koreader
11:58 AM
if you update they can be where they are, koreader will have access
Avatar
Avatar
Szybet
for any problems you need to update ipd and user apps service in rootfs bla bla bla koreader is supported in the latest dev version of inkbox bla bla bla
W8 wat i didn't read this in the wiki, what's ipd
Avatar
inkbox power daemon
11:59 AM
a fun thingy that manages sleeping
Avatar
Damn, i'll probably w8 for that new release
11:59 AM
I'm not that pro
Avatar
a bit of linux and help and you could figure out updating it
11:59 AM
manually
11:59 AM
next release will be next summer, propably
Avatar
W8 if i install now the dev version i get the keylogger too
Avatar
bruh that was a joke
Avatar
Ah ok lol
12:01 PM
I thought it was a legit keylogger for debugging
Avatar
its not a ready yet program that if you accept, will send us data about the version you use because we dont know how many users we have
Avatar
So, i have to install the dev version of inkbox. Then the koreader app and then?
Avatar
you can install koreader now but there can be issues
12:02 PM
or there can be none
12:02 PM
¯\_(ツ)_/¯
Avatar
Ok, let me try koreader in the current non dev version...
Avatar
I don't see the koreader app when i reboot
12:42 PM
When i unzip koreader_inkbox.zip it creates a folder with another folder within with all the files inside. What should i copy? The first folder, the second folder or the files?
Avatar
on #apps is a conversation about that
Avatar
Marzagheddon 1/14/2024 1:17 PM
Koreader crashes at startup
1:17 PM
So to have it working now i should? Install the dev version of inkbox and do it all again? Also how to get the dev version (edited)
Avatar
Avatar
Szybet
we I have written a new one that is ready in 60%, koreader is just a replacement until we finish it (edited)
Marzagheddon 1/14/2024 1:23 PM
Also, why just don't make Koreader the default one
Avatar
Avatar
Marzagheddon
Koreader crashes at startup
any logs?
Avatar
Avatar
Marzagheddon
Also, why just don't make Koreader the default one
it doesnt integrate well into our software
1:27 PM
and we can create something different
Avatar
Avatar
Szybet
any logs?
Marzagheddon 1/14/2024 1:29 PM
How to? It displays some crash infos on the display but it's written veeery small
Avatar
make a picture and read it out
1:34 PM
Nice to have, screenshot feature lol
Avatar
there is but via ssh shell
1:35 PM
well what device do you have
Avatar
Marzagheddon 1/14/2024 1:35 PM
N905c
1:37 PM
I'm having lunch, going afk
Avatar
https://github.com/Szybet/koreader-inkbox/blob/ec015f75d3cdb3853b0a3fc5044d6355693fd92d/koreader/frontend/device/kobo/device.lua#L1688 inkbox propably uses some weird device naming for this model or the model number is not implemented you can kindly ask @tux-linux to fix that its just about adding / changing the env variable to match the model
1:42 PM
1:42 PM
what is here written?
Avatar
It's supposed to be trilogy
1:47 PM
And koreader should handle it I have no idea why it doesn't work
Avatar
it is trilogy
1:48 PM
the code number is wrong
1:48 PM
w h y ?
Avatar
What code number
Avatar
product_id
1:48 PM
to be exact
Avatar
What is it
Avatar
Hm, maybe some problems can arise with that file
Avatar
MODEL_NUMBER?
1:50 PM
whatever, you fix that
1:55 PM
or someone else
1:55 PM
like someone with kobo trilogy
1:56 PM
Avatar
Avatar
Szybet
Click to see attachment 🖼️
Marzagheddon 1/14/2024 2:22 PM
Device id 05C
2:22 PM
It's missing a 9
2:23 PM
Lua 1688
Avatar
will look into it
Avatar
FullThrottle 1/15/2024 4:27 AM
Wifi doesn't seem to work when I press on any of them: I press on the one corresponding to my wifi (or any other, really) and nothing happens only the refresh, not/wifi off, bug report, wifi check mark, scrollbar and return button works Device is a Kobo Nia, how do I go about making it work? (edited)
Avatar
do you click the arrow
4:31 AM
oh
4:31 AM
@Szybet
4:32 AM
theres supposed to be an arrow in the place of the scrollbar
4:32 AM
but somehow it isnt there
4:32 AM
try getting in a place where you have poorer reception (like in a basement), maybe the networks list will be smaller and there won't be a scrollbar
4:33 AM
but this should really be fixed
Avatar
Avatar
tux-linux
try getting in a place where you have poorer reception (like in a basement), maybe the networks list will be smaller and there won't be a scrollbar
FullThrottle 1/15/2024 4:50 AM
I'm afraid that won't be possible (living in apartments), though I could probably fashion a Faraday cage by holding the Nia in a chip bag and having the open end facing and being right next to my router
Avatar
Yes, or a metal box I have another idea
4:51 AM
you can install ITerm and connect to wifi from command line
4:52 AM
or connect usbnet and connect via command line with ssh
4:53 AM
is your device rooted
Avatar
Avatar
tux-linux
is your device rooted
FullThrottle 1/15/2024 5:09 AM
Device is unrooted (as far as I'm aware), I just installed the image from here: http://23.163.0.39/bundles/inkbox/native/n306c/ And then flashed it to my 64gb microSD from Balena on my Linux desktop
Avatar
ok do you have access to a linux pc
5:09 AM
oh yes
5:09 AM
ok
5:09 AM
didnt read correctly
5:11 AM
do the following: mount /dev/mmcblk0p2 /mnt mount /mnt/recoveryfs.squashfs /mnt1 dd if=/mnt1/opt/recovery/restore/zImage-root of=/dev/mmcblk0 bs=512 seek=81920 echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 umount /mnt1 /mnt eject /dev/mmcblk0
5:11 AM
where mmcblk0 is the sd card's device node
5:11 AM
it should then be rooted
5:13 AM
also, enable usbnet: mount /dev/mmcblk0p1 /mnt echo true > /mnt/flags/USBNET_ENABLE
Avatar
FullThrottle 1/15/2024 5:21 AM
Alright, I'll turn off my device, pop the SD out, put the card in a usb 3.0 card reader and then will run those
👍 1
Avatar
FullThrottle 1/15/2024 5:32 AM
btw, when I run sudo fdisk-l I get the following: Disk /dev/sda: 58.24 GiB, 62534975488 bytes, 122138624 sectors Disk model: STORAGE DEVICE Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc9dd5cc0 Device Boot Start End Sectors Size Id Type /dev/sda1 49152 79871 30720 15M 83 Linux /dev/sda2 104448 1128447 1024000 500M 83 Linux /dev/sda3 1128448 1390591 262144 128M 83 Linux /dev/sda4 1390592 31116287 29725696 14.2G 83 Linux [floofer@gamingdesktop ~]$ (edited)
Avatar
looks ok i think did you resize the last partition? (edited)
Avatar
Avatar
tux-linux
looks ok i think did you resize the last partition? (edited)
FullThrottle 1/15/2024 5:36 AM
I don't believe so I just popped my sd, and ran balena with the .img file now I'm just seeing what to substitute in the above commands so /dev/mmcblk0 == /dev/sda /dev/mmcblk0p1 == /dev/sda1 and /dev/mmcblk0p2 == /dev/sda2 correct?
Avatar
yes
5:36 AM
but i dont see how your 4th partition could be this large maybe it's szybet's fault
5:36 AM
@Szybet is this normal
5:37 AM
partition is 14g in size!?
Avatar
FullThrottle 1/15/2024 5:37 AM
I should mention that I'm using a 64gb card if that should matter
Avatar
it shouldnt expand automatically
5:37 AM
normally inkbox sd cards are 4gb by default (edited)
Avatar
Avatar
FullThrottle
I don't believe so I just popped my sd, and ran balena with the .img file now I'm just seeing what to substitute in the above commands so /dev/mmcblk0 == /dev/sda /dev/mmcblk0p1 == /dev/sda1 and /dev/mmcblk0p2 == /dev/sda2 correct?
the associations seem ok
Avatar
Avatar
tux-linux
the associations seem ok
FullThrottle 1/15/2024 5:39 AM
thanks, I'll get to using the provided commands 🙂
👍 1
Avatar
FullThrottle 1/15/2024 5:52 AM
done running the commands
Avatar
Cool Now reboot
Avatar
FullThrottle 1/15/2024 6:01 AM
it's back to inkbox
Avatar
good it should export itself as a usbnet device (edited)
6:08 AM
then you do ifconfig usb0 192.168.2.1 ssh root@192.168.2.2 password is root
Avatar
Avatar
tux-linux
normally inkbox sd cards are 4gb by default (edited)
Balena feature?
6:20 AM
That said 64 GB and 16 GB doesn't quite match
6:20 AM
Maybe it's getting the size wrong?
6:21 AM
Or szybet expanded it to max size because nias all use 16GB SDS anyway
6:22 AM
Maybe gparted would give better info.
Avatar
Avatar
tux-linux
then you do ifconfig usb0 192.168.2.1 ssh root@192.168.2.2 password is root
FullThrottle 1/15/2024 6:28 AM
welp, can't get to putting the password in [floofer@gamingdesktop /]$ sudo ifconfig enp6s0 192.168.2.1 [floofer@gamingdesktop /]$ ssh root@192.168.2.2 ssh: connect to host 192.168.2.2 port 22: No route to host [floofer@gamingdesktop /]$ ssh root@192.168.2.1 ssh: connect to host 192.168.2.1 port 22: Connection refused
Avatar
Avatar
tux-linux
then you do ifconfig usb0 192.168.2.1 ssh root@192.168.2.2 password is root
FullThrottle 1/15/2024 7:26 AM
update: I'm in, I just had the wrong interface (inkbox gave me 2)
Avatar
Avatar
tux-linux
it shouldnt expand automatically
With balena it is but the partitioj is broken and cant use that size
👍 1
Avatar
Avatar
FullThrottle
Wifi doesn't seem to work when I press on any of them: I press on the one corresponding to my wifi (or any other, really) and nothing happens only the refresh, not/wifi off, bug report, wifi check mark, scrollbar and return button works Device is a Kobo Nia, how do I go about making it work? (edited)
@tux-linux replace the wifi name text with qlineedit
10:54 AM
it will cut the text
10:54 AM
and make it selection invisible
Avatar
Avatar
FullThrottle
update: I'm in, I just had the wrong interface (inkbox gave me 2)
/usr/local/bin/wifi/toggle.sh on /usr/local/bin/wifi/connect_to_network.sh network_name network_password
Avatar
Avatar
Szybet
@tux-linux replace the wifi name text with qlineedit
I'm not sure I understand How will that fix the scrollbar issue
Avatar
use qlineedit to show the wifi name text
1:11 PM
and dont cut the wifi name anymore
Avatar
ok did you fix it in later releases?
1:11 PM
or not yet
Avatar
Avatar
tux-linux
/usr/local/bin/wifi/toggle.sh on /usr/local/bin/wifi/connect_to_network.sh network_name network_password
FullThrottle 1/16/2024 2:55 AM
my password has some spaces in it, would I do something like this? /usr/local/bin/wifi/connect_to_network.sh network_name 'this is my network password' edit: nevermind, I got a dhcp lease (edited)
👍 1
kagura1050(ja)(using translator) joined the server. 1/16/2024 4:16 AM
Avatar
Avatar
kagura1050(ja)(using translator)
Click to see original message
Avatar
kagura1050(ja)(using translator) 1/16/2024 4:30 AM
I came here to try inkbox on my kobo touch (n905b) (github link was broken). Best regards.
Avatar
Thanks But what do you mean by "github link was broken"?
Avatar
kagura1050(ja)(using translator) 1/16/2024 5:04 AM
Avatar
oh yes, i had a problem with updating that server it should be back up in the next days try this link instead http://pkgs-inkbox.duckdns.org:25560/bundles/inkbox/native/n905b/inkbox-2.0-n905b.xz
Avatar
kagura1050(ja)(using translator) 1/16/2024 5:06 AM
thank you. That helps a lot.
👍 2
Avatar
Avatar
kagura1050(ja)(using translator)
thank you. That helps a lot.
InkBoxは縦書きを表示できないんですが、ふりがなはkoreaderで使えます。 (日本語の勉強は趣味だから日本語の本で使ってみました。) (edited)
Avatar
Original message was deleted or could not be loaded.
Use koreader on inkboxOS (edited)
1:27 AM
Don't use the inkbox reader for now
Avatar
Original message was deleted or could not be loaded.
I think it's in-progress, ask tux (edited)
1:58 AM
He started this week
1:58 AM
Or the week before idk
Avatar
Original message was deleted or could not be loaded.
11:09 AM
if someone is willing to replace xorg with wayland and xwayland - feel free to do it but im sure me and tux linux wont do that - ever
👍 1
Subhaniminhas joined the server. 1/17/2024 2:55 PM
Avatar
Avatar
Subhaniminhas
Click to see original message
Avatar
Subhaniminhas 1/17/2024 3:13 PM
once i try to download InkBox images from http://23.163.0.39/bundles/inkbox/native/ , file not found errors are encountered. Any idea where to download th eimages. I have bricked my N905 Kobo.
SubhaniMinhas joined the server. 1/17/2024 3:19 PM
Avatar
Avatar
SubhaniMinhas
Click to see original message
SubhaniMinhas 1/17/2024 3:19 PM
Sticker
Avatar
Avatar
Subhaniminhas
once i try to download InkBox images from http://23.163.0.39/bundles/inkbox/native/ , file not found errors are encountered. Any idea where to download th eimages. I have bricked my N905 Kobo.
3:25 PM
try to find the alternative download link
3:25 PM
maybe "mirror" :)?
Avatar
Yes, the default website should be back up soon
Avatar
SubhaniMinhas 1/17/2024 3:27 PM
Mirror is also not working, but found images here http://pkgs-inkbox.duckdns.org:25560/bundles/inkbox/native/n905b/inkbox-2.0-n905b.xz Mentioned by @tux-linux Thanks for great work. Let's hope my Kobo revives from dead. Do I need a 4gb card for Inkbox 2.0 or 2gb will do?
Avatar
Not working? That is the mirror Are the links wrong
Avatar
Avatar
SubhaniMinhas
Mirror is also not working, but found images here http://pkgs-inkbox.duckdns.org:25560/bundles/inkbox/native/n905b/inkbox-2.0-n905b.xz Mentioned by @tux-linux Thanks for great work. Let's hope my Kobo revives from dead. Do I need a 4gb card for Inkbox 2.0 or 2gb will do?
4
Avatar
SubhaniMinhas 1/17/2024 3:28 PM
Avatar
they work
3:29 PM
just that
3:29 PM
you are the first person here that was stopped by this message...
Avatar
SubhaniMinhas 1/17/2024 3:30 PM
Me too. Same message. Tried to download but stopped and failed on Windows 11, Using default browser..
Avatar
right click and click allow download
3:30 PM
if thats not how it works, use a normal browser like firefox
Avatar
SubhaniMinhas 1/17/2024 3:32 PM
Yes, I think that must be an issue. However, alternate download link by @tux-linux is working. Now need to purchase a 4gb card. Then let's see if Kobo is back or not. Again greatly appreciate all the hard , selfless work. Love the idea and community. (edited)
👍 1
Avatar
do you have the n905c or n905b? the images are different depending on the revision
Avatar
SubhaniMinhas 1/17/2024 4:23 PM
Don't know exactly, will try both
Avatar
Avatar
SubhaniMinhas
Don't know exactly, will try both
try the wrong one, brick your device
Avatar
not brick
4:56 PM
burn down
4:56 PM
brick is software
Avatar
hardware brick exists
Avatar
its not a brick then
5:00 PM
its a damaged device
5:00 PM
wikipedia is on your side
5:00 PM
but i dont accept it anyway
Avatar
FullThrottle 1/18/2024 2:35 AM
So I mounted the Kobo to my PC, dropped a .Epub file and a .pdf file, safely ejected the Kobo and inkbox doesn't seem to detect the two files How do I go about loading books and datasheets?
AndrewE joined the server. 1/18/2024 5:15 AM
Avatar
Avatar
AndrewE
Click to see original message
Avatar
Avatar
FullThrottle
So I mounted the Kobo to my PC, dropped a .Epub file and a .pdf file, safely ejected the Kobo and inkbox doesn't seem to detect the two files How do I go about loading books and datasheets?
hm you got root iirc?
5:16 AM
rm /data/onboard/.database/LocalLibrary.db then you can click the button with the power icon on the main screen and click "Restart InkBox"
5:16 AM
and wait some time
Oscar joined the server. 1/20/2024 6:56 AM
Avatar
Avatar
tux-linux
rm /data/onboard/.database/LocalLibrary.db then you can click the button with the power icon on the main screen and click "Restart InkBox"
FullThrottle 1/20/2024 8:07 AM
I'm getting this error: kobo:~# rm /data/onboard/.database/LocalLibrary.db rm: cannot remove '/data/onboard/.database/LocalLibrary.db': No such file or directory this tells me it never created a LocalLibrary.db file do I just touch LocalLibrary.db ? or is there a script I can manually run to create/populate this file?
Avatar
Avatar
FullThrottle
I'm getting this error: kobo:~# rm /data/onboard/.database/LocalLibrary.db rm: cannot remove '/data/onboard/.database/LocalLibrary.db': No such file or directory this tells me it never created a LocalLibrary.db file do I just touch LocalLibrary.db ? or is there a script I can manually run to create/populate this file?
Weird...
12:20 AM
Ryn service restart inkbox-gui and gather logs
Damagecase1388 joined the server. 1/21/2024 7:58 AM
Avatar
Avatar
Damagecase1388
Click to see original message
Oyku joined the server. 1/21/2024 3:04 PM
Avatar
🫡 hello gentlemen
3:09 PM
https://github.com/Kobo-InkBox/inkbox/discussions/65 i posted a question on your guys's github, its pretty a pretty silly one (but i gave you 5 dollars plz be nice) Happy to see you guys have a discord
Hello! I know this is a pretty dumb question, but i have virtually no experience with operating systems and what they require. My main goal for this question is to possibly get a quick rundown of w...
Avatar
welcome
3:37 PM
#bot look there up as for this issue, TLDR: we will anwer when we have time
3:37 PM
the answer will be long ;)
3:38 PM
i was looking through the channels and it seems the head hancho has a boox too
3:38 PM
which gives me hope
3:39 PM
but sure ill look through the channel. Thank you guys for working on this even though i dont have a kobo
3:39 PM
i was looking online and the other open source os fread seems to have died
3:40 PM
the dude working on it doesnt update his github anymore
Avatar
all of them are dead
Avatar
thats really sad
3:43 PM
but you guys arent
3:43 PM
ITS SICK!
3:43 PM
very cool, gets me excited
Avatar
@Oyku I answered your question on GH (edited)
beedaddy joined the server. 1/22/2024 2:24 PM
Avatar
Avatar
beedaddy
Click to see original message
Avatar
Avatar
beedaddy
Click to see original message
Sticker
Avatar
Avatar
beedaddy
Click to see original message
Avatar
Avatar
Szybet
Ryn service restart inkbox-gui and gather logs
FullThrottle 1/22/2024 5:10 PM
what command would I use exactly? I tried the following: kobo:/# service restart inkbox-gui * service: service restart' does not exist kobo:/# `
Avatar
service inkbox_gui restart
5:17 PM
or you can use my shortcut (edited)
5:17 PM
restart inkbox_gui
5:17 PM
also you need to echo true > /boot/flags/GUI_DEBUG
Avatar
FullThrottle 1/22/2024 5:26 PM
I was able to do both, here's what I got so far:
Avatar
click the library button
Avatar
FullThrottle 1/22/2024 5:36 PM
sure, lemme unplug the kobo first (it stays on the usb connected screen otherwise) 🙂
Avatar
Avatar
Szybet
click the library button
FullThrottle 1/22/2024 5:40 PM
just gives me a "wifi error" (able to connect to wifi via cli, but it doesn't seem to be persistent when the device isn't tethered, otherwise unable to connect to wifi from device due to gui issues)
Avatar
Avatar
FullThrottle
just gives me a "wifi error" (able to connect to wifi via cli, but it doesn't seem to be persistent when the device isn't tethered, otherwise unable to connect to wifi from device due to gui issues)
what are you talking about
5:46 PM
library
5:46 PM
not online library
5:46 PM
the button on the left
5:46 PM
and then read logs
Avatar
Avatar
Szybet
the button on the left
FullThrottle 1/22/2024 6:04 PM
I'm not sure what button you're referring to, all I have is text on a terminal
Avatar
Avatar
FullThrottle
So I mounted the Kobo to my PC, dropped a .Epub file and a .pdf file, safely ejected the Kobo and inkbox doesn't seem to detect the two files How do I go about loading books and datasheets?
this one
Avatar
FullThrottle 1/22/2024 6:07 PM
thanks, it now shows my documents 😄
Avatar
we didnt fixed anything
6:14 PM
i just wanted logs
6:14 PM
but whatever
6:14 PM
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
we didnt fixed anything
FullThrottle 1/22/2024 6:20 PM
we still got an improvement from where we started off from, so that's still a win now it basically gets a lobotomy anytime I try to open an ebook 😂 I guess I'll have to scp files over to it and run restart inkbox_gui for now
michim joined the server. 1/22/2024 8:14 PM
Avatar
Avatar
michim
Click to see original message
C-Keen joined the server. 1/23/2024 12:59 PM
Avatar
Hi! I ordered a Nia and I am looking forward to install inkbox on it
1:05 PM
I'd like to add fonts to the device is that possible?
Avatar
Not really, sorry Which font would you have liked to add (edited)
Avatar
Opendyslexic
Avatar
Hmm We should include it by default
Avatar
that'd be nice (edited)
Avatar
But currently not any way to easily modify built-in fonts
1:11 PM
Once you receive it come back and maybe we can figure out something
Avatar
I am familiar with embedded linux development, is the image signed in any way? Otherwise I could put it on before flashing it, or does it also need a sw change?
Avatar
Yes, it is signed
1:13 PM
But you can install a developer key that makes the system more permissive
Avatar
Sounds like worth a try. Anyway I will get back once I get it and I am happy to test any preliminary version
👍 1
Avatar
Thanks for your interest
Avatar
thanks for all your work
👍 1
destinéternel joined the server. 1/23/2024 9:47 PM
Avatar
Avatar
destinéternel
Click to see original message
Avatar
Avatar
destinéternel
Click to see original message
destinéternel 1/23/2024 9:55 PM
9:55 PM
lol.
Avatar
Avatar
destinéternel
Click to see original message
Sticker
skoglar joined the server. 1/24/2024 4:49 AM
kmoy joined the server. 1/24/2024 10:18 AM
Avatar
Avatar
skoglar
Click to see original message
Avatar
Avatar
kmoy
Click to see original message
Sticker
Avatar
@tux-linux ok got the device 🙂
7:36 PM
7:38 PM
it is labelled N306 (that's a bit hard to read on the pic
Avatar
open the insides, then i can tell you which revision is it
Avatar
is there a trick to that?
Avatar
look up yt / ifixit / guides
8:05 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
8:05 PM
i created a guide
8:05 PM
forgot about it ;p
Avatar
heh thanks
Whacky joined the server. 1/25/2024 8:07 PM
Avatar
Avatar
Whacky
Click to see original message
Avatar
ok I need to get some proper tools first
Avatar
Avatar
Whacky
Click to see original message
Avatar
ok, I got the device activated without an account installed the opendyslexic font for the kid and put a name tag in the screensaver. at least that thing is good to go for tomorrow. I need to get sprucers from the hack space but that is less urgent now...
baboon joined the server. 1/26/2024 5:54 PM
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 joined the server. 1/26/2024 6:03 PM
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
Click to see original message
Sticker
Avatar
Avatar
baboon
Click to see original message
usar545 joined the server. 1/26/2024 8:17 PM
Avatar
Avatar
tux-linux
Click to see original message
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 1/26/2024 8:36 PM
hello
8:37 PM
what is the situation for pw3?
SillySam joined the server. 1/26/2024 11:13 PM
Avatar
Avatar
SillySam
Click to see original message
Avatar
Hey hey! I just found out about InkBox and was interested in getting a Kobo to flash InkBox on. Was specifically looking at the Clara HD model and read the github issue thread. Is there anything else remaining that would be blocking support for it?
Avatar
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
Wow thank you and it was posted only a few weeks ago. Perfect timing!
👍 1
Avatar
If you get a Clara HD and it's the C model, you are out of luck though
Avatar
ok good to know
11:22 PM
Thank you for working on a project like this. I really appreciate it!
👍 1
Avatar
Is there a way easily find the model number when purchasing a Clara HD?
11:47 PM
i dont think so
Avatar
Ok will gamble to get the right one!
👍 1
Avatar
FullThrottle 1/27/2024 3:58 AM
quick question: since my Kobo nia sets itself as an interface (enp8s0f3u1) I can ssh into and no longer as a usb mass storage device, what directory would I have so scp books and .pdf files to? and since I can get it to connect to wifi via command line (though doesn't stay persistent once untethered from pc), is there a way to just load a wpa_supplicant file that tells it to just connect to either home wifi or my phone's hotspot (similar procedure to a raspberry pi I guess)? (edited)
Avatar
/data/onboard/
2:06 PM
you could retinker it to work like that
cake joined the server. 1/28/2024 4:10 AM
Avatar
Avatar
cake
Click to see original message
4:17 AM
🍰
4:17 AM
hello
4:20 AM
im here from one of the mobileread threads on Kobox
4:21 AM
did you guys ever try eink-vnc i don't have any kobo devices but was curious if it performed as advertised
Avatar
apparently it works like crap
4:22 AM
on the nia at least
4:22 AM
on the libra 2 it seems to be fine
4:22 AM
but @Szybet has tried it and he finds it really bad
4:22 AM
(he has a nia)
Avatar
yes
4:23 AM
it's not vnc
4:23 AM
but
4:23 AM
yea
4:23 AM
it's basically just transferring pngs over local network
4:23 AM
which is also bad
4:23 AM
but he didn't have the time to optimize it
Avatar
what happens if you use mpi
Avatar
also it's reasonably fast
Avatar
ahhh i see...
Avatar
Avatar
Kuratius
what happens if you use mpi
what is that
Avatar
Avatar
tux-linux
what is that
software library for doing cluster computing where you need to serialize and send large matrices
4:25 AM
do you think it would be better?
Avatar
probably better than sending pngs probably because you can just send the framebuffer
4:25 AM
depends on whether compression is wortwhile
Avatar
it could also be optimized with xdamage or smth so it updates only the parts that changed on the screen
Avatar
Avatar
Kuratius
depends on whether compression is wortwhile
probably not worth it on kobo
4:25 AM
too slow
Avatar
I'd also look into whether proper video codecs can work
👍 1
4:26 AM
like moonlight and whatnot
Avatar
Avatar
tux-linux
it could also be optimized with xdamage or smth so it updates only the parts that changed on the screen
but at this point I think you're just basically reimplementing vnc
Avatar
there are video codecs that run on the nintendo ds
4:26 AM
so something can probably work on a kobo
Avatar
doesn't that thing have a gpu
Avatar
sort of, but I think it's limited to very specific functions
4:27 AM
like triangle related stuff
Avatar
so no video decoding thing
Avatar
instead of being a collection of multi purpose processors
4:27 AM
so it's a sort of vector unit thingy
Avatar
just curious, what's the closest to a usable eink "monitor" you've seen besides $700+ dasung, boox etc
Avatar
I'm not saying you cant figure out how to do video decoding with it, I'm just saying it's probably painful
👍 1
Avatar
Avatar
Kuratius
I'm not saying you cant figure out how to do video decoding with it, I'm just saying it's probably painful
my point is that there's no gpu on kobo
4:29 AM
probably
Avatar
Avatar
cake
just curious, what's the closest to a usable eink "monitor" you've seen besides $700+ dasung, boox etc
kindle pw3
Avatar
Avatar
tux-linux
kindle pw3
kindlevncviewer? or..
Avatar
= me doing inkbox programming in a car with an rpi that has a hotspot and a local network
Avatar
Avatar
cake
kindlevncviewer? or..
yes, iirc
Avatar
damn wtf
Avatar
this device is now bricked but whatever
4:30 AM
not because of it
Avatar
Moonlight Documentation. Contribute to moonlight-stream/moonlight-docs development by creating an account on GitHub.
Avatar
nice
Avatar
so I could probably try it on my pmOS install if I wanted
Avatar
Avatar
cake
damn wtf
also, nice thing: it runs on 12v car power so no battery needed unlimited runtime
4:31 AM
except when you power off the car when you go to a gas station hehe
Avatar
Avatar
tux-linux
this device is now bricked but whatever
the fuck did you do
Avatar
bad things
Avatar
ooh it's a kindle
Avatar
wasn't there a lot of ghosting even for text editing i tried kindlevncviewer but it was flickering like crazy
Avatar
it was not too bad iirc
4:33 AM
i mean, not too bad for a screen like this
Avatar
Avatar
cake
wasn't there a lot of ghosting even for text editing i tried kindlevncviewer but it was flickering like crazy
flickering is not ghosting
4:34 AM
the flickering is a screen driver thing to prevent ghosting
Avatar
my bad : )))
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
inkbox has some vnc viewer
4:34 AM
it's not that good
Avatar
I still think some of the issues with the screen refreshes are probably screen driver related, like it chooses how to refresh based on the diff between before and after refresh (edited)
👍 1
4:36 AM
so if you update more than x pixels or if you update pixels by more than a certain amount it will do full refreshes for partial regions or the entire screen
Avatar
Avatar
tux-linux
Well now I have a more portable PC! ;p
also this
Avatar
Avatar
Kuratius
so if you update more than x pixels or if you update pixels by more than a certain amount it will do full refreshes for partial regions or the entire screen
yea but i think that can mostly be controlled in software (edited)
4:39 AM
also, writing docs with vim on a kobo touch n905b+rpi+vnc
4:39 AM
this was sometimes horrible
4:40 AM
this was when I had a laptop but the battery was dead so it worked only on ac power
4:40 AM
so i relied on rpi to get things done on the road
4:40 AM
it works... sort of real inkbox code has been written from an ereader
4:42 AM
i used to stick the kobo to the deck with some blue tack
4:42 AM
nostalgic times (edited)
Avatar
you made that project at 18 that's super impressive wtf
Avatar
i started at 15
4:44 AM
now im 18
4:44 AM
school was too boring back then
4:44 AM
i guess
4:45 AM
first inkbox release was in march 2021 i was in mid-high school
Avatar
kobo needs to hire you man they could use your help
Avatar
im not sure the code i write is not that good
4:45 AM
i mean, by standards and practices
KevinMX joined the server. 1/28/2024 5:31 AM
Joe joined the server. 1/28/2024 6:39 AM
Avatar
@tux-linux Mirror is not working Bot is not working Link for the glo on the website is wrong, for the mirror
Avatar
@tux-linux why the fuck i dont have access to inkbox github wiki via locally pushing files
12:40 PM
jdfcaskgvhnewsuiyghbeui
12:40 PM
NKJFASDBNFGIUASDBFGSIAU
12:46 PM
G I V E M E A C C E S S
12:47 PM
Avatar
it is mirroring right now
Avatar
Avatar
Szybet
@tux-linux why the fuck i dont have access to inkbox github wiki via locally pushing files
i didnt touch the wiki at all since a year? (edited)
Avatar
i dont care
2:27 PM
give me access
2:27 PM
more access
2:27 PM
make it work
Avatar
add me as a full collaborator to inkbox repo
2:44 PM
i checked it, then it will work
Avatar
i have added you but do not push without my permission thanks
Avatar
I will make the wiki only
👍 1
3:24 PM
No time for anything else
Avatar
I moved the wiki to github
6:24 PM
@tux-linux take a full sql backup of the wiki and redirect it to github from now on
Avatar
I will group it some day
6:36 PM
when will matrix bridge work again?
Avatar
I made a little discord dance
8:02 PM
and made some categories
8:02 PM
let me know if you like it
8:02 PM
I am trying to get matterbridge conf file back
8:03 PM
I think i said you need to back it up
Avatar
it was in the server i have a backup
8:03 PM
it was in a ploop file
8:03 PM
so i have to get debian to mount it
Antoine Grunenberger joined the server. 1/28/2024 9:38 PM
Avatar
Avatar
Antoine Grunenberger
Click to see original message
Avatar
Avatar
Antoine Grunenberger
Click to see original message
Avatar
Avatar
Antoine Grunenberger
Click to see original message
10:35 PM
Welcome
Avatar
sounds like pikamee/henya
Avatar
What
Avatar
the voice
10:02 PM
vtuber thing, if you dont know ignore it
10:02 PM
https://www.youtube.com/watch?v=0t4xTKDmYcI also apparently this is the source, and they're really salty that people think it's gura xD
Avatar
thats just a funny shark in my opinion
joak joined the server. 1/29/2024 10:18 PM
Avatar
Avatar
joak
Click to see original message
Sticker
Avatar
inkbox is a very interesting project. respect
Avatar
Thanks
Avatar
some weeks ago I tested it on my N905C
10:31 PM
tomorrow I will try it on a kobo glo HD. I just saw that the links are not working on the webpage, but I could access it via IP
Avatar
Try the mirror
10:34 PM
It will be working again soon
Avatar
fine thanks!
10:35 PM
amazing work.
Avatar
Thanks for the donation!
Avatar
you welcome. small contribution for server expenses or a coffee&cake 😄
😀 1
anze joined the server. 1/29/2024 10:48 PM
Avatar
Avatar
anze
Click to see original message
M8torr joined the server. 1/30/2024 7:38 PM
Avatar
Avatar
M8torr
Click to see original message
7:39 PM
Why does your name say something to me
Avatar
M5 stack ?
taq joined the server. 1/30/2024 9:59 PM
Avatar
Avatar
taq
Click to see original message
Avatar
Hi, Please support OPDS. https://en.wikipedia.org/wiki/Open_Publication_Distribution_System OPDS is the best way for an interconnected E-Reader with its own servers, its own Small Data, its own Per...
10:02 PM
The Open Publication Distribution System (OPDS) catalog format is a syndication format for electronic publications based on Atom and HTTP. OPDS catalogs enable the aggregation, distribution, discovery, and acquisition of electronic publications. OPDS catalogs use existing or emergent open standards and conventions, with a priority on simplicity....
10:03 PM
1. thats cool 2. instead of spamming on a dead github they could support us, or even write their own 🥴
Mehul joined the server. 1/31/2024 5:25 AM
Avatar
Avatar
Mehul
Click to see original message
Avatar
Avatar
tux-linux
Why does your name say something to me
😁
fOld^free joined the server. 1/31/2024 11:55 AM
Avatar
Avatar
fOld^free
Click to see original message
👋 1
Avatar
Avatar
fOld^free
Click to see original message
Avatar
Avatar
M8torr
😁
I am still wondering
Avatar
Avatar
fOld^free
Click to see original message
Hello
Avatar
hello, just lurking wondering if I should get a clara 2e...
Avatar
not supported
3:42 PM
you could propably eassly port it
3:42 PM
a similar device was already ported
Avatar
Avatar
Szybet
a similar device was already ported
6:55 PM
kobo nia model c uses an identical kernel
6:57 PM
6:57 PM
niaudio keyboard dropped
6:57 PM
litterally
6:57 PM
and its gone
6:57 PM
🥴
6:57 PM
I dont have time to reprint it so that's it ;p
6:58 PM
I wonder if someone would like to buy a 2.0 version of it in the future
6:58 PM
it lasted a year without problems only minor conservation was needed
6:58 PM
worked like a charm
Avatar
Oops
david93912 joined the server. 1/31/2024 7:45 PM
Avatar
Avatar
david93912
Click to see original message
Avatar
Avatar
david93912
Click to see original message
Zelli21 joined the server. 2/1/2024 7:16 PM
Avatar
Avatar
Zelli21
Click to see original message
7:22 PM
I welcome you on your journey through the internet
Avatar
Avatar
Zelli21
Click to see original message
Avatar
I'm proud to announce the Clara HD that I got is the correct board revision. Time to test the beta image hooray!
👍 2
Avatar
test
Avatar
[matrix] <tux-linux> BOT 2/3/2024 3:54 AM
test
Avatar
good this works
3:54 AM
at last
Avatar
test
Que joined the server. 2/5/2024 3:44 AM
Avatar
Avatar
Que
Click to see original message
Avatar
Marzagheddon 2/5/2024 9:34 PM
Don't you think there are too many topics in this chat
Avatar
[matrix] Szybet BOT 2/5/2024 9:45 PM
For a discord server its a small ammount
Avatar
Marzagheddon 2/7/2024 7:55 PM
Why if i access project gutemberg from inkbox i can see only 8 books?
7:55 PM
Only the latest 8 books
Avatar
[matrix] Szybet BOT 2/7/2024 8:08 PM
it is what it is
8:08 PM
feel free to improve it
Avatar
Marzagheddon 2/7/2024 9:07 PM
Sry i'm no coder
Avatar
[matrix] Szybet BOT 2/7/2024 9:07 PM
if you have time, learn
emm7069 joined the server. 2/8/2024 5:28 PM
Avatar
Avatar
emm7069
Click to see original message
Sticker
Avatar
mirror is down
6:50 PM
this server provider is crap (edited)
6:50 PM
if it's debian again then im going with arch
Avatar
Well, at least the other one is working
rats joined the server. 2/9/2024 1:56 AM
Avatar
Avatar
rats
Click to see original message
Avatar
hi! I am researching eink tablets/ereaders, I want to get one to view my PC screen with VNC. so I'm looking into what's going to do that best :) (edited)
2:07 AM
i'm thinking of using this: https://github.com/everydayanchovies/eink-vnc but it hasn't had any updates in 2 years, and I haven't found anyone saying if it still works or not lol
Avatar
this one doesn't worked for me and won't propably work for you because I'm a inkbox developer who uses rust soo
10:53 AM
inkbox has a xorg one which you propably could figure out to make it work
10:53 AM
but
10:53 AM
you are in luck, I was bored recently!
10:54 AM
This one is not using vnc protocol but a custom one, the code is shitty, it could be faster but it works like on the video ( you can choose )
10:54 AM
no touch too
10:54 AM
you could improve it yourself
10:57 AM
oh you were talking on #dev too
10:58 AM
well this allows you to mirror things from PC, you can create a virtual display for it soo
Avatar
cool stuff! once i decide on what to buy i'll give it a go
BakaOverflow joined the server. 2/9/2024 11:05 PM
Avatar
Avatar
BakaOverflow
Click to see original message
Avatar
Avatar
BakaOverflow
Click to see original message
chayleaf joined the server. 2/10/2024 6:17 AM
Avatar
Avatar
chayleaf
Click to see original message
Sticker
PassiveAggressor joined the server. 2/10/2024 8:16 PM
Avatar
PassiveAggressor 2/10/2024 9:28 PM
I just wanted to share something, I broke my power button on kobo nia and I'm sure someone else will as well, though it's still click able I was able to find the exact replacement model
9:28 PM
1006.27 KB
Avatar
dear god
9:32 PM
yea replace it
9:34 PM
is it for the nia?
Avatar
PassiveAggressor 2/10/2024 10:16 PM
Yeah
Avatar
huh, cool!
10:17 PM
you can make a pull request to include this information to this repo
10:17 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
10:17 PM
you could maybe even be interested in this
10:18 PM
it's the nia model A with audio and USB keyboard and mouse
10:18 PM
;)
Avatar
PassiveAggressor 2/10/2024 10:18 PM
Oooh
Avatar
PassiveAggressor 2/10/2024 10:31 PM
Bloody hell, looks like you have to order 12000 switches minimum to get that model. I think I'll live without the power button
Avatar
order a broken nia?
10:32 PM
like on ebay and whatnot
Avatar
PassiveAggressor 2/10/2024 10:33 PM
Hmm that's a good idea too, though i can almost live without fixing it
Avatar
look for replacement buttons
10:37 PM
it doesnt need to be the exact model
10:38 PM
I would just solder a tht one and rotate it ;p
Avatar
PassiveAggressor 2/10/2024 10:43 PM
There seems to be a lack of switches in that exact size 7.0x3.5
10:43 PM
Hey hey though it's literally still working
10:44 PM
I can still click it by inserting a stick inside
10:45 PM
BTW are you a software student? Or did u learn by diy
Avatar
I'm a software student but In poland so I didn't learned shit in school, I was something teaching the IT teachers... so fully DIY
10:46 PM
I'm still a student if that's not clear
Avatar
PassiveAggressor 2/10/2024 10:47 PM
I see I see
Avatar
nicolas, the creator of the project is one year younger than me and didn't go to a IT school so also DIY
Avatar
PassiveAggressor 2/10/2024 10:52 PM
Impressive
Avatar
PassiveAggressor 2/10/2024 11:13 PM
How do I change boot flags? Is it something to do with chroot? Squash fs?
11:13 PM
'Initialization process InkBox OS is probably not like your standard Linux distribution you have installed on your PC or at work. Instead of using a standard root filesystem stored as a whole in a partition, that part of the framework is in fact a SquashFS file. At boot, it gets mounted by the initrd with the script [initrd-root]/etc/init.d/overlay-mount. A special FUSE-based filesystem layer, overlayfs-fuse, permits a read-write root filesystem with the command ifsctl mnt rootfs rw. Otherwise, it is always read-only to minimize flash storage writes and extend the MMC's lifespan as much as possible. When all the initial mount process is completed, the rootfs can be chroot'ed into to run the main framework. The main partition layout looks like this: PART. NUMBER LABEL DESCRIPTION 1 boot Contains boot flags 2 recoveryfs Recovery partition used to restore InkBox OS 3 rootfs Contains the rootfs SquashFS archive + OpenSSL digest 4 user All user data, such as config options, books, InkBox Software Archives (*.isa)'
11:14 PM
I'm not sure where to look for boot
Avatar
[matrix] Szybet BOT 2/10/2024 11:14 PM
in partition 1
Avatar
feel free to update the wiki on github to include information you lacked
Avatar
PassiveAggressor 2/10/2024 11:16 PM
The problem is conceptual for me, how do I find partition 1? Fdisk - l on Linux?
Avatar
i prefer lsblk
Avatar
PassiveAggressor 2/10/2024 11:32 PM
Okay I think I understand, I must mount the disk first before I can access it I think but I think I just can't find the partitions on windows
Avatar
use linux
11:35 PM
probably a better option
Avatar
PassiveAggressor 2/10/2024 11:47 PM
I am missing critical information, I am unable to find the partition on Linux too
11:47 PM
Do i connect to usb and say yes I want to manage my books
Avatar
Avatar
PassiveAggressor
I am missing critical information, I am unable to find the partition on Linux too
matterbridge BOT 2/10/2024 11:48 PM
[matrix] Szybet you connect the sd card correctly?
Avatar
[matrix] Szybet BOT 2/10/2024 11:48 PM
directly?
Avatar
PassiveAggressor 2/10/2024 11:48 PM
Oh, am I supposed take the sd card out?
Avatar
PassiveAggressor 2/10/2024 11:48 PM
Okay that is probably it
Avatar
[matrix] Szybet BOT 2/10/2024 11:49 PM
or root the device and do it from the inside using ssh
11:49 PM
via usbnet
11:49 PM
for most flags you need root kernel anyway
Avatar
PassiveAggressor 2/10/2024 11:49 PM
I don't have WiFi so I need usbnet to get WiFi first
Avatar
[matrix] Szybet BOT 2/10/2024 11:50 PM
then you need rooted kernel
11:50 PM
get into diagnostics mode and root it
Avatar
PassiveAggressor 2/11/2024 12:03 AM
Oh I didn't know realise the wiki was on github either, i see now
Avatar
[matrix] Szybet BOT 2/11/2024 12:04 AM
use only the one on github
12:04 AM
the site wiki is abandoned
12:04 AM
but tux-linux wont shut it down for some reason
12:04 AM
;-;
Avatar
PassiveAggressor 2/11/2024 12:31 AM
I don't have kernel flags in the boot folder, do I write my own? I only have the interactive ones
12:32 AM
Wait sorry I mean, I only have 9 flags
Avatar
Avatar
PassiveAggressor
I don't have kernel flags in the boot folder, do I write my own? I only have the interactive ones
matterbridge BOT 2/11/2024 12:37 AM
[matrix] Szybet What
Avatar
PassiveAggressor 2/11/2024 12:38 AM
There r 20 flags in github but my boot only has 9
Avatar
[matrix] Szybet BOT 2/11/2024 12:47 AM
Create them
Avatar
PassiveAggressor 2/11/2024 10:23 PM
I have boost usb debug and usbnet enable set to true, is that correct? How do I proceed to usb net from there?
10:25 PM
I'm just not getting any boot screen
Avatar
Avatar
PassiveAggressor
I'm just not getting any boot screen
what
10:26 PM
have you rooted your device?
Avatar
PassiveAggressor 2/11/2024 10:26 PM
Do you mean rw rootfs?
10:27 PM
so you propably haven't
10:27 PM
you need to get into diagnostics mode
10:27 PM
and then click root the device
Avatar
PassiveAggressor 2/11/2024 10:27 PM
Does kobo nia support diagnostics mode?
10:28 PM
Basic diagnostics kernel is not diagnostics mode
10:28 PM
those are 2 seperate things
Avatar
PassiveAggressor 2/11/2024 10:29 PM
Okay I see diagnostics mode, diags boot flag
Avatar
yes, but that's not the only way to get there
10:30 PM
when you boot the device you can spam the power button with click to enter it too
10:31 PM
you could create a wiki page about diagnostics mode, or other things you didn't know but now know :D
Avatar
PassiveAggressor 2/11/2024 10:31 PM
Yes I will
10:32 PM
any contribution is welcome, we are pretty lonely here
Avatar
PassiveAggressor 2/11/2024 10:36 PM
How do I view the original source code of the kobo ereader? You must have done so to know what to do right
Avatar
what... what
Avatar
Avatar
PassiveAggressor
How do I view the original source code of the kobo ereader? You must have done so to know what to do right
they are legally required to publish sources
Avatar
I mean the os
10:37 PM
not the reader app
10:37 PM
I think that's what he means, anyway
Avatar
Avatar
tux-linux
no
go to #future 🫥
Avatar
PassiveAggressor 2/11/2024 10:38 PM
I mean the kobo original firmwate
Avatar
what part of firmware? bootloader? kernel? reader app? background components?
Avatar
PassiveAggressor 2/11/2024 10:39 PM
Ig all of it. I saw that you can clone the sd card and read some of it, but that was from a kobo 10+ years ago
Avatar
Contribute to kobolabs/Kobo-Reader development by creating an account on GitHub.
Avatar
the kernel and bootloader are open source because license
10:40 PM
the rest is not
Avatar
PassiveAggressor 2/11/2024 10:40 PM
I see
Avatar
inkbox is fully open source
Avatar
PassiveAggressor 2/11/2024 10:41 PM
Did you reverse engineer the closed source parts?
10:42 PM
Also I am now in diagnostics mode, did I miss the usbnet window?
Avatar
Avatar
PassiveAggressor
Did you reverse engineer the closed source parts?
nope, it's just linux with an app so there was no need for that
Avatar
Avatar
PassiveAggressor
Also I am now in diagnostics mode, did I miss the usbnet window?
no, you need now to root your kernel
10:43 PM
root the device
Avatar
PassiveAggressor 2/11/2024 10:45 PM
Is this chroot?
10:45 PM
maybe post a photo
Avatar
PassiveAggressor 2/11/2024 10:46 PM
I'm not sure how to root the device, you mean log in as root?
10:46 PM
https://github.com/Kobo-InkBox/inkbox/wiki/General-information#standard-and-rooted this page talks about root but doesn't say how to root the device
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
10:46 PM
Inkbox OS is not rooted by default
Avatar
its not
10:47 PM
are you in diagnostics mode?
Avatar
PassiveAggressor 2/11/2024 10:47 PM
Yes
10:47 PM
Avatar
click reset options
10:48 PM
there should be something about root
Avatar
PassiveAggressor 2/11/2024 10:48 PM
I see it now thanks you, reset and root device. Okay I gotta write that down
Avatar
connect your device to a charger
10:49 PM
it cant be discharged now
10:49 PM
or it will break and you will need to write the os once more
Avatar
PassiveAggressor 2/11/2024 10:54 PM
How to connect to WiFi using USBNET 1 Turn Ereader off 2 Take SD card out of ereader, connect to PC. 3 Mount the boot partition. Using either disk part on windows or on Linux by fdisk - l then sudo mount partition /mnt 4 Change boot flags, ENABLE_USBNET, DIAGS_BOOT and BOOT_USB_DEBUG to true using nano on Linux. Perhaps on Windows you may need permission to change files. 5 Put sd card back into ereader, keep it charged and reboot. Select reset options, click reset and root device. That sound about right?
Avatar
looks good
Avatar
PassiveAggressor 2/11/2024 11:01 PM
After restoring is there a black screen for a while?
Avatar
yep, wait 2 minutes jsut to be sure and turn it on
Avatar
PassiveAggressor 2/11/2024 11:08 PM
After reboot I am now back in inkbox OS set up mode
11:08 PM
Did I miss usb debug? Or do I reboot agaib
Avatar
go through it
11:09 PM
thats fine
11:09 PM
then connect your usb to pc
11:09 PM
if no new network interfasce appearts, you will need to create the enable usbnet flag once again
Avatar
PassiveAggressor 2/11/2024 11:14 PM
Okay now there r only 7 flags but ig the diff is now device is roote fright? Do I enable boot usb debug as well? And I no longer set diags boot to true
11:14 PM
Since I've already rooted
Avatar
no, boot usb debug is another thing
11:17 PM
set them to true
11:17 PM
only usb net
11:17 PM
enable
Avatar
PassiveAggressor 2/11/2024 11:26 PM
Okay I have done so but I don't think I am able to telnet still
Avatar
no telnet, ssh
11:31 PM
first, do you see a new network interface
11:31 PM
are you on linux or windows?
Avatar
PassiveAggressor 2/11/2024 11:32 PM
Oh ssh right
11:32 PM
Both, I am using vm on windows
Avatar
then you need to pass throught the usb connection to linux
11:33 PM
then linus should see it as a network device
11:33 PM
should show something new in ip a
11:33 PM
ip a
11:34 PM
then you need to set the ip address for it 192.168.2.3/24
11:34 PM
then ssh into 192.168.2.1
11:34 PM
user root
11:34 PM
password root
11:34 PM
you should be in
11:34 PM
good night, I can help you more tommorow
Avatar
PassiveAggressor 2/11/2024 11:34 PM
Goodnight sir I think I can finish it off
11:34 PM
Thank you for all
😄 1
Avatar
PassiveAggressor 2/12/2024 12:10 AM
Yea nah I couldn't figure it oht
12:11 AM
I tried ip a the sudo ip addr add 192.168.2.1 broadcast + dev enp30s sudo ip route add 192.168.2.0/24 dev enp30s
Avatar
Isn't it enp3s0?
Avatar
PassiveAggressor 2/12/2024 12:13 AM
It might be bc I'm using vm idk
12:13 AM
It probably was enp3s0
12:14 AM
Enp0s3
12:17 AM
My 192.168.2.0/24 was 192.168.2.1/32 as well in ip a
Avatar
Avatar
PassiveAggressor
It might be bc I'm using vm idk
but the vm sees the device?
Avatar
Avatar
Szybet
then ssh into 192.168.2.1
no, you need to ssh to 192.168.2.2
12:26 AM
.2.2 is the kobo's ip
12:26 AM
your computer's is .2.1 or .2.3, whatever you choose
Avatar
PassiveAggressor 2/12/2024 12:45 AM
Do i connect usb and say I want to manage my books? I wonder if that's what I am doing wrong
12:45 AM
Avatar
what is enx... device
Avatar
PassiveAggressor 2/12/2024 12:49 AM
Virtual network interface apparently
Avatar
Ok So the device is rooted right
Avatar
PassiveAggressor 2/12/2024 12:50 AM
Are the 2 ips in this instruction supposed to be the same? From yingtongli
12:50 AM
Yes the device is rooted
12:51 AM
Download this
12:51 AM
Connect regular usb storage
12:51 AM
(the 'Connect' prompt)
12:51 AM
create a folder called .apps
12:51 AM
unzip the file in this folder
12:52 AM
don't create a new folder for it or anything
12:52 AM
then eject device, then head over to the apps tab (the grid icon with 9 dots)
12:52 AM
click <Launch> next to <ITerm>
Avatar
PassiveAggressor 2/12/2024 12:56 AM
Okay I'm having a new problem now, I can't even see my device anymore lol
12:56 AM
I will try that though thank you
👍 1
1:03 AM
BTW why did u guys use qt, couldn't you have built on top of the original firmware?
1:03 AM
Or is that not possible to do because a lot is proprietary
Avatar
The goal was to have an open-source os
1:07 AM
There are licensed adobe binaries in the stock os
Avatar
PassiveAggressor 2/12/2024 1:08 AM
I see
Avatar
Also the stock os is hilariously outdated
1:08 AM
Even more outdated than inkbox
1:08 AM
Like, glibc from 2013
1:08 AM
We use musl from 2019-20ish
Avatar
PassiveAggressor 2/12/2024 1:09 AM
Hmm
1:10 AM
I think I see a problem why I failed earlier, when I connect usb, the virtual WiFi goes out
1:10 AM
Or at least I think that's what happened
1:14 AM
Yea I broke something, I earlier forgot to eject and unplugged now I can no longer access usb file storabe
Avatar
Hm See if you can access usbnet from diags
1:21 AM
If it is rooted there will be a new option
1:21 AM
"Emergency recovery shell"
kayw joined the server. 2/12/2024 7:09 AM
Avatar
Avatar
kayw
Click to see original message
Avatar
Avatar
kayw
Click to see original message
Avatar
PassiveAggressor 2/12/2024 8:43 PM
Does e ink refresh rate depend on software? Bc e ink anchovies is 30 fps but. I thought ereader can't be fast
Avatar
[matrix] Szybet BOT 2/12/2024 8:46 PM
Depends, grey folor are very slow but black white is pretty fast Look up my demo of the vnc app, the speed there is not limited by eink Also depends on the panel technology etc
Avatar
PassiveAggressor 2/12/2024 8:47 PM
Dithering?
Avatar
[matrix] Szybet BOT 2/12/2024 8:51 PM
The process of making black and white color take shades of grey by making it balance how much of each kolor to use at subpixel level
Avatar
PassiveAggressor 2/12/2024 8:54 PM
Hmm
8:54 PM
Also okay I understand new thing usb networking disables usb storage thus I thought I broke it but no
8:55 PM
Also, what are 192.168.2.1 and 192.168.2.0 supposed to represent?
8:55 PM
Also also, do you know how I can install everydayanchovied e ink? There are no installation instructions, but a binary file
Avatar
Avatar
PassiveAggressor
Also, what are 192.168.2.1 and 192.168.2.0 supposed to represent?
Those are io addreses?
8:58 PM
Ip
Avatar
Avatar
PassiveAggressor
Also also, do you know how I can install everydayanchovied e ink? There are no installation instructions, but a binary file
What
Avatar
PassiveAggressor 2/12/2024 8:58 PM
But why are they different Ip addresses, one is for the host pc, what is the other if 192.168.2.2 is the kobo
8:58 PM
For usbnet
Avatar
2.1 would be the default gateway but it doesnt exist, 2.0 means the whole network because the subnet starts at 2.1
9:00 PM
You dont need to care about it
9:00 PM
2.2 is kobo 2.3 should be you
9:00 PM
Does your networking work or it doesnt?
Avatar
PassiveAggressor 2/12/2024 9:02 PM
No I couldn't get it to work, possible problem may be usbnet disconnects my virtual network adapter
9:02 PM
Meaning my vm lose wifi
9:02 PM
Not sure if that was the problem or not
Avatar
Idk, you should install linux bare metal
Avatar
PassiveAggressor 2/12/2024 9:04 PM
Yea also how do I install https://github.com/everydayanchovies/eink-vnc?tab=readme-ov-file on regular kobo device? Do I need compile? How do I do thag
Contribute to everydayanchovies/eink-vnc development by creating an account on GitHub.
Avatar
It didnt worked for me, i doubt it will work for you
9:05 PM
You need cargo & cross & rust friends
Avatar
PassiveAggressor 2/12/2024 9:34 PM
Sigh okay
Avatar
If you update the wiki with a few things you learned i could give you some commands to compile this project or guide to use my own demo id you dont care about touch
Avatar
PassiveAggressor 2/12/2024 9:36 PM
Wait first I must finish the usb net thing, tux Linux gave me an alternative, Iterm command line
9:36 PM
Since I could not figure out how to do usb networking
Avatar
Avatar
PassiveAggressor
Click to see attachment 🖼️
PassiveAggressor 2/12/2024 9:39 PM
But see this where did I go wrong
Avatar
Avatar
tux-linux
create a folder called .apps
PassiveAggressor 2/12/2024 10:24 PM
@tux-linux can I use the..apps folder already there? And should the file structure be. APPS-ITERM-ITERM-CONTENTS? OR ONLY one Iterm folder
Avatar
Avatar
PassiveAggressor
Click to see attachment 🖼️
You set the ip to the wrong interface
Avatar
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
Avatar
Avatar
PassiveAggressor
@tux-linux can I use the..apps folder already there? And should the file structure be. APPS-ITERM-ITERM-CONTENTS? OR ONLY one Iterm folder
Yes, the apps folder already there
10:27 PM
Also the structure is described on the wiki
10:27 PM
@tux-linux redirect the wiki site to github wiki
Avatar
Avatar
Szybet
You set the ip to the wrong interface
PassiveAggressor 2/12/2024 10:28 PM
Which interface is that?
Avatar
The one that appears when you connect the ereader
10:30 PM
Check before and after connecting the device
Avatar
PassiveAggressor 2/12/2024 10:31 PM
I'm not sure what interface happens, but I've got Iterm working now
Avatar
then you can try ssh root@127.0.0.1
10:33 PM
password is root
Avatar
Avatar
PassiveAggressor
I'm not sure what interface happens, but I've got Iterm working now
It appears
10:35 PM
Before it, it doesnt exist
Avatar
PassiveAggressor 2/12/2024 10:35 PM
Okay I am welcoming in 127 now
10:37 PM
Which interface do you mean?
10:37 PM
Can you show a picture
10:38 PM
Take a picture of "ip a" before you connect the ereader to the vm and after you conmect it
10:38 PM
The difference will be the new interface
Avatar
PassiveAggressor 2/12/2024 10:39 PM
Er what package manager is there?
10:39 PM
I'm trying to get nmcli
10:40 PM
So I can connect to WiFi, because I have the WiFi name too long problem
Avatar
Avatar
PassiveAggressor
Er what package manager is there?
none
10:40 PM
well, kind of
10:40 PM
there are scripts to connect to wifi
10:40 PM
dont use nmcli
10:40 PM
/usr/local/bin/wifi/toggle.sh on
10:41 PM
/usr/local/bin/wifi/connect_to_network "ssid" "pass"
Avatar
PassiveAggressor 2/12/2024 10:46 PM
That script says not found
10:47 PM
The second one
10:48 PM
Ah there's no. Sh
10:48 PM
That's why it failed
10:53 PM
She's working she's alive!
10:53 PM
Okay now back to trying to do usbnet
Avatar
Do what i said
Avatar
PassiveAggressor 2/12/2024 11:01 PM
I also found alternative switches for the nia of the right size and shape, incidentally though, now is 1 $ and is the exact same size and all but different colour
11:04 PM
Order today, ships today. KSS333G LFG – Tactile Switch SPST-NO Side Actuated Surface Mount, Right Angle from C&K. Pricing and Availability on millions of electronic components from Digi-Key Electronics.
Avatar
Please save this knowledge on inkbox wiki
Avatar
PassiveAggressor 2/12/2024 11:08 PM
I has
Avatar
PassiveAggressor 2/12/2024 11:12 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
11:12 PM
The New interface doesn't have an up address
11:12 PM
Ip
11:13 PM
Avatar
Yes, you need to set it manually
11:13 PM
And make sure your wifi manager doesnt try to reset it
Avatar
PassiveAggressor 2/12/2024 11:13 PM
sudo ip addr add 192.168.2.1 broadcast + dev enp0s20f0u2 sudo ip route add 192.168.2.0/24 dev enp0s20f0u2
11:14 PM
Are these 2 commands correct?
11:14 PM
With ep0s replaced with mibe
11:16 PM
Okay yes it's working now
11:16 PM
HOORAY
Avatar
Good that its working, i prefer ifconfig
11:18 PM
You forgot to add the rooting part to the wiki
11:18 PM
You could also add how you managed to use usbnet
Avatar
PassiveAggressor 2/12/2024 11:18 PM
I am still typing it up
Avatar
PassiveAggressor 2/12/2024 11:21 PM
Wait when you want to tell someone to use a argument in a command, do you put it in quote marks?
11:21 PM
Like nano 'filename'
11:21 PM
Or is it just nano filenamr
11:22 PM
"<filename>"
11:22 PM
also use backticks to show it's a command
11:22 PM
`hi`
11:23 PM
hi
Avatar
PassiveAggressor 2/12/2024 11:23 PM
Does it also implies its a string?
11:23 PM
Like "string"
Avatar
i don't know
11:23 PM
left to your interpretation
Avatar
Ask chatpgt
Avatar
PassiveAggressor 2/12/2024 11:23 PM
Okay bc for me when I see it I'm not sure if I'm supposed to include the quote marks or not
11:34 PM
The part about file structure can be removed, its describrf in another wiki
11:34 PM
Remove the note about ssid and just put them inside <>
Avatar
PassiveAggressor 2/12/2024 11:35 PM
Ppl like me probably won't read the entire wiki, and ppl may not know that "ssid" thing
Avatar
Okay sure
Avatar
PassiveAggressor 2/12/2024 11:37 PM
Am I able to edit boot flags from inside the kobo? Also for the vnc server, I can only see part of the screen, is the way to scale down the image on the server side or client side+ can it go landscape?
Avatar
Via shell, look to /boot/flags
Avatar
/boot
Avatar
As for vnc idk
Avatar
Nothing for vnc i think
Avatar
PassiveAggressor 2/12/2024 11:40 PM
Okay thanks I will add that you can edit boot flags with Iterm then
Avatar
In regular shell via ssh too
11:41 PM
Like via wifi
11:41 PM
as for vnc, look for other app alternatives
Avatar
PassiveAggressor 2/12/2024 11:45 PM
Wdym?
11:45 PM
App alternayive
11:46 PM
Goys goys goys did u know u can use kobo without the battery??
11:46 PM
Such a good way preserve battery life!!
11:46 PM
Can even take out the battery and instead use battery bank...!!!
Avatar
Dont do it
Avatar
Avatar
PassiveAggressor
App alternayive
The one you sended or my demo app
Avatar
Avatar
Szybet
Dont do it
For electronical reasons, dont
Avatar
PassiveAggressor 2/12/2024 11:47 PM
Don't do which one?
Avatar
Without battery
Avatar
PassiveAggressor 2/12/2024 11:48 PM
Why not usb is around 4 to 5v and the battery is also 4.2v
11:49 PM
In fact, when you plug USB in, the same thing is still happening right?
Avatar
Nope, nope, nope its about power delivery not voltage
11:49 PM
The tldr is usb has a limit on power delivery and your device can shut off if it wont receive enough power
11:49 PM
Or even something worse can happen
11:50 PM
When the usb is plugged in it mostly uses usb power and then if it neexs the battery, so you are not draining the battery anyway
Avatar
PassiveAggressor 2/12/2024 11:50 PM
Hmm I see
11:51 PM
As for everyday vnc anchovy, I see it already been compiled
11:51 PM
In releases
Avatar
its probably not compatible with inkbox
11:52 PM
we dont use glibc as the main libc
11:52 PM
maybe you can get it to work with some hacking
11:52 PM
but provided you have a kobo nia, it's most probably useless to try
Avatar
The rust one?
Avatar
PassiveAggressor 2/12/2024 11:54 PM
U r nima right?
Avatar
Yes he is
Avatar
PassiveAggressor 2/12/2024 11:54 PM
Interesting project, interesting video. I will probably adapt this for InkBox OS as an user app (https://inkbox.ddns.net/wiki/index.p..._GUI_user_apps) Great work! __
Avatar
port never happened
Avatar
This one doesnt work as i already explained
Avatar
PassiveAggressor 2/12/2024 11:54 PM
Also are you related to nijule?
Avatar
PassiveAggressor 2/12/2024 11:55 PM
Is the username default generated?
Avatar
He is his son
Avatar
Avatar
PassiveAggressor
Is the username default generated?
no
Avatar
PassiveAggressor 2/12/2024 11:55 PM
Cargo and rust one?
Avatar
Yes it doesnt work
Avatar
PassiveAggressor 2/12/2024 11:56 PM
Not on inkbox but on default firmware as well?
11:56 PM
This is my demo app
Avatar
PassiveAggressor 2/12/2024 11:57 PM
Your one intentionally has no instructions too 😁
Avatar
Its a demo
11:57 PM
The code is bad and not optimised
11:57 PM
It is manually runned
11:57 PM
Hard coded
11:58 PM
I didnt had time to finish it
11:58 PM
You can finish it ;p
Avatar
PassiveAggressor 2/12/2024 11:58 PM
U wrote its for developers only
11:58 PM
I know a little bit of coding
11:58 PM
But it's python I know
Avatar
Avatar
PassiveAggressor
U wrote its for developers only
Not on this one, but its still a demo only
11:59 PM
Learn rust and c++
Avatar
PassiveAggressor 2/12/2024 11:59 PM
Also how do I learn like hardware software interaction? Like I just don't know what it is like how you would connect to WiFi firmware
11:59 PM
Hardware I meab
11:59 PM
Architecture maybe the word idk
Avatar
First learn how to code, then learn how the code works
12:00 AM
Anyway, goodnight
Avatar
PassiveAggressor 2/13/2024 12:00 AM
Okay good night thanks yall
12:01 AM
There's learning to code, like just purely the syntax and then there's the rest eh, like the relationship between code and hardware etc. I am only done tbe syntax bit
macd joined the server. 2/13/2024 12:09 AM
Avatar
Avatar
macd
Click to see original message
Avatar
Avatar
PassiveAggressor
There's learning to code, like just purely the syntax and then there's the rest eh, like the relationship between code and hardware etc. I am only done tbe syntax bit
it's already good
Avatar
PassiveAggressor 2/13/2024 12:14 AM
What is already good?
Avatar
syntax
Avatar
PassiveAggressor 2/13/2024 12:15 AM
Like it's speaking a language but not knowing what to use it for. You must know the words open sesame to open the magic, but where do you use it? With whom? Where do I find the gates yknow
Avatar
https://github.com/Kobo-InkBox/rootfs/blob/master/usr/local/bin/wifi/toggle.sh if you want the simplest example with wifi this is the script that toggles interfaces on or off
InkBox OS root filesystem. Contribute to Kobo-InkBox/rootfs development by creating an account on GitHub.
Avatar
PassiveAggressor 2/13/2024 12:16 AM
Ooh okay I know what o mean now
12:17 AM
She'll is high lvl scripting right? I mean idk how low level works
Avatar
Avatar
PassiveAggressor
She'll is high lvl scripting right? I mean idk how low level works
InkBox OS' initialization program source. Contribute to Kobo-InkBox/inkbox-os-init development by creating an account on GitHub.
12:18 AM
it's the init program
Avatar
PassiveAggressor 2/13/2024 12:19 AM
Hmm I don't rmemeber what c syntax is like. Void is one the 6 types of variables right? Main is the main function
12:19 AM
Int main void
Avatar
probably
12:20 AM
i learned it myself so sometimes i can say wrong things
Avatar
PassiveAggressor 2/13/2024 12:20 AM
Hmm wait back to everydayanchovies thing, szybet said it needs rust and cargo, but it seems that rust and cargo are built into the vnc compiled file
12:21 AM
When you guys say it doesn't work, do you mean it doesn't work at all?
12:21 AM
That nobody else apart from the creator got it working
Avatar
Avatar
Marzagheddon
Only the latest 8 books
btw
4:45 AM
you can search the whole gutenberg catalog and download books from it (edited)
4:45 AM
click on the search button in the home screen
4:46 AM
and select "Online library" in the options chooser
4:46 AM
you're welcome (edited)
CACTIFIGMONSTER joined the server. 2/13/2024 12:45 PM
Avatar
Avatar
CACTIFIGMONSTER
Click to see original message
Avatar
Avatar
CACTIFIGMONSTER
Click to see original message
Sticker
Avatar
CACTIFIGMONSTER 2/13/2024 3:46 PM
Hellooo, I wanted to thank you for making this project a reality! It's really cool to see something so polished for the e-reader (I found for 50c in a thriftstore, as they thought it was a picture frame)
Avatar
lol lucky you
3:49 PM
it's not polished
3:49 PM
it's usable
3:51 PM
Hello
3:51 PM
wrong order ;p
3:52 PM
You are an artist, hmmm - We are looking for a logo for this project. If you are interested, check out #future
Avatar
PassiveAggressor 2/13/2024 9:24 PM
Was the WiFi issue fixed?
9:24 PM
Do i have to manually edit wpa supplicant
9:31 PM
Also the vnc viewer crashes after a few seconds of use, is that normal
9:32 PM
Also is the kobo firmware Og gui open source?
Avatar
PassiveAggressor 2/13/2024 9:51 PM
9:52 PM
User friendly experience should have an asterisk for now 😜
Avatar
Avatar
PassiveAggressor
Was the WiFi issue fixed?
Yes, what device?
Avatar
Avatar
PassiveAggressor
Do i have to manually edit wpa supplicant
Propably not???
Avatar
Avatar
PassiveAggressor
Also the vnc viewer crashes after a few seconds of use, is that normal
What error? Anything?
Avatar
Avatar
PassiveAggressor
Also is the kobo firmware Og gui open source?
No... There is a reason we are here
Avatar
PassiveAggressor 2/13/2024 9:57 PM
So how did nickel menu get added to the original firmware?
Avatar
Avatar
PassiveAggressor
User friendly experience should have an asterisk for now 😜
I agree
Avatar
Avatar
PassiveAggressor
So how did nickel menu get added to the original firmware?
WIZARDS AND ASSEMBLY REVERSE ENGINEERING, THIS IS SOME REALLY SCARY THINGS🥴
Avatar
Avatar
Szybet
Yes, what device?
PassiveAggressor 2/13/2024 9:57 PM
Nia, when I use the connect_to_network shell script, it says wpa supplicant something but when I check etc/wpa_supp it is empty, and I did make sure to make rootfs read write
Avatar
Etc wpa supp doesnt matter
9:58 PM
Which nia
9:58 PM
What wifi problems do you exactly have
Avatar
Avatar
Szybet
What error? Anything?
PassiveAggressor 2/13/2024 9:58 PM
I can't tell, the vnc viewer seems to be problematic because you can get stuck on a black screen forever, and j I have no power button. How do I see if there is an error? Do I boot into diagnostics.
9:59 PM
So after I reboot I gave to manually connect to WiFi agaib
9:59 PM
Using iterm
9:59 PM
Remember my WiFi names are too long so I can't connect using the buttons
Avatar
Ssh from your pc into the ereader
9:59 PM
Which nia
9:59 PM
A or c?
Avatar
PassiveAggressor 2/13/2024 9:59 PM
Model a
Avatar
Xorg is experimental, keep that in mind
Avatar
Avatar
Szybet
Ssh from your pc into the ereader
And run watch date, if it freezes then its a wifi issue
10:00 PM
If not, its a xorg issue
Avatar
PassiveAggressor 2/13/2024 10:00 PM
Is xorg the vnc?
Avatar
Vnc uses xorg, yes
Avatar
PassiveAggressor 2/13/2024 10:01 PM
So I will:connect to WiFi using script, then ssh into PC xrun watch date then wait?
Avatar
Then launch vnc
Avatar
PassiveAggressor 2/13/2024 10:04 PM
Wait hold on the vnc is a separate issue
10:04 PM
It crashes after I move the mouse and click it seems
10:04 PM
Either that or jt just crashes after a few seconds
Avatar
What does crash mean
10:05 PM
Black screen?
Avatar
PassiveAggressor 2/13/2024 10:06 PM
No frozen forever, must reboot L L
Avatar
Check if its the wifi issue, do what i said
Avatar
PassiveAggressor 2/13/2024 10:09 PM
Also the browser keyboard likes to flash
10:09 PM
Whereas other guickeyboard dont
10:13 PM
Failed to get dhcp lease how do I quit
10:13 PM
Control c won't stop the script
Avatar
PassiveAggressor 2/13/2024 10:21 PM
Watch date
10:21 PM
Keeps refresh gin
10:22 PM
Tue Feb 13 21 21 48 UTC 2024, wrong time
10:24 PM
Sigh how do I exit out of vnc server from the kobo
Avatar
Avatar
PassiveAggressor
Control c won't stop the script
many ctrl c
Avatar
Avatar
PassiveAggressor
Sigh how do I exit out of vnc server from the kobo
idk
Avatar
PassiveAggressor 2/13/2024 10:26 PM
Rn I'm stuck on a black screen with no way to end vnc
10:28 PM
Okay I reboot from ssh
10:28 PM
Time to start again
10:28 PM
Error code 6
Avatar
okay lets conclude this vnc sucks
10:37 PM
do you need touch with your vnc?
Avatar
PassiveAggressor 2/13/2024 10:38 PM
No
10:38 PM
Also I'm now stuck
10:38 PM
Please enter the password for the
10:39 PM
And I can't type anything,
10:39 PM
So what about the WiFi not remembering itself issue?
Avatar
Avatar
PassiveAggressor
So what about the WiFi not remembering itself issue?
what do you mean
Avatar
Avatar
PassiveAggressor
No
okay then, let's go with my vnc
Avatar
PassiveAggressor 2/13/2024 10:40 PM
Every reboot I must log in to WiFi again
Avatar
thats normal
10:42 PM
its an ereader, wifi takes battery
10:43 PM
you can create an openrc service to log you in
10:43 PM
btw you can use usbnet? no need for wifi
10:43 PM
for my vnc you need linux, i think its time to install it bare metal?
Avatar
PassiveAggressor 2/13/2024 10:46 PM
Sigh I used to have Ubuntu installed but I got rid of it cuz I never used it
10:46 PM
Btw
10:46 PM
Does fbink do partial refresh?
Avatar
yes it can
Avatar
Avatar
PassiveAggressor
Sigh I used to have Ubuntu installed but I got rid of it cuz I never used it
welp what can i say, maybe wsl?
Avatar
PassiveAggressor 2/13/2024 10:47 PM
Did nijule reverse engineer or was that part of the open source
Avatar
windows subsystem for linux
10:47 PM
reverse engineered and just looked at the driver code that was available
10:48 PM
pray to the wizards for the tools they enable us to use
Avatar
PassiveAggressor 2/13/2024 10:49 PM
Okay wdym Windows subsystem for linux
10:49 PM
Download it okay got it
Avatar
Windows Subsystem for Linux (WSL) is a feature of Windows that allows developers to run a Linux environment without the need for a separate virtual machine or dual booting. There are two versions of WSL: WSL 1 and WSL 2. WSL 1 was first released on August 2, 2016, and acts as a compatibility layer for running Linux binary executables (in ELF for...
10:50 PM
maybe it could run my app
Avatar
PassiveAggressor 2/13/2024 10:50 PM
I'll etch a boot able sd card
Avatar
PassiveAggressor 2/13/2024 10:51 PM
Could you write the instructions in the meantime
Avatar
for what do you need a sd card
Avatar
PassiveAggressor 2/13/2024 10:51 PM
I'll get a boot able Linux
10:51 PM
I don't have a usb
10:51 PM
So I must use an sd card
Avatar
to do what?
10:52 PM
10:52 PM
host:
10:53 PM
Avatar
PassiveAggressor 2/13/2024 10:54 PM
Compile qt and then put under apps folder?
10:54 PM
completly nope
Avatar
Avatar
Szybet
to do what?
.
Avatar
PassiveAggressor 2/13/2024 10:54 PM
To install the vnc app
10:54 PM
Or is it not a vnc app
10:55 PM
Can you write an overview of what to do bc it'll take a while to install Linux
10:55 PM
Actually ill just use a Linux vm
Avatar
then you will mirror the linux vm
10:56 PM
its not vnc, its bare
Avatar
PassiveAggressor 2/13/2024 10:57 PM
Wdym, it's not the vnc protocol just a bare mirror
Avatar
bare mirror but made in a stupid way, its a demo for something greater later
10:58 PM
you need the scrot screenshot tool and convert command from image magick in your liunx vm
Avatar
PassiveAggressor 2/13/2024 10:58 PM
Hey!
10:58 PM
Wait Ive already used scrot
10:58 PM
Tux Linux wrote one using gnome screen shot
10:58 PM
And I changed it to scrot
Avatar
¯\_(ツ)_/¯
Avatar
PassiveAggressor 2/13/2024 10:58 PM
Is it that one?
Avatar
nope, its fully mine
10:59 PM
its just so stupid it takes ss
Avatar
PassiveAggressor 2/13/2024 10:59 PM
So it takes SS, then fbink ss
Avatar
like i said, demo
10:59 PM
its more complicated than that
10:59 PM
but yes
Avatar
PassiveAggressor 2/13/2024 10:59 PM
Framebuffer
11:02 PM
still complicated than that
11:02 PM
learn to code then i will start explaining
11:03 PM
11:03 PM
you need to connect through usbnet
Avatar
PassiveAggressor 2/13/2024 11:03 PM
I mean I know some python
Avatar
your vm
11:04 PM
learn rust and c++
11:04 PM
after you learn a second language it will be just a tool you will use
11:04 PM
language is not important, it's just a tool
Avatar
PassiveAggressor 2/13/2024 11:04 PM
Er what do I do with the qt file
11:04 PM
Yea ur right
11:04 PM
I only know the language, not how to use it
Avatar
here is the problem
11:06 PM
well anyway
11:06 PM
open 2 terminals
11:06 PM
ssh into the kobo from them
11:06 PM
in one run chroot /kobo
11:06 PM
also first copy the qt file into /kobo/
11:07 PM
then
11:07 PM
then
Avatar
PassiveAggressor 2/13/2024 11:08 PM
Apps folder or nk
11:08 PM
scp
11:08 PM
via ssh the file
11:08 PM
directly to /kobo folder
Avatar
PassiveAggressor 2/13/2024 11:09 PM
Ah there's no kobo folder anyway I see
Avatar
ssh into the device
11:10 PM
SSH
11:10 PM
get a shell
11:10 PM
there is a kobo folder
11:11 PM
env LD_LIBRARY_PATH=/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib QT_QPA_PLATFORM=kobo ./thisappqt
11:11 PM
thats how you launch the qt app
11:11 PM
before it kill inkbox with killall inkbox inkbox-bin
Avatar
Avatar
Szybet
thats how you launch the qt app
after executing chroot
11:12 PM
then in the second terminal execute the kobo backend, you need in it adjust arguments about ip address to your pc
11:12 PM
it should work
11:12 PM
you propably need to rotate the screen via echo 1 > /sys/class/graphics/fb0/rotate something like that, maybe its 0 2 3 not 1, you need to try a few times
11:13 PM
thats it
Avatar
PassiveAggressor 2/13/2024 11:14 PM
Ah kill all inkbox that's how I could have ended the vnc
11:14 PM
Wait no
11:14 PM
Vnc was a qt
11:15 PM
nope
11:15 PM
nope
11:15 PM
you could look up htop what vnc process is and kill it there
Avatar
PassiveAggressor 2/13/2024 11:15 PM
I tried ps
11:15 PM
And kill
11:15 PM
Didn't work still stuck on blank screen
11:16 PM
Does usb net need setting u peach time?
Avatar
PassiveAggressor 2/13/2024 11:24 PM
Sigh me vm is crashing
Avatar
Avatar
PassiveAggressor
Does usb net need setting u peach time?
this sentence doesnt make sense
Avatar
Avatar
PassiveAggressor
Didn't work still stuck on blank screen
use htop and look for xorg processes
Avatar
PassiveAggressor 2/13/2024 11:29 PM
The answer is yes
11:29 PM
I must set it up each time
11:30 PM
Oh x org I was looking for vnc
Avatar
ignore the time, doesnt matter
Avatar
PassiveAggressor 2/13/2024 11:40 PM
Do i put inside the kobo file or the kobo/kobo file
Avatar
/kobo/qtfile
Avatar
PassiveAggressor 2/13/2024 11:46 PM
Do i make a new folder?
11:46 PM
There's no folder called that
Avatar
I just... cant
11:47 PM
after you log in via ssh, you are in /root
11:47 PM
the kobo folder is in /kobo
Avatar
PassiveAggressor 2/13/2024 11:48 PM
There's no folder called qt file I mean
Avatar
Avatar
Szybet
Qt:
this is the qt file
11:50 PM
read once more what i wrote you
11:50 PM
apart from that, goodnight
Avatar
PassiveAggressor 2/13/2024 11:51 PM
Ah okay got it thank you sir
Avatar
PassiveAggressor 2/14/2024 12:11 AM
Okay where is the 3rd kobo back end file supposed to go? In the Linux machine or the kobo?
12:12 AM
I'll try again tmr
Avatar
Avatar
Szybet
then in the second terminal execute the kobo backend, you need in it adjust arguments about ip address to your pc
.
Avatar
Help us port Kobo Libra 2 to InkBox by bothering kobo on twitter: https://x.com/wuarju/status/1757847825361121383?s=20
@kobo I have tried getting this resolved with support for a month now. When will the linux kernel sources be released for the various revisions of the Kobo Libra 2. This is a violation of the GNU General Public License.
Avatar
PassiveAggressor 2/14/2024 8:40 PM
I w just realised tux Linux original one is 2 fps cap
8:40 PM
No wonder
8:42 PM
I read ur one, what your doing is pre processing and then sending screenshot
8:50 PM
and showing it using qt
8:50 PM
its really dumb, could be improved
Avatar
PassiveAggressor 2/14/2024 8:51 PM
Does bigger screen need bigger processor?
8:51 PM
in my example the bottleneck was taking the screenshot and converting it
Avatar
PassiveAggressor 2/14/2024 8:52 PM
No I mean for general use
8:52 PM
Elisa has 2ghz quad core
Avatar
no, not really
Avatar
PassiveAggressor 2/14/2024 8:52 PM
Nia has single core 1ghz
Avatar
elisa is just newer
8:52 PM
nia is just budget device
Avatar
PassiveAggressor 2/14/2024 8:53 PM
I c
Avatar
PassiveAggressor 2/14/2024 9:46 PM
@tux-linux y did u for your kndv, limit fps to 2?
9:47 PM
Also does fbink determine which waveform is best when printing?
Avatar
PassiveAggressor 2/14/2024 9:49 PM
Like what does auto mean
Avatar
look up the code
Angus joined the server. 2/15/2024 12:48 AM
Avatar
Avatar
Angus
Click to see original message
Avatar
PassiveAggressor 2/15/2024 8:23 PM
@Szybet can you write up detailed step by step instructions for the kobo screen mirror, also how do I force fbink to do partial update of image? Fbink - - help doesn't say much
8:23 PM
But in the code there is partial update I see it
8:24 PM
And I notice what you're doing scrot, and dither
8:25 PM
I wonder if find diff between two images and sending only the diff would help
Avatar
Avatar
PassiveAggressor
@Szybet can you write up detailed step by step instructions for the kobo screen mirror, also how do I force fbink to do partial update of image? Fbink - - help doesn't say much
i have written it already
8:25 PM
you can summurise it and i will repair what you have written wrong
Avatar
Avatar
PassiveAggressor
I wonder if find diff between two images and sending only the diff would help
nope
Avatar
Avatar
PassiveAggressor
@Szybet can you write up detailed step by step instructions for the kobo screen mirror, also how do I force fbink to do partial update of image? Fbink - - help doesn't say much
--norefresh
8:27 PM
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - NiLuJe/FBInk
Avatar
PassiveAggressor 2/15/2024 8:28 PM
Also how come in your code I don't see any FBink commands?
Avatar
I use qt which uses qt platform plugin
8:29 PM
in platform plugin is fbink used
8:29 PM
and you shouldnt want to look there
8:29 PM
you wont understand anything and there is no reason to look there
8:29 PM
scary place
Avatar
PassiveAggressor 2/15/2024 8:29 PM
Weren't you encouraging me to learn?
Avatar
learn in order
Avatar
I tried at the beginning to modify qtpa and i couldn't, after i have written sanki I could do something learn in order
Avatar
PassiveAggressor 2/15/2024 8:31 PM
Okay so I SCP kobo screen mirror reverse, which is now named qt frontend into the /kobo/kobo file
8:32 PM
And then run the chroot command in the kobo ssh shell
Avatar
you renamed the wrong file probably
Avatar
Avatar
Szybet
Qt:
this is qt, oh actually its fine
Avatar
PassiveAggressor 2/15/2024 8:33 PM
No I renamed it so it would be easier to remember which one is which the front end is 37kb
👍 1
Avatar
PassiveAggressor 2/15/2024 8:33 PM
Run chroot in /kobo/kobo file
8:33 PM
Connect usbnet
Avatar
PassiveAggressor 2/15/2024 8:34 PM
Execute back end in the chroot Ed folder /kobo (edited)
8:34 PM
you propably need to rotate the screen via echo 1 > /sys/class/graphics/fb0/rotate something like that, maybe its 0 2 3 not 1, you need to try a few times
8:34 PM
before it kill inkbox with killall inkbox inkbox-bin
8:34 PM
Then env LD_LIBRARY_PATH=/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib QT_QPA_PLATFORM=kobo ./thisappqt May need to change file permissions to execute. (edited)
8:35 PM
At which point I start the host file using? Nothing it's a binary just run it
Avatar
chroot /kobo
Avatar
PassiveAggressor 2/15/2024 8:35 PM
Yknow I was gonna pay you 10usd to get you to write an idiot proof instruction set but when I checked PayPal it was only tux liinux
Avatar
Avatar
Szybet
chroot /kobo
this is the command
Avatar
Avatar
PassiveAggressor
Yknow I was gonna pay you 10usd to get you to write an idiot proof instruction set but when I checked PayPal it was only tux liinux
you could just ask me for it
Avatar
PassiveAggressor 2/15/2024 8:36 PM
I see the qt platform fbink now
Avatar
well maybe later you can donate, not resolve this issue
Avatar
Avatar
Szybet
chroot /kobo
this command is correct
Avatar
PassiveAggressor 2/15/2024 8:37 PM
So it's not chroot /kobo/kobo but chroot /kobo
Avatar
Avatar
PassiveAggressor
And then run the chroot command in the kobo ssh shell
its not an ssh shell, you entered a different env
Avatar
PassiveAggressor 2/15/2024 8:37 PM
Okay what's ur paypal
Avatar
Avatar
PassiveAggressor
So it's not chroot /kobo/kobo but chroot /kobo
yes
8:38 PM
accept pm
Avatar
Avatar
PassiveAggressor
Yknow I was gonna pay you 10usd to get you to write an idiot proof instruction set but when I checked PayPal it was only tux liinux
you can send it to me and it will go to inkbox fund
8:52 PM
we have a fund to port new devices and stuff
Avatar
PassiveAggressor 2/15/2024 8:52 PM
There's an 8 dollar fee for friends and family??
8:52 PM
?
8:52 PM
what
Avatar
PassiveAggressor 2/15/2024 8:52 PM
There si for me to send via friends and family, damn yea I m gonna send via non freidbs and family
Avatar
you dont have to if you dont want to
Avatar
Avatar
tux-linux
you can send it to me and it will go to inkbox fund
yea whatever really, but he if he wants he can
8:53 PM
¯\_(ツ)_/¯
Avatar
Avatar
PassiveAggressor
There's an 8 dollar fee for friends and family??
make sure you send it in your currency and not in mine
Avatar
PassiveAggressor 2/15/2024 8:53 PM
I also can't send usd I live in nz I didn't know that. Well I was going to do so as a carrot to get help, but I was getting help anyway so carrot be done
Avatar
you dont need to send usd
8:54 PM
send your currency
Avatar
at your will we always try to help when we can
Avatar
whatever, your decission
Avatar
with or without money
8:54 PM
obviously
8:54 PM
otherwise this project wouldnt exist
Avatar
I could maybe find some time in weekend to add / change things in the mirror project if you wanted as a feature request for that donation
Avatar
PassiveAggressor 2/15/2024 8:55 PM
No what I want is for the project to be noob friendly
Avatar
we understand
Avatar
hmm, the thing you are trying to do is in demo soo... yea
Avatar
PassiveAggressor 2/15/2024 8:55 PM
A tech less person is unlikely to venture down this far
8:56 PM
I mean for InkBox as well
8:56 PM
But still, Foss spread wide and far need be noob friebdly
Avatar
Avatar
PassiveAggressor
No what I want is for the project to be noob friendly
you making docs is making it noob friendly, so thats cool
Avatar
but what do you want to do exactly
8:56 PM
is it the vnc thing
Avatar
Avatar
Szybet
you making docs is making it noob friendly, so thats cool
yes
Avatar
PassiveAggressor 2/15/2024 8:59 PM
Also consider that my thanks for all the help I've recieved so far
Avatar
paypall arrived, yea thank you too
8:59 PM
lets make the screen mirror work now ;p
Avatar
PassiveAggressor 2/15/2024 8:59 PM
Since it would save me from buying a 600nzd e ink monitor
Avatar
maybe you will still want to buy it
8:59 PM
ereader refresh rate is not the same as an eink display
Avatar
Avatar
tux-linux
maybe you will still want to buy it
waste of money
Avatar
Avatar
tux-linux
ereader refresh rate is not the same as an eink display
not really
9:00 PM
just eink technology
9:00 PM
progress in time
9:00 PM
this is kinda fast
9:00 PM
and its a $800 eink tablet
9:00 PM
but still
Avatar
yes it's newer
Avatar
Avatar
tux-linux
and its a $800 eink tablet
800 for a tablet or 600 for a screen
9:01 PM
thats my point
9:01 PM
whatever really
Avatar
PassiveAggressor 2/15/2024 9:07 PM
The vnc that shipped with inkbox was blazing fast
9:07 PM
For my speeds
Avatar
the point of eink makes it not needed speeds
Avatar
PassiveAggressor 2/15/2024 9:08 PM
I mean just to see the cursor moving around was enough, that's usable
9:09 PM
Also I'd rather buy an e ink monitor than a tablet, seems more useful that way
Avatar
a tablet can be a monitor anyway, but is still a tablet
Avatar
Avatar
PassiveAggressor
The vnc that shipped with inkbox was blazing fast
hm ok
9:11 PM
i think we might have different definitions of fast
9:11 PM
but good if it suits you
Avatar
Avatar
PassiveAggressor
I mean just to see the cursor moving around was enough, that's usable
did you know its touch as well
9:11 PM
i think
9:11 PM
im impressed you managed to connect
9:11 PM
i didnt even know if this thing was still working
Avatar
it crashed 2 seconds after
Avatar
not for me
9:12 PM
oh for him
9:12 PM
well, idk
9:12 PM
i used it on a touch n905b
9:12 PM
mainly
Avatar
PassiveAggressor 2/15/2024 9:13 PM
Er wait about the fbink option b - - no refresh only update frame buffer don't e ink
9:13 PM
Refresh e ink
Avatar
PassiveAggressor 2/15/2024 9:14 PM
Is that how you do fast partial updates? For me I thought I meant no refresh at all
Avatar
i dont remember what that one does
Avatar
what are you doing with fbink?
Avatar
partial updates is only refreshing an area of the screen
Avatar
PassiveAggressor 2/15/2024 9:14 PM
It notes it's useful when batch drawing whatever that means
9:14 PM
I was tinkering with tux Linux es original 'vnc' viewer
9:14 PM
Scp and http
Avatar
nah, use mine
Avatar
PassiveAggressor 2/15/2024 9:15 PM
I realised you capped fps at 2
Avatar
its better
Avatar
PassiveAggressor 2/15/2024 9:15 PM
It probably is but the code there in tuxs I can understand
9:15 PM
So I was just tryna play
Avatar
not worth it
Avatar
PassiveAggressor 2/15/2024 9:31 PM
Learn*
Avatar
PassiveAggressor 2/15/2024 11:14 PM
11:14 PM
What causes fbink to error?
11:14 PM
Is it because file has not been written yet?
11:14 PM
Or updating too fast and can't decode
Avatar
Avatar
PassiveAggressor
Is it because file has not been written yet?
Probably
11:20 PM
Or both
Avatar
PassiveAggressor 2/15/2024 11:30 PM
Hmm
11:30 PM
Where is the 3rd kobo backend file supposed to go? Anywhere I'm guessing
Avatar
Avatar
PassiveAggressor
Then env LD_LIBRARY_PATH=/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib QT_QPA_PLATFORM=kobo ./thisappqt May need to change file permissions to execute. (edited)
PassiveAggressor 2/15/2024 11:31 PM
This command, kobo screen mirror reverse permission denied
11:38 PM
Okay I got past that hurdle
11:38 PM
Chmod u+x
11:38 PM
11:39 PM
Oh hello there
11:39 PM
11:43 PM
At the end of the day I put both the qt file and kobo backend in the same kobo folder
11:43 PM
Which is kobo/kobo
11:43 PM
Couldn't scp it into the original one
Avatar
PassiveAggressor 2/15/2024 11:55 PM
I'm again unsure which kobo file is supposed to be chrooted
11:55 PM
Becahse chroot /kobo chroot the kobo/kobo dir
Avatar
PassiveAggressor 2/16/2024 12:05 AM
Okay extra instructions I didn't know was on the host machine you do ./file to execute it
12:10 AM
Okay to execute the kobo backend you also do. /
12:12 AM
I think I did it
12:12 AM
12:14 AM
Avatar
I will make a guide...
Avatar
Or just finish the app
2:06 PM
Because fuck school
Avatar
or continue toreader
Avatar
Something for 3 hours of work
2:07 PM
Not 2 weeks
Avatar
ok np
2:08 PM
maybe implement a better telemetry server
2:08 PM
Contribute to Kobo-InkBox/telemetry development by creating an account on GitHub.
2:08 PM
since you dont like node
2:09 PM
the latest dev build of inkbox can send data
2:09 PM
you just need to set a working url
Avatar
is that just http post json?
Avatar
pretty much
Avatar
I will rewrite it in rust
2:46 PM
before the next release
2:46 PM
np
2:46 PM
just ensure it still works with inkbox code
12:48 AM
rust lies under the hood.
12:49 AM
😠
Avatar
what is this
Avatar
PassiveAggressor 2/17/2024 12:58 AM
I had an idea, nickel menu add item, ssh pass into PC, start python server. Run bash loop, sshpass scrot file I.png, curl ip/'$i'.png, fbink i.png
12:59 AM
Solves the problem of the fbink failing bc of overwriting file, I think
1:00 AM
And Le process is started from the kobo rather than the pc
Avatar
Avatar
tux-linux
what is this
rust ss library
1:08 AM
it just calls gnome ss which is 2s slow
yudilee joined the server. 2/17/2024 3:08 AM
Avatar
Avatar
yudilee
Click to see original message
3:19 AM
is kobo libra is supported by Inkbox
3:19 AM
i see in video Inkbox running on kobo libra but cannot found guide to install it
Avatar
Avatar
yudilee
Click to see original message
mintpilo joined the server. 2/17/2024 3:57 AM
Avatar
Avatar
yudilee
is kobo libra is supported by Inkbox
Yes, but it's very hacky to install
Enrico joined the server. 2/17/2024 9:28 AM
Avatar
Avatar
Enrico
Click to see original message
Avatar
How active is this project still?
5:12 PM
I've been keeping a eye on it vaguely ever since I saw a mobileread thread for it
Avatar
We are two students
5:14 PM
So it's as active as we can make it
Avatar
With some loose contributions from others it seems? Or at least idk, it seems you guys have a healthy habit of urging people to contribute if they can from what I've seen
Avatar
Yes
5:16 PM
But we are mainly only two
5:16 PM
Most people give up on the way
Avatar
Which I guess sometimes is a helpful reminder, easy to forget for projects you use everyday, that you can always contribute if you can
👍 1
5:17 PM
I would if I had the hardware to spare
Avatar
Sometimes after 2 minutes or 2 months
Avatar
The kobo I use regularly isn't mine, and idk if I would want to tinker with a device that I want to like actually use
5:20 PM
If I were to consider my own, probably a clara 2e, though there isn't a port yet, but I've seen in a few places, here and the github that it was suggested that it's not too different from the nia model a? Might be an easy port?
Avatar
might
Avatar
Well yeah, that's the keyword (edited)
5:22 PM
I don't know much anyway, I know my way around Linux and I know how to compile a kernel
5:24 PM
Also as I understand the later kobo models have a soldered on micro sd, right?
5:25 PM
How does flashing that work, if necessary
5:29 PM
At least, the libra h20 does, the current model I use, but it isn't mine, though the person who is sharing it with me, my partner, also shares my curiosity, but I'd feel wrong poking around with this model particularly... and with the soldered storage, that might be a bit riskier
Avatar
It depends on the kobo
5:33 PM
Libra 2 has a microsd
5:33 PM
The install process for emmc models is somewhat complicated and dangerous
Avatar
I can imagine
Avatar
Avatar
mintpilo
If I were to consider my own, probably a clara 2e, though there isn't a port yet, but I've seen in a few places, here and the github that it was suggested that it's not too different from the nia model a? Might be an easy port?
yes
5:45 PM
for 90%
Constoush joined the server. 2/17/2024 8:18 PM
Avatar
Hello ! I would like some infos on kobox as the link to download the nickel compatible version is down, I downloaded the other version. Does it not support nickel ? Can I build it myself to include nickel support ? Thanks !
8:20 PM
I wanted to use Koreader on it
Avatar
hi, sorry, inkbox doesnt support nickel since mid-2021 because it kind of outgrew the initial concepts i made it for so it's a full operating system now
8:26 PM
you can install koreader on it
8:26 PM
closed-source nickel support is not really the point of an open-source os
Avatar
Oh nice then, just flashed my SD card, how would I install ko reader
8:27 PM
Oh, didn't know about that, makes a lot of sense
👍 1
Avatar
what device do you have
Avatar
The aura edition 2 v1
8:32 PM
Can't seem to get WiFi to work too, even if checked in the menu, nothing happens nevermind a reboot fixed it (edited)
10:49 PM
This won't be faster
Avatar
This is impressive
Avatar
it doesn't skip any scene in the fastest sequence
10:51 PM
the colors could be better as for not so much "agitation" localised ghosting but I can't find an option to control it (edited)
Avatar
My god
10:51 PM
Poor eink
10:51 PM
But good job
10:51 PM
Please make this an userapp
Avatar
Avatar
tux-linux
Poor eink
Avatar
Avatar
tux-linux
Please make this an userapp
in a few months
Avatar
hm ok
Avatar
do you want to upload it to yt
Avatar
do you want i post it on yt
10:53 PM
lmao
10:54 PM
I can eassly watch films on it
10:54 PM
even read the subtitles
Avatar
same gh link?
10:54 PM
if i rename it gh will handle the old links
Avatar
Contribute to Szybet/kobo-screen-mirror-reverse development by creating an account on GitHub.
10:55 PM
you didnt push changes
10:57 PM
yes
Avatar
your video is too short
10:59 PM
it has uploaded as a yt short
10:59 PM
not sure you want that
Avatar
the fuck
10:59 PM
-_-
Avatar
i will remove it
Avatar
stupid ut
10:59 PM
yt
10:59 PM
how long does it need to be
Avatar
more than 1m i think
10:59 PM
1 minute
11:00 PM
maybe you could send more high res too
11:00 PM
since the one i have is pretty horrible
Avatar
sharpness kicked in at the end of the video
11:00 PM
let me do a better demo then
11:04 PM
sended it on matrix because discord and size limitations
11:04 PM
if its still bad tell me, i will disable compression then
11:06 PM
i cant download it now
Avatar
¯\_(ツ)_/¯
11:11 PM
11:11 PM
Avatar
i downloaded the video
Avatar
cool, I wait
11:12 PM
I want to update the readme too
11:12 PM
@PassiveAggressor I updated the project, It's now a fast boi, look at the videos
11:13 PM
a "not so fast but grey and text friendly" in the future tho
Avatar
great tittle
Avatar
maybe you should post it on reddit
11:19 PM
and drag people to inkbox project
11:19 PM
idk
11:20 PM
as for subreddit
11:20 PM
some engineering subreddit
Avatar
or linux subreddit
Avatar
well you post it
11:21 PM
I propose /eink
11:21 PM
maybe /kobo if you want to anger the mods even more
11:21 PM
and maybe /linux
Avatar
you did it
11:22 PM
so
Avatar
I did nothing wrong
11:22 PM
also my reddit profile is flooded with inkbox lately
11:22 PM
so you post it
Avatar
no i mean you did the project
Avatar
Whatever
11:23 PM
I did it because I needed a break from polish class at school
11:23 PM
not to post it on reddit
11:23 PM
your idea so you do it :D
Avatar
I uploaded bad apple on matrix
Avatar
what\
Avatar
if you upload that with smth like "bad apple on a kobo nia ereader" it might you get some views
Avatar
i think that killing your eink screen is great
Avatar
Avatar
tux-linux
what\
a meme thing
11:47 PM
idk your decission
11:47 PM
but like playing bad apple was a must
Avatar
Bad Apple is a must
😄 1
Avatar
Avatar
Szybet
@PassiveAggressor I updated the project, It's now a fast boi, look at the videos
PassiveAggressor 2/18/2024 8:51 PM
how many fps is that?
Avatar
hard to tell
9:18 PM
many
Avatar
fine then, I will post it on reddit then
Avatar
Avatar
tux-linux
Probably
PassiveAggressor 2/18/2024 11:01 PM
Turns out fbink failed to decode was because the file didn't exist, not because it was too fast
Avatar
PassiveAggressor 2/18/2024 11:10 PM
What's the secret sauce for high fps? Is it dithering on host, compression and usbnet working?
Avatar
All of them
11:19 PM
And with all of these you said, you will achieve something worse than my previous demo
11:19 PM
Because high speed communication and performance
11:20 PM
Im not creating any files, not calling any binaries but using libraries
11:22 PM
You, with calling fbink every time, or downloading the image every time is like smashing something with a hammer but every time you hit you go back to your garage and place the hammer on the shelf, return and pick it up again, then hit again With the previous demo I was not closing the connection, now it's not calling any binaries, just using libraries so I'm hitting with the hammer faster because i dont return it every time
11:23 PM
I hope this explains it ;p
11:24 PM
Do you want still to try out mine? I can still write a guide But for now it's only good for video, not for text because dithering is not consistent
dferrg joined the server. 2/18/2024 11:24 PM
Avatar
Avatar
dferrg
Click to see original message
11:25 PM
Welcome dferrg
Avatar
Hi! I can't get my Aura edition 2 v2 to boot, is this version supported or only v1?
Avatar
PassiveAggressor 2/18/2024 11:39 PM
Yes, I'd still like to try it. No rush though, okay libraries eh ill look into what that means
11:41 PM
It is still slower than the vnc that came with inkbox though I think. The inkbox vnc mouse movements are really smooth comparatively
Avatar
Avatar
dferrg
Hi! I can't get my Aura edition 2 v2 to boot, is this version supported or only v1?
Probably not supported. You can try to boot the stock os if he device still works Apart from that, wait for tux lonux to answer you
11:41 PM
Go to #quill too
Avatar
PassiveAggressor 2/18/2024 11:43 PM
Are libraries faster than binaries because they are...? Loaded? They stay loaded? Is that what you mean
Avatar
Avatar
PassiveAggressor
It is still slower than the vnc that came with inkbox though I think. The inkbox vnc mouse movements are really smooth comparatively
Well yes, there are still a few things i could improve but unlikely to be done by me ( learn to code! ) Also the vnc might be better at smaller updates, but mine on bigger ones, hard to tell
11:43 PM
Yes
Avatar
PassiveAggressor 2/18/2024 11:43 PM
Where do they live?
Avatar
PassiveAggressor 2/18/2024 11:44 PM
As opposed to binaries living in?
Avatar
Avatar
Szybet
Well yes, there are still a few things i could improve but unlikely to be done by me ( learn to code! ) Also the vnc might be better at smaller updates, but mine on bigger ones, hard to tell
PassiveAggressor 2/18/2024 11:45 PM
Is the learn to code referring to yourself or me?
Avatar
On the disk, libraries live in ram after a few calls the os will save the binary to ram but Calling another binary is also costly because its calling another binary, so the os creates another process, checks permissions, the binary itself calculates what to do with the arguments, then it needs to read a file from tmpfs or read data from stdin which is also slower, allocate memory for something many times instead of once many reasons for that
Avatar
Avatar
PassiveAggressor
Is the learn to code referring to yourself or me?
You😄
Avatar
PassiveAggressor 2/18/2024 11:50 PM
That's a technical answer
11:51 PM
Ah Ofc Ofc it's me
11:53 PM
I'll come back in 1 years time, and I'll still be behind you by X years, but the the passing time will have lifted all boats
Avatar
Thats more complicated than that and thats a very pesymistic answer
12:11 AM
Look at it that way: you will always have someone to ask for help
Avatar
Avatar
tux-linux
Yes, but it's very hacky to install
ok, thank you for the info
Avatar
PassiveAggressor 2/19/2024 10:35 PM
Ooh thank you I'll try that out
diaphanite joined the server. 2/20/2024 10:41 PM
Avatar
Avatar
diaphanite
Click to see original message
Avatar
Avatar
diaphanite
Click to see original message
cryocaustik joined the server. 2/21/2024 5:47 AM
Avatar
Avatar
cryocaustik
Click to see original message
Sticker
MarWit joined the server. 2/22/2024 1:59 AM
Avatar
Avatar
MarWit
Click to see original message
👋 1
nicollier#000088 joined the server. 2/22/2024 5:20 PM
Avatar
Avatar
nicollier#000088
Click to see original message
ROZEA joined the server. 2/23/2024 1:57 AM
Avatar
Avatar
ROZEA
Click to see original message
alexengineer joined the server. 2/23/2024 6:29 AM
Avatar
Avatar
alexengineer
Click to see original message
alexengineer 2/23/2024 6:29 AM
nick.tan joined the server. 2/23/2024 6:45 AM
Avatar
Avatar
nick.tan
Click to see original message
Avatar
Avatar
alexengineer
Click to see original message
7:19 AM
😄
.nomadblue joined the server. 2/23/2024 12:48 PM
Avatar
Avatar
.nomadblue
Click to see original message
Sticker
Avatar
Avatar
.nomadblue
Click to see original message
Ansraer joined the server. 2/26/2024 10:45 AM
Avatar
Avatar
Ansraer
Click to see original message
3:38 PM
its just sad to see such a simpler device being so popular and my actually usable one not at all (edited)
GiorgioRen joined the server. 2/27/2024 10:24 AM
Avatar
Avatar
GiorgioRen
Click to see original message
Sticker
Avatar
Avatar
GiorgioRen
Click to see original message
Sticker
oats<3 joined the server. 2/27/2024 3:38 PM
Avatar
Avatar
oats<3
Click to see original message
yoshi joined the server. 2/27/2024 11:03 PM
Avatar
Avatar
yoshi
Click to see original message
Sticker
11:04 PM
Hello
Ygjsz joined the server. 2/29/2024 8:25 PM
Avatar
Avatar
Ygjsz
Click to see original message
Sticker
nassimhammadou joined the server. 3/1/2024 10:56 PM
Avatar
hello
Avatar
Avatar
nassimhammadou
Click to see original message
Avatar
good morning
Avatar
nassimhammadou 3/1/2024 10:59 PM
Hey, I joined the server after your answer to my question on Mobile read today
Avatar
oh that's you
10:59 PM
yea welcome
Avatar
nassimhammadou 3/1/2024 11:02 PM
Thank you I might have a question actually if you don't mind, before I set up the development environment to try to develop something fun I thought I'd try first install the sanki app on my kobo, I downloaded the zip file from github and exctracted it to my kobo and it didn't work any idea why that would be the case? (I already have nickelMenu working fine)
11:03 PM
I got a kobo clara 2e
Avatar
didn't work as for: it doesnt appear to launch or the device burned down?
11:06 PM
precise descriptions :D...
Avatar
nassimhammadou 3/1/2024 11:06 PM
sure it seems that the kobo is just rebooting after launching the app
Avatar
this is the reason i dumped the stock os and joined inkbox to develop it
11:07 PM
because the stock os fucking hates custom apps no matter how many wizards try
11:07 PM
as for your problem: no idea, i mostly support inkbox, nickel should work but well you see
11:07 PM
some logs maybe could be gathered
11:07 PM
idk
Avatar
nassimhammadou 3/1/2024 11:08 PM
just to make sure, I need to download the sanki_nickel.zip file from here, and extract the content to my kobo device and it should work fine right? no installation or command needed
11:09 PM
you need to have koreader pack installed
11:09 PM
kfmon, nickel menu etc
11:09 PM
if it appeared in menu and after launching it reboots something is really wrong
Avatar
nassimhammadou 3/1/2024 11:09 PM
Ok I'll try and figure out the problem and see if it works
Avatar
get a shell working
Avatar
nassimhammadou 3/1/2024 11:11 PM
Thanks, I'm new to the kobo environment so I'm trying to play with it
Avatar
do you want to develop apps, share it with the community as for love for open source and penguins and be serious about it or just games for the joke™
Avatar
nassimhammadou 3/1/2024 11:15 PM
If I succeed in setting up the dev environment and get things working fine I'll make sure to share my apps x))
Avatar
what im wanting to say you have 2 pills to choose now
11:19 PM
😂 1
Szybet pinned a message to this channel. 3/1/2024 11:19 PM
Avatar
I'm serious :D
3:48 PM
haha... the still didn't fixed the sleep reasons why i switched to inkbox (edited)
Avatar
PassiveAggressor 3/2/2024 8:53 PM
Could you upload a demo of the vnc on inkbox? Also, so you have any clue how I could remove the e ink panel from the backplate? I broke my screen when opening the kobo to replace the button. Ha. Unlike other kobo, the entire surface of the display is black taped to the plate. One method I thought of:use suction to hold plat flare to surface. Then heat the back until glue very soft. This should keep the backplate bent. Otherwise thus til now I've been snapping pieces of glass off and then bending the bacj
8:54 PM
The reason I want you to upload a demo is so I can see what vnc looks like on other machines as I don't think you did vnc in your demo on yt rn
Avatar
Which vnc What? Photos please How... How... I removed the pcb on a nia without a issue Look at some kindle repairs ( hughe jeffrays done one ) its a messy process
Avatar
PassiveAggressor 3/2/2024 9:11 PM
The xorg one
9:12 PM
Yea idk Ive opened my kobo up many times no issue. I must have bent up a corner
9:12 PM
Of the display while working around
Avatar
I didnt created my solution because the xorg one was bad - it was simply not working
9:13 PM
Well thats bad
9:13 PM
I have seen replacement screens on ali
Avatar
PassiveAggressor 3/2/2024 9:13 PM
Avatar
but at this point you add 20$ and have a new nia
9:14 PM
My god
Avatar
thats more than a broken screen
9:14 PM
poor kobo
Avatar
PassiveAggressor 3/2/2024 9:14 PM
Yea I have those too. Prices of used and new are about add 50 nzd, or 30usd so repair stoll worth
9:14 PM
No no b4 I only cracked a corner
9:15 PM
The reason it looks so bad is
9:15 PM
The removal process is very unfriendly
9:16 PM
It was still usable I just hated the fact a corner was damaged and made the rest of the screen somewhat u contrasty
Avatar
Why did you dissasemble it?
Avatar
Avatar
Szybet
I didnt created my solution because the xorg one was bad - it was simply not working
PassiveAggressor 3/2/2024 9:16 PM
Was it not working for you as well?
9:16 PM
To fix the button lmao
9:16 PM
I had no power button
Avatar
Oh okay
Avatar
Avatar
PassiveAggressor
Was it not working for you as well?
Yea, xorg is messy on kobos
9:16 PM
You could try to repair it🥴
Avatar
PassiveAggressor 3/2/2024 9:17 PM
Yea if I can figure out a clean way to do so I'll make an ifixit guide, otherwise my other idea is to just make a new backplate
Avatar
Backplate?
9:17 PM
You mean the plastic?
Avatar
PassiveAggressor 3/2/2024 9:18 PM
No it's a metal backplate
Avatar
I would call it the frontplate
Avatar
PassiveAggressor 3/2/2024 9:18 PM
The thing that the battery is stuck to that one
Avatar
@tux-linux have you send the email
Avatar
PassiveAggressor 3/3/2024 1:27 AM
Yea heating it doesn't help. I'm just gonna make a new plate
1:31 AM
As I heated up the screen, the top layer disintegrated, dyu think theres any toxic stuff in e ink? After all it's just ink right...
1:31 AM
I am piping the air away though so I should be safe
1:32 AM
1:38 AM
Should have worn an n95
Avatar
Probably not anything that dangerous, but yea, better to pipe the air out
Avatar
PassiveAggressor 3/3/2024 2:00 AM
2:00 AM
Ig e ink is proprietary stuff so I'll never know what it actually is
2:01 AM
The only thing is, a fan won't do much for dust, which I think is what eink is, if looks like dust at least idk
rivensworn joined the server. 3/3/2024 8:42 PM
Avatar
Avatar
rivensworn
Click to see original message
9:00 PM
Good morning
Avatar
Afaik its magnetic dust that has different colors on each side. The screen then generates an electric field to flip the dust particles around to change the color.
Avatar
Dont inhale the cursed ink dust
9:39 AM
Or you will switch colors when you get near a fridge
Avatar
Avatar
PassiveAggressor
Ig e ink is proprietary stuff so I'll never know what it actually is
was
Avatar
Avatar
Ansraer
Afaik its magnetic dust that has different colors on each side. The screen then generates an electric field to flip the dust particles around to change the color.
no
7:22 PM
I'll turn into szybet's clone at this rate
Avatar
It's more like microcapsules
Avatar
filled with fluid and coloured , electrically charged particles of different size depending on the eink display (edited)
7:25 PM
rest is fluid mechanics
7:25 PM
you move them up and down to see either the particles or the fluid
Avatar
Avatar
Kuratius
I'll turn into szybet's clone at this rate
what do you mean by this ;p
8:25 PM
you are welcome
8:25 PM
but doing some research to explain it in a way everyone will understand and will not inhale them would be cool
Avatar
destinéternel 3/4/2024 10:34 PM
So I found a Aura 2e and a glo at the thrift store. which is the better for inkbox?
Avatar
the aura is already supported
10:35 PM
glo
10:35 PM
the glo is already supported sorry
10:35 PM
for the aura, what is the model number
10:35 PM
we only support aura n236
Avatar
destinéternel 3/4/2024 10:35 PM
n236
Avatar
well, then your choice
10:36 PM
n236 may be subject to some usb port issues
10:36 PM
like mine
Avatar
destinéternel 3/4/2024 10:36 PM
ah
Avatar
I want such thrift stores near my area too🥺
Avatar
all inkbox repos weight now 19G
Avatar
cool
8:06 PM
🥴
yokljo joined the server. 3/8/2024 11:36 AM
Avatar
Avatar
yokljo
Click to see original message
11:59 AM
Hey
Avatar
Avatar
yokljo
Click to see original message
powerful joined the server. 3/13/2024 3:06 PM
Avatar
Avatar
powerful
Click to see original message
Avatar
Avatar
powerful
Click to see original message
4:00 PM
welcome @powerful
Avatar
Avatar
powerful
Click to see original message
Kabr's deliverance joined the server. 3/13/2024 11:45 PM
Avatar
Avatar
Kabr's deliverance
Click to see original message
Kabr's deliverance 3/13/2024 11:45 PM
Avatar
Avatar
Kabr's deliverance
Click to see original message
Avatar
Avatar
Kabr's deliverance
Click to see original message
Xsf_Nrg_4fr joined the server. 3/14/2024 8:26 PM
Avatar
Hey there folks. I have just installed InkBox forthe very first time, and I am very intrigued and impressed within the first few minutes!
😄 2
Avatar
Avatar
Xsf_Nrg_4fr
Click to see original message
Avatar
Hi, very cool!
Snaketown joined the server. 3/15/2024 5:34 PM
Avatar
Avatar
Snaketown
Click to see original message
Eddie joined the server. 3/16/2024 7:49 AM
Avatar
wow you can remove reactions now on discord
6:36 PM
awesome
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:32 PM
The chat is right this time? If so, you can remove your other message on the wrong channel.  I believe that you can block the posting for non-moderators on "Annoncement".
Avatar
[matrix] Szybet BOT 3/17/2024 10:35 PM
yep it's fine
10:35 PM
yea no need for that, it's a small community
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:36 PM
I can completely understand your intuition and I'm very pleased with the thought process (which shows once again how much you love your project). No matter what the name ends up being, I would make a note that this project used to be called Inkbox and that the name was changed in the course of development. It will then probably be possible to find the project even if the name is changed.
Avatar
[matrix] Szybet BOT 3/17/2024 10:37 PM
we will put everywhere "formerly InkBox"
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:37 PM
That is great
10:43 PM
But BlinkOS is still the wrong way to go. This name somehow reminds me of an Android custom rom.  How about a name that conveys something with "paper" or "paperless" and as a logo you could maybe use something "modern" like an origami. My comments are meant more as inspiration. You have to come up with a name that you both like. Nobody lets strangers choose the name of their own child
Avatar
[matrix] Szybet BOT 3/17/2024 10:44 PM
there have been 3 months of brainstorming in a channel that is not bridged to matrix
10:44 PM
the current one that they want go for is terrifInk (edited)
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:45 PM
Oh, sounds very bad
Avatar
[matrix] Szybet BOT 3/17/2024 10:45 PM
¯\_(ツ)_/¯
10:45 PM
blink OS as for eink screens blinking
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:45 PM
Yes
Avatar
[matrix] Szybet BOT 3/17/2024 10:45 PM
makes more sense, a bit
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:46 PM
I will try to think about it. Because this -OS at the end sounds like a teenager Android Customrom (edited)
10:47 PM
And sorry for my bad english
Avatar
[matrix] Szybet BOT 3/17/2024 10:47 PM
;p let me remind you parrot os exists
Avatar
[matrix] 🐉鈴 BOT 3/17/2024 10:47 PM
XD
sunsmoke joined the server. 3/17/2024 11:17 PM
Avatar
Avatar
sunsmoke
Click to see original message
2:09 AM
Kobo nia backplate! I couldn't figure out how to remove the display; I hammered it and the screen wouldn't crack I heated it up, no use. Still no perfect yet need a just nuts and standoffs a lil (edited)
Avatar
post it on printables, thingverse is shit
Leo Chrom joined the server. 3/18/2024 10:53 PM
Avatar
Avatar
Leo Chrom
Click to see original message
! Ashes joined the server. 3/19/2024 10:31 AM
Avatar
Avatar
! Ashes
Click to see original message
Avatar
PassiveAggressor 3/19/2024 8:19 PM
Thingiverse is still where it's at
wwwonka joined the server. 3/19/2024 11:08 PM
Shaked9724 joined the server. 3/20/2024 12:17 PM
Avatar
Avatar
Shaked9724
Click to see original message
Sticker
Avatar
Avatar
Shaked9724
Click to see original message
Avatar
I should make a welcome bot
Avatar
is there any way to get the kobo nia role (edited)
Avatar
im working on it
7:25 PM
but yes
7:25 PM
which model do you have
7:25 PM
a or c?
Avatar
Well
7:25 PM
It should be a
7:26 PM
Bc I've used the a image
7:26 PM
And this is an old nia
7:28 PM
maybe we should color the different devices
7:28 PM
which color do you want for the nia
Avatar
Cool
7:32 PM
Well... My Nia has a blue cover btw
Avatar
you are blue
Avatar
could someone play with @The cat at the door commands to try some privilege escalation?
Avatar
Avatar
Leo Chrom
used /freeroles list
Welcomer BOT 3/20/2024 8:17 PM
FreeRoles
1) @Kobo Nia N306C Kobo Nia N306C - 1220076218389495839 2) @Kobo Nia N306A Kobo Nia N306A - 1220076146838995007 3) @Kobo Clara Kobo Clara - 1045710957738991706 4) @Kobo Mini N705 Kobo Mini N705 - 1022892077928960061 5) @Kobo Touch N905B Kobo Touch N905B - 1022892047318913024 6) @Kobo Touch N905C Kobo Touch N905C - 1022891995158564894 7) @Kobo Glo N613 Kobo Glo N613 - 1022891955438506144 8) @Kobo Aura 2 (SE) N236 Kobo Aura 2 (SE) N236 - 1022891915445805127 9) @Kobo Glo HD N437 Kobo Glo HD N437 - 1022891859107921960 10) @Kobo Nia N306 Kobo Nia N306 - 1022891504768913498
Avatar
Avatar
Leo Chrom
used /freeroles give
Welcomer BOT 3/20/2024 8:24 PM
check | You have been given your role
Avatar
@The cat at the door
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 8:55 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles remove
Welcomer BOT 3/20/2024 8:56 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles list
Welcomer BOT 3/20/2024 8:56 PM
FreeRoles
1) @Kobo Nia N306C Kobo Nia N306C - 1220076218389495839 2) @Kobo Nia N306A Kobo Nia N306A - 1220076146838995007 3) @Kobo Clara Kobo Clara - 1045710957738991706 4) @Kobo Mini N705 Kobo Mini N705 - 1022892077928960061 5) @Kobo Touch N905B Kobo Touch N905B - 1022892047318913024 6) @Kobo Touch N905C Kobo Touch N905C - 1022891995158564894 7) @Kobo Glo N613 Kobo Glo N613 - 1022891955438506144 8) @Kobo Aura 2 (SE) N236 Kobo Aura 2 (SE) N236 - 1022891915445805127 9) @Kobo Glo HD N437 Kobo Glo HD N437 - 1022891859107921960 10) @Kobo Nia N306 Kobo Nia N306 - 1022891504768913498
Avatar
Avatar
tux-linux
used /freeroles addrole
Welcomer BOT 3/20/2024 8:56 PM
check | pin-role has been successfully added
Avatar
Avatar
tux-linux
used /freeroles list
Welcomer BOT 3/20/2024 8:56 PM
FreeRoles
1) @Kobo Nia N306C Kobo Nia N306C - 1220076218389495839 2) @Kobo Nia N306A Kobo Nia N306A - 1220076146838995007 3) @Kobo Clara Kobo Clara - 1045710957738991706 4) @Kobo Mini N705 Kobo Mini N705 - 1022892077928960061 5) @Kobo Touch N905B Kobo Touch N905B - 1022892047318913024 6) @Kobo Touch N905C Kobo Touch N905C - 1022891995158564894 7) @Kobo Glo N613 Kobo Glo N613 - 1022891955438506144 8) @Kobo Aura 2 (SE) N236 Kobo Aura 2 (SE) N236 - 1022891915445805127 9) @Kobo Glo HD N437 Kobo Glo HD N437 - 1022891859107921960 10) @Kobo Nia N306 Kobo Nia N306 - 1022891504768913498 11) @pin-role pin-role - 950058297417936976
Avatar
Avatar
tux-linux
used /freeroles removerole
Welcomer BOT 3/20/2024 8:57 PM
check | pin-role has been successfully removed
Avatar
Avatar
tux-linux
used /freeroles addrole
Welcomer BOT 3/20/2024 8:58 PM
check | A lot of devices has been successfully added
Avatar
Avatar
tux-linux
used /freeroles addrole
Welcomer BOT 3/20/2024 8:58 PM
check | A lot of devices has been successfully added
Avatar
Avatar
tux-linux
used /freeroles list
Welcomer BOT 3/20/2024 8:58 PM
FreeRoles
1) @Kobo Nia N306C Kobo Nia N306C - 1220076218389495839 2) @Kobo Nia N306A Kobo Nia N306A - 1220076146838995007 3) @Kobo Clara Kobo Clara - 1045710957738991706 4) @Kobo Mini N705 Kobo Mini N705 - 1022892077928960061 5) @Kobo Touch N905B Kobo Touch N905B - 1022892047318913024 6) @Kobo Touch N905C Kobo Touch N905C - 1022891995158564894 7) @Kobo Glo N613 Kobo Glo N613 - 1022891955438506144 8) @Kobo Aura 2 (SE) N236 Kobo Aura 2 (SE) N236 - 1022891915445805127 9) @Kobo Glo HD N437 Kobo Glo HD N437 - 1022891859107921960 10) @Kobo Nia N306 Kobo Nia N306 - 1022891504768913498 11) @A lot of devices A lot of devices - 1220098957712166933 12) @A lot of devices A lot of devices - 1220098957712166933
Avatar
doh this is dumb
Avatar
Avatar
tux-linux
used /freeroles removerole
Welcomer BOT 3/20/2024 8:58 PM
check | A lot of devices has been successfully removed
Avatar
Avatar
tux-linux
used /freeroles list
Welcomer BOT 3/20/2024 8:58 PM
FreeRoles
1) @Kobo Nia N306C Kobo Nia N306C - 1220076218389495839 2) @Kobo Nia N306A Kobo Nia N306A - 1220076146838995007 3) @Kobo Clara Kobo Clara - 1045710957738991706 4) @Kobo Mini N705 Kobo Mini N705 - 1022892077928960061 5) @Kobo Touch N905B Kobo Touch N905B - 1022892047318913024 6) @Kobo Touch N905C Kobo Touch N905C - 1022891995158564894 7) @Kobo Glo N613 Kobo Glo N613 - 1022891955438506144 8) @Kobo Aura 2 (SE) N236 Kobo Aura 2 (SE) N236 - 1022891915445805127 9) @Kobo Glo HD N437 Kobo Glo HD N437 - 1022891859107921960 10) @Kobo Nia N306 Kobo Nia N306 - 1022891504768913498 11) @A lot of devices A lot of devices - 1220098957712166933
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 8:59 PM
check | You have been given your role
Avatar
a lot of devices doesnt make sense
8:59 PM
remove it
Avatar
well what, i cant just add one device
Avatar
add all of them
Avatar
hm ok
Avatar
and remove this tole
9:02 PM
role
Avatar
Avatar
tux-linux
used /freeroles removerole
Welcomer BOT 3/20/2024 9:02 PM
check | A lot of devices has been successfully removed
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:02 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:02 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:02 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:02 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:02 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:03 PM
check | You have been given your role
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:03 PM
check | You have been given your role
Avatar
you can do this manually with discord too
Avatar
Avatar
tux-linux
used /freeroles give
Welcomer BOT 3/20/2024 9:03 PM
check | You have been given your role
Avatar
yea
Avatar
Hello, I'm looking to get opendyslexic on my n705 running InkBox, how might I go about this?
Avatar
hi, i added it to todo list for 2.1 release
Avatar
ok, thank you 🙂
👍 1
Avatar
There’s a lot to like about E-Ink displays, and you might be about to like them even more with [antirez]’s MicroPython driver for the Badger 2040 (or any display based on the UC8151 / I…
Avatar
actually I think he's interpolating the grey levels wrong
Avatar
In my opinion he just discovered waveform modes that were undocumented by the manufacturer because it damages the display over time / was very lazy
5:34 PM
probably the 2
Avatar
Avatar
Szybet
In my opinion he just discovered waveform modes that were undocumented by the manufacturer because it damages the display over time / was very lazy
read the documentation, he generates a custom LUT/waveform
5:35 PM
I think he linearly interpolates the black/white luts xD (edited)
Avatar
Avatar
Kuratius
read the documentation, he generates a custom LUT/waveform
he recalibrates the display?
Avatar
Avatar
Szybet
he recalibrates the display?
he sends the display new LUTs to use
5:36 PM
existing drivers already need to send the LUTs but nobody had the balls to modify them
5:37 PM
because the display chip doesnt actually understand gray levels, anything with more than 4 levels is done by sending new LUTs multiple times and doing a new refresh
5:38 PM
if you want 32 gray levels you have to do like 8 refreshes
5:38 PM
he's basically using ghosting
Avatar
so it's interesting after all
Avatar
I mean it's exactly what I suggested before
5:39 PM
so I'm happy someone else did the work for me
Avatar
Maybe you could add it to te watchy
Avatar
Have you seen anything that looks like configurable LUTs on the watchy?
Avatar
i dont know what LUT is
5:46 PM
its a SPI interface
5:46 PM
so that could be the problem
Avatar
Look Up Table
Avatar
so a waveform?
5:46 PM
same thing
5:47 PM
Have you seen the waveforms being stored on the watchy?
5:47 PM
in some file or other?
5:47 PM
if yes then the driver relies on sending them, and you only need to know where to tweak voltage
5:48 PM
if not then you have to pray that the interface between CPU and display supports commands for sending LUTs
5:50 PM
idk
5:50 PM
¯\_(ツ)_/¯
Avatar
Avatar
Szybet
¯\_(ツ)_/¯
if you know the exact display you could check if this guy already supports it or one of its cousins it's one of the good display ones, but the example code for it was deleted from their site/the link in the sqfmi source code is outdated
2:03 AM
Dmitry.GR: Wireless picture frames that run for years on batteries
2:07 AM
Display Library for SPI e-paper panels from Dalian Good Display and boards from Waveshare. // Requires HW SPI and Adafruit_GFX. Caution: the e-paper panels require 3.3V supply AND data lines! // // based on Demo Example from Good Display, available here: http://www.e-paper-display.com/download_detail/downloadsId=806.html // Panel: GDEH0154D67 : http://www.e-paper-display.com/products_detail/productId=455.html // Controller : SSD1681 : http://www.e-paper-display.com/download_detail/downloadsId=825.html
Good Display is a professional E-ink Display (E-paper display) and OLED display factory in China, as market leading supplier,we have more than 10 years' products experience for both Standard and Custom Products.
Good Display is a professional E-ink Display (E-paper display) and OLED display factory in China, as market leading supplier,we have more than 10 years' products experience for both Standard and Custom Products.
Good Display is a professional E-ink Display (E-paper display) and OLED display factory in China, as market leading supplier,we have more than 10 years' products experience for both Standard and Custom Products.
2:09 AM
probably have to ask them to reupload the examples
Avatar
Hi! I just found my Kobo Aura (N236) and I'd like to try inkbox/quillOS on it.. I see the instructions say to do "xzcat inkbox.xz | dd of=/dev/mmcblk0". However - only the kobo aura, there is no removeable SD (that i'm aware of) - just internal memory. So when I plug it in, I just get /dev/sdc device node. I backed up everything on there with "dd if=/dev/sdc | xz > kobo-backup.img.xz" but I want to just double check - how do I install on a kobo with internal memory like this?
1:24 PM
I'm really excited to try this out and I'm so happy I actually found this thing in between the seat of my car and the center console after losing it over 2 years lol
Avatar
What
1:25 PM
Did you open the device?
1:25 PM
Sd card is inside
Avatar
Ah okay. i was wondering that but didnt open it yet
1:36 PM
So i should open it, take the sd out and then follow the instructions I presume?
Avatar
Wow that was easier to open than I expected
Avatar
we need to make a proper installation wiki page...
Avatar
Hmm, for a lot of people installation might be the biggest barrier to entry. I wonder if you guys would be interested if I made something similar to pineflash, basically a helper tool to install and update quillos?
2:47 PM
2:47 PM
This is pineflash, it's for automatically downloading and updating ironos firmware
2:48 PM
I reckon it could probably be adapted for quillos (well a lot of it could be simplified since writing data to an SD card is more simple)
2:48 PM
It automatically gets the latest release from GitHub
2:49 PM
Obviously people who know what they are doing wouldn't need something like this, the current installation isn't hard (edited)
2:50 PM
But maybe it could lower the barrier to entry a bit?
2:51 PM
Maybe also have a feature which makes a backup of the stock firmware on the SD card.
2:51 PM
Do you guys think something like this would be helpful or a waste of time?
Avatar
It could probably also be expanded to automatically resize the data partition if it's a bigger sd card or install user apps
Avatar
If i would have known that these Kobo's have an SD card on the inside, I think the instructions would have been straightforward for me. But when I saw something about SD card, I incorrectly was thinking that some models might have an SD card on the outside and maybe mine was different and had different instructions - so I wanted to ask in discord into clarify. And I wanted to be double sure I was doing the right thing because I didn't want to brick (edited)
Avatar
Yeah when I first installed inkbox I was surprised that the internal storage was an SD card
3:04 PM
Especially since mine also had a slot on the outside for one
Avatar
I'm having a self inflicted issue right now - I mistakenly didn't fully power off my kobo before removing the SD and now it's stuck "asleep" in stock OS (the black "Powered off" screen).. Holding down the power 15 seconds actually isn't forcing a reboot.. I know I can pull the battery, but the connector is so small and tightly connected that I think I'm gonna just wait for the battery to die
Avatar
Avatar
prg
I'm having a self inflicted issue right now - I mistakenly didn't fully power off my kobo before removing the SD and now it's stuck "asleep" in stock OS (the black "Powered off" screen).. Holding down the power 15 seconds actually isn't forcing a reboot.. I know I can pull the battery, but the connector is so small and tightly connected that I think I'm gonna just wait for the battery to die
Look around the edges for a little hole
3:11 PM
Idk if your model has one but I assume it should
3:11 PM
Something you can stick a pin into
Avatar
The N236 actually doesn't have a pin hole
Avatar
Oh, rip
Avatar
Yeah it's all good.. Once the battery dies, I should be fine
Avatar
woah what an awesome looking program https://github.com/Spagett1/pineflash awesome
A tool to flash ironos to the pinecil soldering iron and possibly other pine64 devices in the future - GitHub - Spagett1/pineflash: A tool to flash ironos to the pinecil soldering iron and possibl...
Avatar
Avatar
Spagett
Hmm, for a lot of people installation might be the biggest barrier to entry. I wonder if you guys would be interested if I made something similar to pineflash, basically a helper tool to install and update quillos?
I planned to do that at some time anyway but as you can see there is none yet because too much work in other areas, but you could do that for sure
Avatar
Avatar
prg
I'm having a self inflicted issue right now - I mistakenly didn't fully power off my kobo before removing the SD and now it's stuck "asleep" in stock OS (the black "Powered off" screen).. Holding down the power 15 seconds actually isn't forcing a reboot.. I know I can pull the battery, but the connector is so small and tightly connected that I think I'm gonna just wait for the battery to die
what? look for other buttons and push them for a minute or even more
3:29 PM
there must be a power off button ;p
Avatar
Avatar
Szybet
I planned to do that at some time anyway but as you can see there is none yet because too much work in other areas, but you could do that for sure
also expanding on this
Avatar
it is possible to flash inkbox os without dissasembling the device, the process would look like this:
  • a desktop app uploads a update package to the kobo which is connected via usb mass storage
  • an app appears on your kobo, you launch it and verify the informations, then click "continue" or smth
  • you upload via wifi a backup of the whole sd card to the PC ( or share the sd card over usb, idk what's possible )
  • the app flashes the kernel & uboot and reboots the device
  • the kernel, not detecting other partitions enters "recovery / install mode" ( if thats not possible on all devices, you just partition the sd card manually ( or do it in the previous step in the stock os app )
  • in this mode either the host apps prepares the sd card OR the init program downloads the via http over usbnet from the app on the PC which launches a http server
  • after everything is in place inkbox is ready if the installer / program / init did any of these steps installing Quill OS would be easier. Here is the fun part: every step of this journey should be written in rust, I plan to rewrite the init program in rust anyway and because we don't need any fancy UI for this we can do that with rust & fbink
Avatar
Avatar
Szybet
I planned to do that at some time anyway but as you can see there is none yet because too much work in other areas, but you could do that for sure
I mean I can recycle a ton of code from pineflash so it shouldn't take too long (I do want to rewrite some of it though since there are parts of pineflash coded very shodily)
Avatar
it looks like a cool tool
3:43 PM
our os can currently already update itself
3:43 PM
but maybe for new installs
Avatar
Cool, that part wouldn't be needed then (edited)
Avatar
Avatar
Szybet
it is possible to flash inkbox os without dissasembling the device, the process would look like this:
  • a desktop app uploads a update package to the kobo which is connected via usb mass storage
  • an app appears on your kobo, you launch it and verify the informations, then click "continue" or smth
  • you upload via wifi a backup of the whole sd card to the PC ( or share the sd card over usb, idk what's possible )
  • the app flashes the kernel & uboot and reboots the device
  • the kernel, not detecting other partitions enters "recovery / install mode" ( if thats not possible on all devices, you just partition the sd card manually ( or do it in the previous step in the stock os app )
  • in this mode either the host apps prepares the sd card OR the init program downloads the via http over usbnet from the app on the PC which launches a http server
  • after everything is in place inkbox is ready if the installer / program / init did any of these steps installing Quill OS would be easier. Here is the fun part: every step of this journey should be written in rust, I plan to rewrite the init program in rust anyway and because we don't need any fancy UI for this we can do that with rust & fbink
Would an app uploaded to the Kobo (running the stock os) have enough permissions to flash the kernel and uboot?
3:44 PM
I would have assumed they would sandbox stuff like that
Avatar
Avatar
Spagett
Would an app uploaded to the Kobo (running the stock os) have enough permissions to flash the kernel and uboot?
everything on kobo is running as root
3:47 PM
😂
Avatar
Avatar
Spagett
I would have assumed they would sandbox stuff like that
no, we do that in user apps at least
Avatar
Avatar
Szybet
what? look for other buttons and push them for a minute or even more
Weirdly enough, there only appears to be one power button and it wasn't responding.. I reflashed my stock SD card backup to another SD card and once I inserted it, the power button started working again.. I think its because stock OS was booted but in a bad state because I pulled the SD while it was on and I didn't realize.. I've got it working now - once I was able to fully power off, I swapped SDs and powered back on and everything is groovy 🙂
Avatar
¯\_(ツ)_/¯
Avatar
Yeah i think it was user error 😛
Avatar
Avatar
Szybet
everything on kobo is running as root
Wow, I know it's an ereader and everything but wow
3:49 PM
That is the least secure system Ive ever heard of
Avatar
Its open
3:50 PM
Not unsecure
Avatar
Im not saying they should take that away
3:51 PM
But some sort of sudo/password thing may have been a good idea
Avatar
Mupdf is secure, they do sudits of it so no malware books
3:51 PM
And the ui is written in cpp, so no reverse shell shit like php or smth
3:52 PM
The update could be signed but who would like to malware ereaders? Until they hold their domain tight its fine
Avatar
Yeah that's fair
3:53 PM
And I must say it's refreshing
3:54 PM
Compared with devices like phones which don't even allow the user to have root access
3:54 PM
(some do and I have It on mine but I'm speaking generally)
Avatar
Yea, its awesome
Avatar
In that case I'm thinking, we could just make the desktop app deploy the payload and receive the backup
Avatar
Do Kobo devices advertise their model via their USB ID or some similar factor when in mass storage?
4:02 PM
Cause we could get it to autodetect the device
4:03 PM
Then people don't need to bother with the model number/remembering which one they bought (edited)
Avatar
doubt, you would need a internall app for this
Avatar
Hmm righto
4:05 PM
the kobo app on pc somehow does that
4:05 PM
maybe undocumented usb something magic idk
Avatar
Well, when I plug my phone into my PC dmesg shows it accurately as a pixel 4
Avatar
idk must be tested
Avatar
Certainly
Avatar
we would still need to know the specific model, like revision
Avatar
like there is kobo nia a and c and the only way to test that is to ask over i2c
Avatar
I wonder if their product ID USB field is different
Avatar
Avatar
Szybet
everything on kobo is running as root
did you know on iphone original the whole system was running as root, including apps
Avatar
awesome
Avatar
That's cool
Avatar
quill is running as root, but highly difficult to exploit a security flaw
Avatar
Avatar
Spagett
I wonder if their product ID USB field is different
huh, that may be it
4:08 PM
is usb id set on hardware level?
Avatar
I think so
Avatar
Avatar
tux-linux
quill is running as root, but highly difficult to exploit a security flaw
if anyone here is good with pentesting, we would be happy to hear from you
Avatar
we dont do anything with networking
Avatar
Well maybe not hardware but firmware at least, not certain (edited)
Avatar
Avatar
Spagett
Well maybe not hardware but firmware at least, not certain (edited)
hmm maybe yea
Avatar
It's something that will need testing
Avatar
Avatar
Szybet
like there is kobo nia a and c and the only way to test that is to ask over i2c
Teardown time
5:12 PM
5:13 PM
5:14 PM
5:14 PM
So technically the commands for it are documented, idk if they work
Avatar
steps: 1.download micropython example from the goodereader site 2. Test micropython example on watchy 3. modify micropython example with custom commands to load LUTs (edited)
6:12 PM
if 2. fails then probably look at sqfmi driver code and see how it matches the documented communication
Avatar
the MicroPython code running on my Watchy. Contribute to hueyy/watchy_py development by creating an account on GitHub.
7:45 PM
Testing MicroPython with Watchy ESP32 hardware. Contribute to watchy-community/micropython_playground development by creating an account on GitHub.
Avatar
Hello everyone, Can I use InkBOX os on kobo aura one?
Avatar
only Kobo Aura SE (N236 is supported
11:49 AM
you could port if you have time and will
Avatar
How can I do that? Is there any documentation or guidance? (edited)
Avatar
a lot of chat of doing it in #porting
11:51 AM
and docs are also there, in the chat
Avatar
Thank you, I'll check
Avatar
Quick update on the eink stuff: The guy who wrote the badger eink driver probably doesn't have greyscale calibrated right, but I think he has the same issue as the sqfmi watchy in that the voltage cannot be changed continuously (only 4 levels available), meaning that if that problem is solved correctly (solving for time that a voltage needs to be applied ) the result can be reused for the watchy with relatively little work.
2:03 PM
this is his "greyscale gradient", you can see that it probably has quantization issues and isnt very smooth (edited)
10:29 PM
fuuuck
Avatar
actually thats horrible
10:43 PM
every linux os
Avatar
Yeah, I had the backdoored version on my system for a while. Just updated it when I found out today
10:48 PM
Thankfully arch SSH isn't affected by it like some other distros
Avatar
[matrix] andi1 BOT 3/29/2024 10:58 PM
hmm, koreader?
10:59 PM
ok, has only zstd
Avatar
One time I'm glad to have mac os as my main system
Avatar
Avatar
tux-linux
One time I'm glad to have mac os as my main system
and let apple and nsa spy on you because 2 versions of xz were backdoored
11:36 PM
coolpepe
Avatar
still better than windows
Avatar
¯\_(ツ)_/¯
11:37 PM
not really
Avatar
[matrix] andi1 BOT 3/29/2024 11:39 PM
well, no affected version on debian stable apparently
Avatar
Avatar
Szybet
and let apple and nsa spy on you because 2 versions of xz were backdoored
Also if it did happen to be installed via brew it's the affected version apparently
Avatar
Avatar
[matrix] andi1
well, no affected version on debian stable apparently
yea, liblzma 5.4.1
Avatar
Avatar
Spagett
Also if it did happen to be installed via brew it's the affected version apparently
Ha great
Avatar
re-branding?
Avatar
NotAustinFromPA 4/2/2024 10:18 PM
Nvm i read about bricking the device
Avatar
there is low risk
10:19 PM
if you are careful
Avatar
NotAustinFromPA 4/2/2024 10:20 PM
Am i correct that the glo hd with the warm light hardware mod is the only supported kobo with the warmlight?
10:20 PM
Other than the n873
10:21 PM
clara is
10:21 PM
although more or less supported
10:21 PM
still in beta
Avatar
NotAustinFromPA 4/2/2024 10:22 PM
Ah, thats the n249? Seems that the wiki doesnt list it but the download directory does
Avatar
yes
Avatar
NotAustinFromPA 4/2/2024 10:23 PM
N249 looks great for me. Similar to the boox poke 5 that i had before
10:23 PM
I build that is...
10:25 PM
Ok, gonna think on it before i buy anything
10:25 PM
Ty!
👍 1
Avatar
i would strongly suggest glo hd
10:25 PM
even if you want warm light
10:25 PM
clara is bad
10:26 PM
bad build quality
10:26 PM
brittle
10:26 PM
and icing on cake, we dont support it fully yet
Avatar
Avatar
tux-linux
i would strongly suggest glo hd
NotAustinFromPA 4/2/2024 10:31 PM
More to think about then. I see in an earlier post you wouldnt recommend the libra n873?
Avatar
NotAustinFromPA 4/2/2024 10:40 PM
Also, im guessing newer ereaders have the hardware locked down so flashing custom os is less possible?
Avatar
Avatar
NotAustinFromPA
Also, im guessing newer ereaders have the hardware locked down so flashing custom os is less possible?
No, they are just more expensive so no one tried yet
10:42 PM
Lol
Avatar
working on the clara2e atm
Avatar
Locked down, well only kindles are and only some of them
10:42 PM
Yea, exactlt
Avatar
and still no signs of locking down
Avatar
Avatar
Szybet
Locked down, well only kindles are and only some of them
NotAustinFromPA 4/2/2024 10:42 PM
Ah, this is where my assumption came from
Avatar
Avatar
NotAustinFromPA
N249 looks great for me. Similar to the boox poke 5 that i had before
Its a very experimental image, you would need to help to fix it
Avatar
Avatar
Szybet
Its a very experimental image, you would need to help to fix it
NotAustinFromPA 4/2/2024 10:54 PM
I came for inkbox but whats this watchy project?
11:22 PM
From where did you found that from
11:23 PM
well its a open source watch with an eink screen for which i created an awesome firmware
11:23 PM
And on this firmware you can read books
11:23 PM
Look through weather
11:23 PM
Have a secure vault
11:23 PM
Awesome stuff
Avatar
Avatar
Szybet
From where did you found that from
NotAustinFromPA 4/2/2024 11:46 PM
When i searched h2o in the chat you mentioned it to someone about 2 months back
11:46 PM
Looks like its out of stock for now
Avatar
You can buy it from aliexpress
12:01 AM
There is a repo in my gh explaining that, its named e watch foss
12:01 AM
Cool thing
Exported 32,391 message(s)
Timezone: UTC+1